1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 20:02:09 +02:00
tldr/pages/common/gpgv.md
2020-06-22 23:54:49 -03:00

16 lines
434 B
Markdown

# 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 counts as a keyring):
`gpgv --keyring {{./alice.keyring}} {{path/to/signature}} {{path/to/file}}`