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,25 +1,25 @@
# age
> 一个简单、现代安全的文件加密工具。
> 见:`age-keygen` 用于生成密钥对。
> 更多信息:<https://github.com/FiloSottile/age>.
> 一个简单、现代安全的文件加密工具。
> 见:`age-keygen` 用于生成密钥对。
> 更多信息:<https://github.com/FiloSottile/age>
- 生成一个可以用密码短语passphrase解密的加密文件:
- 生成一个可以用密码解密的加密文件:
`age --passphrase --output {{路径/到/已加密文件}} {{路径/到/未加密文件}}`
`age --passphrase --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
- 用一个或多个公钥加密一个文件,这些公钥以字面形式输入
- 使用一个或多个作为字面值输入的公钥加密文件(重复 `--recipient` 标志以指定多个公钥)
`age --recipient {{公钥}} --output {{路径/到/已加密文件}} {{路径/到/未加密文件}}`
`age --recipient {{public_key}} --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
- 用收件人文件中指定的一个或多个公钥来加密一个文件
- 使用在文件中指定的公钥(每行一个)加密文件给一个或多个接收者
`age --recipients-file {{路径/到/收件人文件}} --output {{路径/到/已加密文件}} {{路径/到/未加密文件}}`
`age --recipients-file {{path/to/recipients_file}} --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
- 用密码短语解密一个文件:
- 使用密码解密文件:
`age --decrypt --output {{路径/到/已解密文件}} {{路径/到/已加密文件}}`
`age --decrypt --output {{path/to/decrypted_file}} {{path/to/encrypted_file}}`
- 用私钥文件解密一个文件:
- 使用私钥文件解密文件:
`age --decrypt --identity {{路径/到/私钥文件}} --output {{路径/到/已解密文件}} {{路径/到/已加密文件}}`
`age --decrypt --identity {{path/to/private_key_file}} --output {{path/to/decrypted_file}} {{path/to/encrypted_file}}`