fruworg.github.io/content/posts/pgp-commands.md
2025-01-12 22:11:39 +01:00

518 B

title description date tags
Памятка по PGP/GPG gnupg - export, import and renew 2025-01-12T22:00:00+01:00
linux
pgp

Экспорт

gpg -a --export-secret-keys > private.asc
gpg --export-ownertrust > trust.txt

Импорт

gpg --import private.asc
gpg --import public.asc
gpg --import-ownertrust trust.txt

Продление

gpg --list-keys
gpg --quick-set-expire <fingerprint> 1y
gpg --export <your@ema.il> | curl -T - https://keys.openpgp.org