Crypto Server
    Preparing search index...

    Interface IBodyDecrypt

    Request body for the decryption endpoint.

    {
    "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.

    interface IBodyDecrypt {
        passphrase: string;
        message: string;
        publicKey: string;
    }
    Index
    passphrase: string

    Passphrase that unlocks the server's private key.

    message: string

    Armored PGP encrypted message to decrypt.

    publicKey: string

    Armored PGP public key of the sender (for signature verification).