http://www.ietf.org/rfc/rfc4880.txt
加密文件 |
gpg -e -r <uid> <filename> |
解密文件 |
gpg <filename> |
生成密钥 |
gpg --gen-key |
列出公钥 |
gpg --list-keys / -k |
列出私钥 |
gpg --list-secret-key / -K |
导出公钥 |
gpg --export <uid> -a > <filename.asc> |
导入公钥 |
gpg --import <filename.asc> |
删除公钥 |
gpg --delete-keys <uid> |
删除私钥 |
gpg --delete-secret-keys <uid> |
信任公钥 |
gpg --sign-key <uid> |
https://keybase.io/
Related: Study_Security_EncryptionAlgorithm
参考资料
[1]. http://www.openpgp.org/
[2]. https://gpgtools.org/
[3]. http://www.pgpi.org/
[4]. http://www.gnupg.org/
[5]. http://openpgpjs.org/
[6]. http://www.cryptography.org/getpgp.htm