52 #ifdef CRYPT_BACKEND_GPGME 82 #ifdef CRYPT_BACKEND_GPGME 129 "Prompt the user to confirm keys before use" 132 "Enable encryption when the recipient's key is available" 135 "Enable encryption only when strong a key is available" 138 "Display protected headers (Memory Hole) in the pager" 141 "Use this as the subject for encrypted emails" 144 "Generate protected header (Memory Hole) for signed and encrypted emails" 147 "Add a timestamp to PGP or SMIME output to prevent spoofing" 149 #ifdef CRYPT_BACKEND_GPGME 151 "Use GPGME crypto backend" 154 "Use GPGME to use PKA (lookup PGP keys using DNS)" 158 "Manually set the sender for outgoing messages" 161 "Use old-style inline PGP messages (not recommended)" 163 #ifdef CRYPT_BACKEND_CLASSIC_PGP 165 "Check the exit code of PGP subprocess" 168 "File descriptor used for status info" 171 "(pgp) External command to inline-sign a message" 174 "(pgp) External command to decode a PGP attachment" 177 "(pgp) External command to decrypt a PGP message" 180 "Text indicating a successful decryption" 184 "Default key to use for PGP operations" 186 #ifdef CRYPT_BACKEND_CLASSIC_PGP 188 "(pgp) External command to encrypt, but not sign a message" 191 "(pgp) External command to encrypt and sign a message" 195 "printf-like format string for the PGP key selection menu" 197 #ifdef CRYPT_BACKEND_CLASSIC_PGP 199 "(pgp) External command to export a public key from the user's keyring" 202 "(pgp) External command to download a key for an email address" 205 "Text indicating a good signature" 209 "Only use the principal PGP key" 211 #ifdef CRYPT_BACKEND_CLASSIC_PGP 213 "(pgp) External command to import a key into the user's keyring" 216 "(pgp) External command to list the public keys in a user's keyring" 219 "(pgp) External command to list the private keys in a user's keyring" 223 "Display long PGP key IDs to the user" 226 "Prompt the user to use MIME if inline PGP fails" 229 "Create nested multipart/signed or encrypted messages" 232 "Encrypted messages will also be encrypted to C_PgpDefaultKey too" 235 "Show non-usable keys in the key selection" 238 "Use this alternative key for signing messages" 240 #ifdef CRYPT_BACKEND_CLASSIC_PGP 242 "(pgp) External command to create a detached PGP signature" 246 "Sort order for PGP keys" 249 "Encode PGP signed messages with quoted-printable (don't unset)" 251 #ifdef CRYPT_BACKEND_CLASSIC_PGP 253 "Time in seconds to cache a passphrase" 256 "Use a PGP agent for caching passwords" 259 "(pgp) External command to verify PGP signatures" 262 "(pgp) External command to verify key information" 265 #ifdef CRYPT_BACKEND_CLASSIC_SMIME 267 "Prompt the user for a label for SMIME certificates" 270 "File containing trusted certificates" 273 "File containing user's public certificates" 276 "(smime) External command to decrypt an SMIME message" 279 "Use the default key for decryption" 283 "Default key for SMIME operations" 285 #ifdef CRYPT_BACKEND_CLASSIC_SMIME 287 "(smime) External command to encrypt a message" 291 "Algorithm for encryption" 293 #ifdef CRYPT_BACKEND_CLASSIC_SMIME 295 "(smime) External command to extract a certificate from a message" 298 "(smime) External command to get a certificate for an email" 301 "(smime) External command to extract a certificate from an email" 304 "(smime) External command to import a certificate" 307 #ifdef CRYPT_BACKEND_CLASSIC_SMIME 309 "File containing user's private certificates" 312 "(smime) External command to extract a public certificate" 316 "Encrypted messages will also be encrypt to C_SmimeDefaultKey too" 319 "Use this alternative key for signing messages" 321 #ifdef CRYPT_BACKEND_CLASSIC_SMIME 323 "(smime) External command to sign a message" 329 "Time in seconds to cache a passphrase" 332 "(smime) External command to verify a signed message" 335 "(smime) External command to verify a signature" 339 "Use SMIME rather than PGP by default" 342 "Automatically decrypt PGP messages" 345 "Verify PGP or SMIME signatures" 348 "Save the cleartext Subject with the headers" 351 {
"pgp_create_traditional",
DT_SYNONYM, NULL,
IP "pgp_autoinline", },
352 {
"pgp_self_encrypt_as",
DT_SYNONYM, NULL,
IP "pgp_default_key", },
353 {
"pgp_verify_sig",
DT_SYNONYM, NULL,
IP "crypt_verify_sig", },
354 {
"smime_self_encrypt_as",
DT_SYNONYM, NULL,
IP "smime_default_key", },
359 { NULL, 0, NULL, 0, 0, NULL, NULL },
char * C_SmimeVerifyOpaqueCommand
Config: (smime) External command to verify a signature.
bool C_PgpUseGpgAgent
Config: Use a PGP agent for caching passwords.
char * C_SmimeEncryptCommand
Config: (smime) External command to encrypt a message.
Container for lots of config items.
unsigned char C_CryptVerifySig
Config: Verify PGP or SMIME signatures.
#define DT_LONG
a number (long)
#define DT_NOT_EMPTY
Empty strings are not allowed.
char * C_SmimeDecryptCommand
Config: (smime) External command to decrypt an SMIME message.
char * C_SmimePk7outCommand
Config: (smime) External command to extract a public certificate.
#define DT_REGEX
regular expressions
char * C_SmimeGetSignerCertCommand
Config: (smime) External command to extract a certificate from an email.
bool C_CryptProtectedHeadersRead
Config: Display protected headers (Memory Hole) in the pager.
#define DT_SORT
sorting methods
#define DT_NOT_NEGATIVE
Negative numbers are not allowed.
char * C_PgpGetkeysCommand
Config: (pgp) External command to download a key for an email address.
long C_SmimeTimeout
Config: Time in seconds to cache a passphrase.
unsigned char C_PgpMimeAuto
Config: Prompt the user to use MIME if inline PGP fails.
bool C_CryptUseGpgme
Config: Use GPGME crypto backend.
#define DT_SORT_REVERSE
Sort flag for -reverse prefix.
bool C_CryptOpportunisticEncryptStrongKeys
Config: Enable encryption only when strong a key is available.
Shared constants/structs that are private to libconn.
unsigned char C_SmimeEncryptSelf
#define DT_QUAD
quad-option (no/yes/ask-no/ask-yes)
char * C_PgpDecodeCommand
Config: (pgp) External command to decode a PGP attachment.
Convenience wrapper for the config headers.
#define DT_PATH_DIR
Path is a directory.
char * C_SmimeVerifyCommand
Config: (smime) External command to verify a signed message.
char * C_SmimeKeys
Config: File containing user's private certificates.
char * C_PgpEncryptSignCommand
Config: (pgp) External command to encrypt and sign a message.
bool C_CryptOpportunisticEncrypt
Config: Enable encryption when the recipient's key is available.
char * C_PgpEncryptOnlyCommand
Config: (pgp) External command to encrypt, but not sign a message.
char * C_PgpSignAs
Config: Use this alternative key for signing messages.
bool C_CryptTimestamp
Config: Add a timestamp to PGP or SMIME output to prevent spoofing.
bool C_PgpAutoDecode
Config: Automatically decrypt PGP messages.
char * C_PgpDefaultKey
Config: Default key to use for PGP operations.
bool C_SmimeSelfEncrypt
Config: Encrypted messages will also be encrypt to $smime_default_key too.
bool C_PgpShowUnusable
Config: Show non-usable keys in the key selection.
char * C_PgpClearsignCommand
Config: (pgp) External command to inline-sign a message.
#define DT_PATH_FILE
Path is a file.
char * C_PgpDecryptCommand
Config: (pgp) External command to decrypt a PGP message.
bool C_CryptUsePka
Config: Use GPGME to use PKA (lookup PGP keys using DNS)
#define DT_ADDRESS
e-mail address
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[], int flags)
Register a set of config items.
#define DT_STRING
a string
bool C_SmimeIsDefault
Config: Use SMIME rather than PGP by default.
Sort by encryption key's trust level.
#define DT_PATH
a path to a file/directory
char * C_SmimeEncryptWith
Config: Algorithm for encryption.
#define DT_DEPRECATED
Config item shouldn't be used any more.
bool C_SmimeAskCertLabel
Config: Prompt the user for a label for SMIME certificates.
char * C_SmimeCertificates
Config: File containing user's public certificates.
char * C_SmimeImportCertCommand
Config: (smime) External command to import a certificate.
char * C_SmimeCaLocation
Config: File containing trusted certificates.
#define DT_COMMAND
A command.
char * C_PgpSignCommand
Config: (pgp) External command to create a detached PGP signature.
Ask the user, defaulting to 'Yes'.
bool C_PgpLongIds
Config: Display long PGP key IDs to the user.
bool C_PgpRetainableSigs
Config: Create nested multipart/signed or encrypted messages.
bool config_init_ncrypt(struct ConfigSet *cs)
Register ncrypt config variables - Implements module_init_config_t.
bool C_PgpStrictEnc
Config: Encode PGP signed messages with quoted-printable (don't unset)
char * C_SmimeDefaultKey
Config: Default key for SMIME operations.
short C_PgpSortKeys
Config: Sort order for PGP keys.
char * C_SmimeSignAs
Config: Use this alternative key for signing messages.
char * C_PgpListPubringCommand
Config: (pgp) External command to list the public keys in a user's keyring.
char * C_SmimeGetCertCommand
Config: (smime) External command to extract a certificate from a message.
#define DT_SYNONYM
synonym for another variable
char * C_PgpEntryFormat
Config: printf-like format string for the PGP key selection menu.
unsigned char C_PgpEncryptSelf
Cached regular expression.
bool C_PgpCheckExit
Config: Check the exit code of PGP subprocess.
bool C_PgpAutoinline
Config: Use old-style inline PGP messages (not recommended)
char * C_SmimeSignDigestAlg
Config: Digest algorithm.
bool C_CryptConfirmhook
Config: Prompt the user to confirm keys before use.
char * C_SmimeGetCertEmailCommand
Config: (smime) External command to get a certificate for an email.
long C_PgpTimeout
Config: Time in seconds to cache a passphrase.
bool C_PgpSelfEncrypt
Config: Encrypted messages will also be encrypted to $pgp_default_key too.
char * C_PgpExportCommand
Config: (pgp) External command to export a public key from the user's keyring.
Mapping between user-readable string and a constant.
User answered 'No', or assume 'No'.
Sort by the encryption key's ID.
char * C_SmimeSignCommand
Config: (smime) External command to sign a message.
const struct Mapping SortKeyMethods[]
Sort methods for encryption keys.
struct Regex * C_PgpGoodSign
Config: Text indicating a good signature.
Sort by the date the email was sent.
bool C_PgpIgnoreSubkeys
Config: Only use the principal PGP key.
struct Regex * C_PgpDecryptionOkay
Config: Text indicating a successful decryption.
bool C_CryptProtectedHeadersSave
Config: Save the cleartext Subject with the headers.
char * C_PgpImportCommand
Config: (pgp) External command to import a key into the user's keyring.
bool C_SmimeDecryptUseDefaultKey
Config: Use the default key for decryption.
char * C_PgpListSecringCommand
Config: (pgp) External command to list the private keys in a user's keyring.
#define DT_NUMBER
a number
#define DT_BOOL
boolean option
char * C_PgpVerifyKeyCommand
Config: (pgp) External command to verify key information.
bool C_PgpCheckGpgDecryptStatusFd
Config: File descriptor used for status info.
struct Address * C_EnvelopeFromAddress
Config: Manually set the sender for outgoing messages.
char * C_CryptProtectedHeadersSubject
Config: Use this as the subject for encrypted emails.
char * C_PgpVerifyCommand
Config: (pgp) External command to verify PGP signatures.
User answered 'Yes', or assume 'Yes'.
bool C_CryptProtectedHeadersWrite
Config: Generate protected header (Memory Hole) for signed and encrypted emails.