使用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 [email protected] > a.asc导入对方的密钥
gpg2 --import xxx.asc加密消息
gpg2 --armor --encrypt --recipient 收件人邮箱 message.txt解密消息
gpg2 --decrypt message.txt.asc > message.txt使用私钥解密文件需要使用密码