GnuPG

来自wrc's Wiki
Weirane讨论 | 贡献2021年5月14日 (五) 00:39的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

例子

生成密钥

gpg --full-gen-key

加密

gpg -r recipient -R hidden-recipient -e file

解密

gpg -d file.gpg

生成 revocation certificate

gpg --output revoke.asc --gen-revoke foo@bar.baz