mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
16 lines
443 B
Markdown
16 lines
443 B
Markdown
# 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}}`
|