Last active
March 12, 2024 12:00
-
-
Save woods/8970150 to your computer and use it in GitHub Desktop.
Creating gpg keys non-interactively
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
Key-Type: 1 | |
Key-Length: 2048 | |
Subkey-Type: 1 | |
Subkey-Length: 2048 | |
Name-Real: Root Superuser | |
Name-Email: root@handbook.westarete.com | |
Expire-Date: 0 |
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
# Generate the key | |
gpg --batch --gen-key gen-key-script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using Process Substitution can be support indentation