1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/gpgv.md

17 lines
434 B
Markdown
Raw Normal View History

2020-06-20 03:50:04 +00: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}}`
2020-06-23 02:54:49 +00:00
- Add a file to the list of keyrings (a single exported key also counts as a keyring):
2020-06-20 03:50:04 +00:00
2020-06-23 02:54:49 +00:00
`gpgv --keyring {{./alice.keyring}} {{path/to/signature}} {{path/to/file}}`