Pkeygen Apr 2026
$ pkeygen --version rnp 0.17.0 Create a file called key-config.json :
pkeygen --config key-config.json --output my-private-key.gpg To generate a public key only (for distribution): pkeygen
When most people think about creating PGP keys, they immediately type gpg --full-generate-key . It’s the standard. But what if I told you there’s a leaner, more scriptable, and arguably more transparent way to generate the same keys? $ pkeygen --version rnp 0
The JSON interface is modern, the output is predictable, and the learning curve is shallow. Next time you find yourself writing a bash script to feed gpg --batch with a heredoc full of magic strings, stop. Reach for pkeygen . the output is predictable