Skip to content

Instantly share code, notes, and snippets.

@DavidPesticcio
Created January 12, 2023 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidPesticcio/a5ff4b22d242ba443b89a0e07aaefae3 to your computer and use it in GitHub Desktop.
Save DavidPesticcio/a5ff4b22d242ba443b89a0e07aaefae3 to your computer and use it in GitHub Desktop.
GPG Hints and Tips
Export a key to GPG or ASCII format
gpg --export YOUR_FINGERPRINT > pubkey.gpg
gpg --armor --export YOUR_FINGERPRINT > pubkey.asc
Convert a key/file to/from GPG or ASCII format
gpg --enarmor file.gpg > file.asc
gpg --dearmor file.asc > file.gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment