Files
tldr/pages.zh/common/gpgv.md
2021-08-31 15:13:49 +08:00

17 lines
443 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# gpgv
> 验证 OpenPGP 签名。
> 更多信息:<https://www.gnupg.org/documentation/manuals/gnupg/gpgv.html>.
- 验证签名文件:
`gpgv {{path/to/file}}`
- 使用分离式签名验证已签名的文件:
`gpgv {{path/to/signature}} {{path/to/file}}`
- 在 keyrings 列表中添加一个文件(一个导出的钥匙也算作一个 keyring
`gpgv --keyring {{path/to/keyring_file}} {{path/to/signature}} {{path/to/file}}`