2023-05-09 11:17:08 +00:00
|
|
|
---
|
|
|
|
tags: terminal security encryption
|
|
|
|
---
|
2023-04-26 13:18:29 +00:00
|
|
|
## Creating a key
|
|
|
|
|
|
|
|
To get all the options, run:
|
|
|
|
```sh
|
|
|
|
gpg --expert --full-generate-key
|
|
|
|
```
|
|
|
|
|
|
|
|
Chose a key type with `(set your own capabilities)` and disable signing.
|
|
|
|
|
|
|
|
Then add additional signing and encryption keys with
|
|
|
|
|
|
|
|
```
|
|
|
|
gpg --edit-key <email>
|
|
|
|
```
|
|
|
|
|
|
|
|
and the `addkey` command
|