Add a file to the list of keyrings (a single exported key also counts as a keyring)

gpgv

  • Verify OpenPGP signatures.
    More information: <https://www.gnupg.org/documentation/manuals/gnupg/gpgv.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gpgv --keyring {{./alice.keyring}} {{path/to/signature}} {{path/to/file}}

click the source code to copy install gpgv on any operating system with command-not-found.com