PGP Key Generator
PGP Key Generator
Description
PGP Key Generator adds a complete PGP toolbox to any page with one shortcode:
- Generate a key pair: Curve25519 (recommended) or RSA 3072/4096, protected by a passphrase, with a revocation certificate.
- Encrypt a message with someone’s public key.
- Decrypt a message with your private key.
- Copy or download keys as
.ascfiles.
Everything runs in the visitor’s browser with OpenPGP.js. Names, email addresses, passphrases, keys and messages never leave the page: the plugin has no server-side processing and no external service.
Need to receive encrypted Gravity Forms notifications? See Gravity Forms PGP Encryption.
Is it secure?
- All code is readable JavaScript and PHP; OpenPGP.js is maintained by Proton and has been independently audited.
- No binaries are loaded from a server, nothing is embedded from a third party.
- No form data is ever transmitted.
Installation
- Install the plugin from Plugins Add New, or upload
pgp-key-generator.zip, then activate it. - Add the shortcode
[pgp_key_generator]to any page or post.
To show only some tools, list them in the order you want:
[pgp_key_generator sections=”generate”] or [pgp_key_generator sections="encrypt,decrypt"].
The tools inherit your theme’s fonts and colors. Advanced styling: override the --pgpkg-* CSS custom properties on .pgpkg.
Screenshots
Faq
No. Everything happens in the visitor’s browser; nothing is sent to your server or to us.
It cannot be recovered. Generate a new key pair, and use the revocation certificate to revoke the old public key if you published it.
Translations are welcome on translate.wordpress.org. The plugin ships with French and German.
Reviews
Easy interface.
By miandu on February 17, 2022
Nice plugin
By Daniël Zon (daanzon) on December 28, 2016
Changelog
2.0
- Rewritten with OpenPGP.js 6.3 (was 4.10): Curve25519 keys by default, RSA 3072/4096 still available (1024 and 2048 removed)
- New: copy and download buttons, revocation certificate, separate result fields
- New:
sectionsshortcode attribute; several generators can share a page - Errors are shown in the page instead of browser alerts; the plugin no longer intercepts other scripts’ errors
- jQuery and jQuery Validation no longer required
- Accessible markup (labels, live status messages), styles inherit the theme
- Updated French and German translations
- License clarified as GPLv2 or later
1.13
- Improving interface
1.12
- Changing script order for loading
1.10
- Updating OpenPGP library to v4.10.10
1.09
- Update for WordPress 5.0
1.08
- Removing Bootstrap style
- Improving interface
- Updating OpenPGP library to v3.0.9
1.07
- Updating OpenPGP library to v2.6.2
1.06
- Fixing typo
1.05
- Updating CSS
1.04
- Updating label name for the encryption part
1.03
- Updating OpenPGP library to v2.0.0
- Throwing errors in a dialog box
1.02
- Fixing OpenPGP for Internet Explorer
1.01
- Initial import


