diff --git a/cheats/gpg.cheat b/cheats/gpg.cheat new file mode 100644 index 0000000..a21fe59 --- /dev/null +++ b/cheats/gpg.cheat @@ -0,0 +1,39 @@ +% gpg + +# gpg version +gpg --version + +# gpg generate key +gpg --gen-key + +# list keys +gpg --list-keys + +# distribute public key to key server +gpg --keyserver --send-keys + +# export public key +gpg --output --export + +# import public key +gpg --import + +# encrypt document +gpg --output --encrypt --recipient + +# decrypt document +gpg --output --decrypt + +# make a signature +gpg --output --sign + +# verify signature +gpg --output --decrypt + +# clearsign documents +gpg --clearsign + +# detach signature +gpg --output --detach-sig + +