Request body for the decryption endpoint.
{ "passphrase": "s3cret", "message": "-----BEGIN PGP MESSAGE-----...", "publicKey": "-----BEGIN PGP PUBLIC KEY BLOCK-----..."} Copy
{ "passphrase": "s3cret", "message": "-----BEGIN PGP MESSAGE-----...", "publicKey": "-----BEGIN PGP PUBLIC KEY BLOCK-----..."}
The message is decrypted with the server's key pair (CRYPTO_KEY_DIR); the API never takes a private key.
CRYPTO_KEY_DIR
Passphrase that unlocks the server's private key.
Armored PGP encrypted message to decrypt.
Armored PGP public key of the sender (for signature verification).
Request body for the decryption endpoint.
Example
The message is decrypted with the server's key pair (
CRYPTO_KEY_DIR); the API never takes a private key.