Signs a cleartext message with the configured private key. When CRYPTO_DATA_DIR is set, the signature is also written there as signed.sig; otherwise nothing is written to disk.
CRYPTO_DATA_DIR
signed.sig
Data to be signed.
Parameters for OpenPGP message signing.
Plaintext message to sign.
When true, produce a detached signature instead of a cleartext-signed message.
Passphrase to unlock the private signing key.
sign
Signs a cleartext message with the configured private key. When
CRYPTO_DATA_DIRis set, the signature is also written there assigned.sig; otherwise nothing is written to disk.