手机上的GPG加密其实更易用
前提:简单了解 GPG 加密/解密原理
基本规则
公钥加密 私钥解密 (谁都能加密,仅本人可解)
私钥签名 公钥验证 (拥有私钥证明你是本人)
多说一句
在汉语里,“钥”一字等于“钥匙”二字。单字的时候读作 yuè 而在词语“钥匙”中读作 yào shi 。所以,“密钥”、“公钥”、“私钥”这些词里面的“钥”都是应该读作 yuè 的。极客都是很严谨的,对吧?
学习 Linux or PC or Mac 端生成密钥对,导出并发布公钥
看下这两篇简明教程就够用了:
阮一峰老师的《GPG入门教程》
ivarptr 的《使用 GnuPG 实现电子邮件加密和数字签名——PGP 30分钟简明教程》
Android 平台使用 GPG 所需工具
APG 或者 GnuPG
推荐用 APG 因为比较简单易用,请戳下面的链接访问 Google Play
OpenPGP for Android. It's open source and its goal is to provide a similar OpenPGP implementation as GnuPG.NOTE: BACK UP YOUR SECRET KEYS! Preferably before updating. There were many database changes. If something goes wrong, then email me... the keys can be recovered in that case.A fork of APG called OpenKeychain added most of the new features, which have now been merged back into APG.APG development is active again and I'm mostly working on the implementation of PGP/MIME now.Changes:* Fix K-9 integration that was broken in 1.1.0* Merge OpenKeychain development back into APG* new drawer layout (touch top left icon)* KeyRing without private master key Import* QR key sharing* NFC key sharing* colorized fingerprints* K-9 support* bugfixes* manage secret/public keys (eg. GPG/PGP)* encrypt/sign/decrypt/verify emails and files* integration with K9* HKP Keyserver support* basic key creation and editing possible* Intent API for other appsPlease rate it and suggest features you want.Source code is GPLv3 and can be found here: https://github.com/thialfihar/apg- 开发商: Thialfihar
- 类型: Communication
K-9 mail [选用]
这个没有也行,有了更好,加密更方便
K-9 Mail is an open-source e-mail client with search, IMAP push email, multi-folder sync, flagging, filing, signatures, bcc-self, PGP, mail on SD & more! K-9 supports IMAP, POP3 and Exchange 2003/2007 (with WebDAV).K-9 is a community developed project. If you're interested in helping to make the best email client on Android even better, please join us! You can find our bugtracker, source code, mailing list and wiki at http://k9mail.googlecode.com.We're always happy to welcome new developers, designers, documenters, bug triagers and friends. If you're having trouble with K-9, please report a bug at http://k9mail.googlecode.com rather than just leaving a one-star review. We don't mind you telling the world that you're frustrated, but if you use our bug tracker, we have a better chance of fixing whatever's giving you a hard time.You can find K-9's release notes at: http://bit.ly/new-k9(People sometimes call K-9: K9, K9 Mail, K-9 Email, K9 Email, K9 E-Mail, k9mail or k9email.)- 开发商: K-9 Dog Walkers
- 类型: Communication
操作步骤
导入 PC 上生成的密钥对或者用 APG 生成密钥对
如果你在电脑上经常用邮件客户端的话你可以使用 Thunderbird + Enigmail 组合。在电脑上生成好的密钥对只要导出私钥到文件,然后导入到 APG 就好了。
如果你用 Android 收发邮件比较多的话,建议你直接用 APG 生成密钥对然后发布公钥就好了。
创建一对新的密钥对
创建过程需要两三分钟的时间
填写基本信息
请一定要使用密码,不然私钥泄漏的话你可就要被冒名顶替了!
如果是导入的话记得编辑联系人,选择“加密或签名”
配置 K-9 mail IMAP 或 POP3 撰写邮件,勾选签名/加密
配置 IMAP 就不用多说了,谷歌邮箱的话注意科学上网就行。在 K-9 mail 客户端撰写邮件的话直接就有签名(用自己的私钥)和加密(用别人的公钥)的选项。
不想用 K-9 或者想用 Inbox ?
没问题!长按联系人选择加密,编辑消息或选择文件,加密后复制到剪贴板或者分享到 Inbox 即可。
测试下,写个 hello world
如何解密?选中文字,分享到 APG 解密就好了!
我的邮件地址上面截图中有,欢迎加密来信~
从服务器导入我的公钥的话请搜索 keyID FB9FB85C
Key fingerprint = AF89 4862 A822 36A7 F072 0555 5C37 B87C FB9F B85C
评论(0)