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,33 +1,33 @@
# gpg2
> GNU Privacy Guard 2.
> GNU Privacy Guard 1 请参见`gpg`.
> 更多信息:<https://docs.releng.linuxfoundation.org/en/latest/gpg.html>.
> GNU 隐私保护工具 2
> 有关 GNU 隐私保护工具 1 的信息,请参见 `gpg`
> 更多信息:<https://docs.releng.linuxfoundation.org/en/latest/gpg.html>
- 列出导入的密钥(公钥)
- 列出导入的密钥:
`gpg2 --list-keys`
- 为指定的接收者加密指定的文件,将输出结果写到一个新文件中,并附加 `.gpg`
- 为指定的收件人加密指定的文件,将输出写入一个新文件,文件名后附加 `.gpg`
`gpg2 --encrypt --recipient {{alice@example.com}} {{path/to/doc.txt}}`
- 用密码(对称加密)对指定文件进行加密,将输出结果写入一个附加`.gpg`的新文件
- 仅使用密码短语加密指定文件,将输出写入一个新文件,文件名后附加 `.gpg`
`gpg2 --symmetric {{path/to/doc.txt}}`
- 解密指定的文件,并将结果写入标准输出
- 解密指定的文件,并将结果写入 `stdout`
`gpg2 --decrypt {{path/to/doc.txt.gpg}}`
- 导入一个公钥:
- 导入公钥:
`gpg2 --import {{path/to/public_key.gpg}}`
- 将指定电子邮件地址的公钥导出到标准输出
- 将指定电子邮件地址的公钥导出到 `stdout`
`gpg2 --export --armor {{alice@example.com}}`
- 将指定电子邮件地址的私钥导出到标准输出
- 将指定电子邮件地址的私钥导出到 `stdout`
`gpg2 --export-secret-keys --armor {{alice@example.com}}`
`gpg2 --export-secret-keys --armor {{alice@example.com}}`