GPG 命令备忘
GPG 命令 创建 gpg key 1 2 3 4 5 6 7 8 9 $ gpg --full-generate-key # 生成 gpg key gpg: directory '/home/ubuntu/.gnupg/openpgp-revocs.d' created gpg: revocation certificate stored as '/home/ubuntu/.gnupg/openpgp-revocs.d/ECA3A621F79A890A23D03ED5D5634A568BBCEDC4.rev' public and secret key created and signed. pub ed25519 2024-11-09 [SC] ECA3A621F79A890A23D03ED5D5634A568BBCEDC4 uid test <[email protected]> sub cv25519 2024-11-09 [E] 列出 1 2 3 4 5 6 7 $ gpg --list-key # 简化写法 gpg -k /home/ubuntu/.gnupg/pubring.kbx ------------------------------- pub ed25519 2024-11-09 [SC] ECA3A621F79A890A23D03ED5D5634A568BBCEDC4 uid [ultimate] test <[email protected]> sub cv25519 2024-11-09 [E] 列出所有公钥、子公钥 ...