Generate PGP Key Pair

Generates a new public/private PGP key pair. Supports RSA and Eliptic Curve (EC) keys.

Input: TextResult: Text

Text input

Tool options

Examples

Example keys and passwords are public test material.

Demo sensor

Input

Expected checks

Case-insensitive
Contains "-----BEGIN PGP PRIVATE KEY BLOCK-----"
Contains "-----BEGIN PGP PUBLIC KEY BLOCK-----"
Key type
ECC-256
Password (optional)
(empty)
Name (optional)
Demo sensor
Email (optional)
demo@example.invalid
Demo archive

Input

Expected checks

Case-insensitive
Contains "-----BEGIN PGP PRIVATE KEY BLOCK-----"
Contains "-----BEGIN PGP PUBLIC KEY BLOCK-----"
Key type
ECC-384
Password (optional)
(empty)
Name (optional)
Demo archive
Email (optional)
demo@example.invalid
Demo release

Input

Expected checks

Case-insensitive
Contains "-----BEGIN PGP PRIVATE KEY BLOCK-----"
Contains "-----BEGIN PGP PUBLIC KEY BLOCK-----"
Key type
ECC-521
Password (optional)
(empty)
Name (optional)
Demo release
Email (optional)
demo@example.invalid
Password-protected demo

Input

Expected checks

Case-insensitive
Contains "-----BEGIN PGP PRIVATE KEY BLOCK-----"
Contains "-----BEGIN PGP PUBLIC KEY BLOCK-----"
Key type
ECC-256
Password (optional)
public-demo-password
Name (optional)
Password-protected demo
Email (optional)
demo@example.invalid
Legacy interoperability demo

Input

Expected checks

Case-insensitive
Contains "-----BEGIN PGP PRIVATE KEY BLOCK-----"
Contains "-----BEGIN PGP PUBLIC KEY BLOCK-----"
Key type
RSA-1024
Password (optional)
(empty)
Name (optional)
Legacy interoperability demo
Email (optional)
demo@example.invalid

WARNING: Cryptographic operations in CyberChef should not be relied upon to provide security in any situation. No guarantee is offered for their correctness. We advise you not to use keys generated from CyberChef in operational contexts.

Format reference: Generate PGP Key Pair background and specification

Parameters

ParameterDefault valueInput and choices
Key typeRSA-1024RSA-1024, RSA-2048, RSA-4096, ECC-256, ECC-384, ECC-521
Password (optional)""Text
Name (optional)""Text
Email (optional)""Text

Related tools

Browse public key tools