Decrypt a specified file, writing the result to the standard output

gpg2

  • GNU Privacy Guard 2.
    See `gpg` for GNU Privacy Guard 1.
    More information: <https://docs.releng.linuxfoundation.org/en/latest/gpg.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gpg2 --decrypt {{path/to/doc.txt.gpg}}

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