6
GPG
Anri Kennel edited this page 2024-06-14 17:35:05 +02:00
- Get key id:
gpg --list-secret-keys
- Edit key:
gpg --edit-key <key>
showpref
to list thingsnotation
to enter the add/remove something mode- add
-
to remove the thing
- Save:
save
- Update key to remote:
gpg --keyserver hkps://keys.openpgp.org --send-keys <key>
-
List Key to get ID
gpg --list-secret-keys --keyid-format=long
-
Export secret key
gpg --export-secret-keys --armor {ID} > secret.asc
-
Export key
gpg --output public.gpg --armor --export {ID}