📜  gpg 获取私钥 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:18.985000             🧑  作者: Mango

代码示例1
# Export Public Key
# This command will export an ascii armored version of the public key:
gpg --output public.pgp --armor --export username@email
# Export Secret Key
# This command will export an ascii armored version of the secret key:
gpg --output private.pgp --armor --export-secret-key username@email