Skip to content

Instantly share code, notes, and snippets.

@sjeandeaux
Last active September 25, 2018 17:31
Show Gist options
  • Save sjeandeaux/3493ebe35da744e1e585db147cfffb9a to your computer and use it in GitHub Desktop.
Save sjeandeaux/3493ebe35da744e1e585db147cfffb9a to your computer and use it in GitHub Desktop.
GPG
%echo Generating a basic OpenPGP key
Key-Type: RSA
Key-Length: 2048
Subkey-Type: RSA
Subkey-Length: 2048
Name-Real: Sponge Bob
Name-Comment: Patrick
Name-Email: bob.sponge@squarepants.com
Expire-Date: 666
passphrase: a best passphrase
%pubring pubring.gpg
%secring secring.gpg
%commit
%echo done
gpg --batch --gen-key gpg-generate-key.batch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment