====== 使用PGP ====== 给vpn厂商反馈邮件用到了pgp现在还没搞懂理一下过程。 我用的是mac 需要安装两个软件和一个插件(GnuPG,Mozilla Thunderbird和Enigmail) 这是eff的教程https://ssd.eff.org/en/module/how-use-pgp-mac-os-x os/x的GnuPG的使用 创建一个非对称密钥 gpg2 --gen-key 导出公钥 gpg2 --armor --export@xx.xx > a.asc 导入对方的密钥 gpg2 --import xxx.asc 加密消息 gpg2 --armor --encrypt --recipient 收件人邮箱 message.txt 解密消息 gpg2 --decrypt message.txt.asc > message.txt 使用私钥解密文件需要使用密码