# version fuckup version 1 and 2 are somewhat incompatible. on manjaro `gpg` and `gpg2` both point to version 2. # list of common options ``` gpg --gen-key gpg2 --expert --full-gen-key gpg --list-keys gpg --list-secret-keys gpg --edit-key gpg --send-keys gpg2 --armor --export > file gpg [--decrypt,-d] file1 > file2 gpg [--encrypt,-e] file1 > file2 gpg -k --list-options show-unusable-subkeys ``` # extend expiration ``` gpg --edit-key extend key 1 # extend subkeys as well extend save ```