GPG - Create Encryption Keys and Sign Files | Online Free DevTools by Hexmos

Create GPG encryption keys with GPG. Secure your communications and sign documents using this powerful command-line tool. Free online tool, no registration required.

gpg

GNU Privacy Guard, an OpenPGP encryption and signing tool. More information: https://gnupg.org/documentation/manuals/gnupg/Invoking-GPG.html.

  • Create a GPG public and private key interactively:

gpg {{[--full-gen-key|--full-generate-key]}}

  • List all keys from the public keyring:

gpg {{[-k|--list-keys]}}

  • Sign doc.txt without encryption (writes output to doc.txt.asc):

gpg --clearsign {{doc.txt}}

gpg {{[-es|--encrypt --sign]}} {{[-r|--recipient]}} {{[email protected]}} {{[-r|--recipient]}} {{[email protected]}} {{doc.txt}}

  • Encrypt doc.txt with only a passphrase (output to doc.txt.gpg):

gpg {{[-c|--symmetric]}} {{doc.txt}}

  • Decrypt doc.txt.gpg (output to stdout):

gpg {{[-d|--decrypt]}} {{doc.txt.gpg}}

  • Import a public key:

gpg --import {{public.gpg}}

gpg {{--export|--export-secret-keys}} {{[-a|--armor]}} {{[email protected]}}