add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,37 +1,37 @@
# gpg
> GNU Privacy Guard.
> 请参阅 `gpg2` 了解 GNU Privacy Guard 2.
> 更多信息:<https://gnupg.org>.
> GNU 隐私保护工具。
> 请参阅 `gpg2` 了解 GNU 隐私保护工具 2。大多数操作系统将 `gpg` 链接到 `gpg2`。
> 更多信息:<https://gnupg.org>
- 交互创建 GPG 公钥和私钥:
- 交互创建 GPG 公钥和私钥:
`gpg --full-generate-key`
- 不加密,仅`doc.txt` 进行签名(生成 `doc.txt.asc`,格式为 ASCII 码形式
-`doc.txt` 进行签名而不加密(输出写入 `doc.txt.asc`
`gpg --clearsign {{doc.txt}}`
-接收者 alice@example.com 和 bob@example.com 签名并加密 `doc.txt`生成 `doc.txt.gpg`
- 为 alice@example.com 和 bob@example.com 加密并签名 `doc.txt`输出到 `doc.txt.gpg`
`gpg --encrypt --sign --recipient {{alice@example.com}} --recipient {{bob@example.com}} {{doc.txt}}`
- 用密码加密 `doc.txt`生成 `doc.txt.gpg`
- 仅使用密码短语加密 `doc.txt`输出到 `doc.txt.gpg`
`gpg --symmetric {{doc.txt}}`
- 解密 `doc.txt.gpg`(输出到标准输出
- 解密 `doc.txt.gpg`(输出到 `stdout`
`gpg --decrypt {{doc.txt.gpg}}`
- 导入一个公钥:
- 导入公钥:
`gpg --import {{public.gpg}}`
- 导出 alice@example.com 的公钥(输出到标准输出
- 导出 alice@example.com 的公钥(输出到 `stdout`
`gpg --export --armor {{alice@example.com}}`
- 导出 alice@example.com 的私钥(输出到标准输出
- 导出 alice@example.com 的私钥(输出到 `stdout`
`gpg --export-secret-keys --armor {{alice@example.com}}`
`gpg --export-secret-keys --armor {{alice@example.com}}`