mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 06:42:16 +00:00
22 lines
527 B
Plaintext
22 lines
527 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|