Last active
September 25, 2018 17:31
-
-
Save sjeandeaux/3493ebe35da744e1e585db147cfffb9a to your computer and use it in GitHub Desktop.
GPG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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