#include "config.h"
#include <stddef.h>
#include <config/lib.h>
#include <stdbool.h>
#include "private.h"
#include "lib.h"
#include "init.h"
Go to the source code of this file.
Functions | |
bool | config_init_ncrypt (struct ConfigSet *cs) |
Register ncrypt config variables - Implements module_init_config_t. More... | |
Variables | |
const struct Mapping | SortKeyMethods [] |
Sort methods for encryption keys. More... | |
bool | C_CryptUsePka |
Config: Use GPGME to use PKA (lookup PGP keys using DNS) More... | |
bool | C_CryptConfirmHook |
Config: Prompt the user to confirm keys before use. More... | |
bool | C_CryptOpportunisticEncrypt |
Config: Enable encryption when the recipient's key is available. More... | |
bool | C_CryptOpportunisticEncryptStrongKeys |
Config: Enable encryption only when strong a key is available. More... | |
bool | C_CryptProtectedHeadersRead |
Config: Display protected headers (Memory Hole) in the pager. More... | |
bool | C_CryptProtectedHeadersSave |
Config: Save the cleartext Subject with the headers. More... | |
bool | C_CryptProtectedHeadersWrite |
Config: Generate protected header (Memory Hole) for signed and encrypted emails. More... | |
bool | C_SmimeIsDefault |
Config: Use SMIME rather than PGP by default. More... | |
bool | C_PgpIgnoreSubkeys |
Config: Only use the principal PGP key. More... | |
bool | C_PgpLongIds |
Config: Display long PGP key IDs to the user. More... | |
bool | C_PgpShowUnusable |
Config: Show non-usable keys in the key selection. More... | |
bool | C_PgpAutoInline |
Config: Use old-style inline PGP messages (not recommended) More... | |
char * | C_PgpDefaultKey |
Config: Default key to use for PGP operations. More... | |
char * | C_PgpSignAs |
Config: Use this alternative key for signing messages. More... | |
char * | C_PgpEntryFormat |
Config: printf-like format string for the PGP key selection menu. More... | |
char * | C_SmimeDefaultKey |
Config: Default key for SMIME operations. More... | |
char * | C_SmimeSignAs |
Config: Use this alternative key for signing messages. More... | |
char * | C_SmimeEncryptWith |
Config: Algorithm for encryption. More... | |
char * | C_CryptProtectedHeadersSubject |
Config: Use this as the subject for encrypted emails. More... | |
struct Address * | C_EnvelopeFromAddress |
Config: Manually set the sender for outgoing messages. More... | |
bool | C_CryptTimestamp |
Config: Add a timestamp to PGP or SMIME output to prevent spoofing. More... | |
unsigned char | C_PgpEncryptSelf |
unsigned char | C_PgpMimeAuto |
Config: Prompt the user to use MIME if inline PGP fails. More... | |
bool | C_PgpRetainableSigs |
Config: Create nested multipart/signed or encrypted messages. More... | |
bool | C_PgpSelfEncrypt |
Config: Encrypted messages will also be encrypted to $pgp_default_key too. More... | |
bool | C_PgpStrictEnc |
Config: Encode PGP signed messages with quoted-printable (don't unset) More... | |
unsigned char | C_SmimeEncryptSelf |
bool | C_SmimeSelfEncrypt |
Config: Encrypted messages will also be encrypt to $smime_default_key too. More... | |
bool | C_CryptUseGpgme |
Config: Use GPGME crypto backend. More... | |
bool | C_PgpCheckExit |
Config: Check the exit code of PGP subprocess. More... | |
bool | C_PgpCheckGpgDecryptStatusFd |
Config: File descriptor used for status info. More... | |
struct Regex * | C_PgpDecryptionOkay |
Config: Text indicating a successful decryption. More... | |
struct Regex * | C_PgpGoodSign |
Config: Text indicating a good signature. More... | |
long | C_PgpTimeout |
Config: Time in seconds to cache a passphrase. More... | |
bool | C_PgpUseGpgAgent |
Config: Use a PGP agent for caching passwords. More... | |
char * | C_PgpClearSignCommand |
Config: (pgp) External command to inline-sign a message. More... | |
char * | C_PgpDecodeCommand |
Config: (pgp) External command to decode a PGP attachment. More... | |
char * | C_PgpDecryptCommand |
Config: (pgp) External command to decrypt a PGP message. More... | |
char * | C_PgpEncryptOnlyCommand |
Config: (pgp) External command to encrypt, but not sign a message. More... | |
char * | C_PgpEncryptSignCommand |
Config: (pgp) External command to encrypt and sign a message. More... | |
char * | C_PgpExportCommand |
Config: (pgp) External command to export a public key from the user's keyring. More... | |
char * | C_PgpGetKeysCommand |
Config: (pgp) External command to download a key for an email address. More... | |
char * | C_PgpImportCommand |
Config: (pgp) External command to import a key into the user's keyring. More... | |
char * | C_PgpListPubringCommand |
Config: (pgp) External command to list the public keys in a user's keyring. More... | |
char * | C_PgpListSecringCommand |
Config: (pgp) External command to list the private keys in a user's keyring. More... | |
char * | C_PgpSignCommand |
Config: (pgp) External command to create a detached PGP signature. More... | |
char * | C_PgpVerifyCommand |
Config: (pgp) External command to verify PGP signatures. More... | |
char * | C_PgpVerifyKeyCommand |
Config: (pgp) External command to verify key information. More... | |
short | C_PgpSortKeys |
Config: Sort order for PGP keys. More... | |
bool | C_SmimeAskCertLabel |
Config: Prompt the user for a label for SMIME certificates. More... | |
char * | C_SmimeCaLocation |
Config: File containing trusted certificates. More... | |
char * | C_SmimeCertificates |
Config: File containing user's public certificates. More... | |
char * | C_SmimeDecryptCommand |
Config: (smime) External command to decrypt an SMIME message. More... | |
bool | C_SmimeDecryptUseDefaultKey |
Config: Use the default key for decryption. More... | |
char * | C_SmimeEncryptCommand |
Config: (smime) External command to encrypt a message. More... | |
char * | C_SmimeGetCertCommand |
Config: (smime) External command to extract a certificate from a message. More... | |
char * | C_SmimeGetCertEmailCommand |
Config: (smime) External command to get a certificate for an email. More... | |
char * | C_SmimeGetSignerCertCommand |
Config: (smime) External command to extract a certificate from an email. More... | |
char * | C_SmimeImportCertCommand |
Config: (smime) External command to import a certificate. More... | |
char * | C_SmimeKeys |
Config: File containing user's private certificates. More... | |
char * | C_SmimePk7outCommand |
Config: (smime) External command to extract a public certificate. More... | |
char * | C_SmimeSignCommand |
Config: (smime) External command to sign a message. More... | |
char * | C_SmimeSignDigestAlg |
Config: Digest algorithm. More... | |
long | C_SmimeTimeout |
Config: Time in seconds to cache a passphrase. More... | |
char * | C_SmimeVerifyCommand |
Config: (smime) External command to verify a signed message. More... | |
char * | C_SmimeVerifyOpaqueCommand |
Config: (smime) External command to verify a signature. More... | |
bool | C_PgpAutoDecode |
Config: Automatically decrypt PGP messages. More... | |
unsigned char | C_CryptVerifySig |
Config: Verify PGP or SMIME signatures. More... | |
struct ConfigDef | NcryptVars [] |
Config used by libncrypt
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file config.c.
bool config_init_ncrypt | ( | struct ConfigSet * | cs | ) |
Register ncrypt config variables - Implements module_init_config_t.
Definition at line 372 of file config.c.
const struct Mapping SortKeyMethods[] |
Sort methods for encryption keys.
bool C_CryptUsePka |
bool C_CryptConfirmHook |
bool C_CryptOpportunisticEncrypt |
bool C_CryptOpportunisticEncryptStrongKeys |
bool C_CryptProtectedHeadersRead |
bool C_CryptProtectedHeadersSave |
bool C_CryptProtectedHeadersWrite |
bool C_SmimeIsDefault |
bool C_PgpIgnoreSubkeys |
bool C_PgpLongIds |
bool C_PgpShowUnusable |
bool C_PgpAutoInline |
char* C_PgpDefaultKey |
char* C_PgpSignAs |
char* C_PgpEntryFormat |
char* C_SmimeDefaultKey |
char* C_SmimeSignAs |
char* C_CryptProtectedHeadersSubject |
struct Address* C_EnvelopeFromAddress |
bool C_CryptTimestamp |
unsigned char C_PgpMimeAuto |
bool C_PgpRetainableSigs |
bool C_PgpSelfEncrypt |
bool C_PgpStrictEnc |
bool C_SmimeSelfEncrypt |
bool C_PgpCheckExit |
bool C_PgpCheckGpgDecryptStatusFd |
struct Regex* C_PgpDecryptionOkay |
struct Regex* C_PgpGoodSign |
long C_PgpTimeout |
bool C_PgpUseGpgAgent |
char* C_PgpClearSignCommand |
char* C_PgpDecodeCommand |
char* C_PgpDecryptCommand |
char* C_PgpEncryptOnlyCommand |
char* C_PgpEncryptSignCommand |
char* C_PgpExportCommand |
char* C_PgpGetKeysCommand |
char* C_PgpImportCommand |
char* C_PgpListPubringCommand |
char* C_PgpListSecringCommand |
char* C_PgpSignCommand |
char* C_PgpVerifyCommand |
char* C_PgpVerifyKeyCommand |
bool C_SmimeAskCertLabel |
char* C_SmimeCaLocation |
char* C_SmimeCertificates |
char* C_SmimeDecryptCommand |
bool C_SmimeDecryptUseDefaultKey |
char* C_SmimeEncryptCommand |
char* C_SmimeGetCertCommand |
char* C_SmimeGetCertEmailCommand |
char* C_SmimeGetSignerCertCommand |
char* C_SmimeImportCertCommand |
char* C_SmimeKeys |
char* C_SmimePk7outCommand |
char* C_SmimeSignCommand |
long C_SmimeTimeout |
char* C_SmimeVerifyCommand |
char* C_SmimeVerifyOpaqueCommand |
bool C_PgpAutoDecode |
unsigned char C_CryptVerifySig |