GnuPG

来自wrc's Wiki
Weirane讨论 | 贡献2021年4月14日 (三) 07:26的版本 (创建页面,内容为“== 例子 == === 生成密钥 === gpg --full-gen-key === 加密 === gpg -r recipient -R hidden-recipient -e file === 解密 === gpg -d file.gpg === 生成…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

例子

生成密钥

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