“GnuPG”的版本间的差异

来自wrc's Wiki
跳到导航 跳到搜索
 
第17行: 第17行:
 
  gpg --output revoke.asc --gen-revoke foo@bar.baz
 
  gpg --output revoke.asc --gen-revoke foo@bar.baz
  
[[Category:命令行程序]]
+
[[Category:命令行]]

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