Skip to content

PGP

7 operations. Call any of them with cyberchef_bake, or pre-load them with CYBERCHEF_TOOL_SURFACE=all.

Generates a new public/private PGP key pair. Supports RSA and Eliptic Curve (EC) keys.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.

  • Tool name: cyberchef_generate_pgp_key_pair
  • Input / output: stringstring
Argument Type Default
key_type option RSA-1024
password_optional string
name_optional string
email_optional string

Input: the ASCII-armoured PGP message you want to decrypt. Arguments: the ASCII-armoured PGP private key of the recipient, (and the private key password if necessary). Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages. This function uses the Keybase implementation of PGP.

  • Tool name: cyberchef_pgp_decrypt
  • Input / output: stringstring
Argument Type Default
private_key_of_recipient text
private_key_passphrase string

Input: the ASCII-armoured encrypted PGP message you want to verify. Arguments: the ASCII-armoured PGP public key of the signer, the ASCII-armoured private key of the recipient (and the private key password if necessary). This operation uses PGP to decrypt and verify an encrypted digital signature. Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages. This function uses the Keybase implementation of PGP.

  • Tool name: cyberchef_pgp_decrypt_and_verify
  • Input / output: stringstring
Argument Type Default
public_key_of_signer text
private_key_of_recipient text
private_key_password string

Input: the message you want to encrypt. Arguments: the ASCII-armoured PGP public key of the recipient. Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages. This function uses the Keybase implementation of PGP.

  • Tool name: cyberchef_pgp_encrypt
  • Input / output: stringstring
Argument Type Default
public_key_of_recipient text

Input: the cleartext you want to sign. Arguments: the ASCII-armoured private key of the signer (plus the private key password if necessary) and the ASCII-armoured PGP public key of the recipient. This operation uses PGP to produce an encrypted digital signature. Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages. This function uses the Keybase implementation of PGP.

  • Tool name: cyberchef_pgp_encrypt_and_sign
  • Input / output: stringstring
Argument Type Default
private_key_of_signer text
private_key_passphrase string
public_key_of_recipient text

Input: the message you want to sign Arguments: the ASCII-armoured PGP private key of the sender. Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages. This function uses the Keybase implementation of PGP.

  • Tool name: cyberchef_pgp_sign
  • Input / output: stringstring
Argument Type Default
private_key_of_signer text
private_key_passphrase_optional string

Input: the ASCII-armoured encrypted PGP message you want to verify. Argument: the ASCII-armoured PGP public key of the signer This operation uses PGP to decrypt a clearsigned message. Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages. This function uses the Keybase implementation of PGP.

  • Tool name: cyberchef_pgp_verify
  • Input / output: stringstring
Argument Type Default
public_key_of_signer text