Skip to content

Instantly share code, notes, and snippets.

@gipi
Last active January 10, 2016 17:25
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 gipi/8596b0732bd4aaf24125 to your computer and use it in GitHub Desktop.
Save gipi/8596b0732bd4aaf24125 to your computer and use it in GitHub Desktop.
#gpg2
$ gpg2 --list-key --with-colons gp@ktln2.org
tru::1:1452083118:1489574824:3:1:5
pub:u:2048:1:FC8153E07D957F45:1452083023:::u:::scESC:::::::
uid:u::::1452083023::D421FF35F90CA954185A138F411E13645EF7A812::Gianluca Pacchiella <gp@ktln2.org>:::::::::
sub:u:2048:1:532EB870178BEFE9:1452083023::::::e::::::

$ gpg2 --armor --encrypt --recipient gp@ktln2.org <file>
$ gpg2 --decrypt <file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment