tldr/pages/common/gpgv.md

17 lines
436 B
Markdown
Raw Normal View History

2020-06-20 04:50:04 +01:00
# gpgv
> Verify OpenPGP signatures.
> More information: <https://www.gnupg.org/documentation/manuals/gnupg/gpgv.html>.
- Verify a signed file:
`gpgv {{path/to/file}}`
- Verify a signed file using a detached signature:
`gpgv {{path/to/signature}} {{path/to/file}}`
- Add a file to the list of keyrings (a single exported key also accounts as a keyring):
`gpgv --keyring {{./alice.keyring}} {{path/to/file}} {{path/to/signature}}`