diff --git a/NEWS b/NEWS index a53444e..8dd35ff 100644 --- a/NEWS +++ b/NEWS @@ -1,343 +1,352 @@ Noteworthy changes in version 1.12 (unreleased) ----------------------------------------------- + * Interface changes relative to the 1.11 release: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + GPG_ERR_NO_CRYPT_CTX NEW. + GPG_ERR_WRONG_CRYPT_CTX NEW. + GPG_ERR_BAD_CRYPT_CTX NEW. + GPG_ERR_CRYPT_CTX_CONFLICT NEW. + GPG_ERR_BROKEN_PUBKEY NEW. + GPG_ERR_BROKEN_SECKEY NEW. + Noteworthy changes in version 1.11 (2013-02-25) ----------------------------------------------- * New error source GPG_ERR_SOURCE_ASSUAN for Libassuan related errors. * New macros GPG_ERROR_VERSION and GPG_ERROR_VERSION_NUMBER. New function gpg_error_check_version. * Interface changes relative to the 1.10 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_NO_KEYSERVER NEW. GPG_ERR_INV_CURVE NEW. GPG_ERR_UNKNOWN_CURVE NEW. GPG_ERR_DUP_KEY NEW. GPG_ERR_AMBIGUOUS NEW. GPG_ERR_SOURCE_ASSUAN NEW. gpg_error_check_version NEW. GPG_ERROR_VERSION NEW. GPG_ERROR_VERSION_NUMBER NEW. Noteworthy changes in version 1.10 (2010-10-26) ----------------------------------------------- * Using a static library on W32 does now work. * Interface changes relative to the 1.9 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_NOT_INITIALIZED NEW. GPG_ERR_MISSING_ISSUER_CERT NEW. GPG_ERR_FULLY_CANCELED NEW. Noteworthy changes in version 1.9 (2010-07-21) ---------------------------------------------- * New function gpg_err_deinit. * Fix building of static lib under W32. * Interface changes relative to the 1.8 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_MISSING_KEY NEW. GPG_ERR_TOO_MANY NEW. GPG_ERR_LIMIT_REACHED NEW. gpg_err_deinit NEW. Noteworthy changes in version 1.8 (2010-05-06) ---------------------------------------------- * Support for WindowsCE. * New option --list for gpg-error. * Interface changes relative to the 1.7 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_NOT_ENABLED NEW. GPG_ERR_SOURCE_G13 NEW. GPG_ERR_NO_ENGINE NEW. gpg_err_set_errno NEW. Noteworthy changes in version 1.7 (2008-11-26) ---------------------------------------------- * Minor fixes and a few new error codes. * Interface changes relative to the 1.6 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_NOT_OPERATIONAL NEW GPG_ERR_NO_PASSPHRASE NEW GPG_ERR_NO_PIN NEW Noteworthy changes in version 1.6 (2007-10-29) ---------------------------------------------- * Fixed a build problem under Windows. * Interface changes relative to the 1.4 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_UNFINISHED NEW GPG_ERR_SOURCE_GPA NEW GPG_ERR_SOURCE_KLEO NEW Noteworthy changes in version 1.5 (2006-11-30) ---------------------------------------------- * Minor build system fixes. * Updated gettext. Removed included gettext copy. * gpg-error has a new option --version. Noteworthy changes in version 1.4 (2006-09-14) ---------------------------------------------- * Support for Common Lisp is included. * New error codes for the Assuan IPC library. * New error code GPG_ERR_MISSING_ERRNO to be used in cases when a system accidently does not set errno but a system error definitely occured. * New error source GPG_ERR_SOURCE_ANY to allow proper use of libgpg-error even if a specific source is not available. * New convenience functions gpg_err_code_from_syserror and gpg_error_from_syserror which make sure never to return 0. * Interface changes relative to the 1.2 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpg_err_code_from_syserror NEW gpg_error_from_syserror NEW GPG_ERR_SOURCE_ANY NEW GPG_ERR_MISSING_ERRNO NEW GPG_ERR_UNKNOWN_OPTION NEW GPG_ERR_UNKNOWN_COMMAND NEW GPG_ERR_ASS_GENERAL NEW GPG_ERR_ASS_ACCEPT_FAILED NEW GPG_ERR_ASS_CONNECT_FAILED NEW GPG_ERR_ASS_INV_RESPONSE NEW GPG_ERR_ASS_INV_VALUE NEW GPG_ERR_ASS_INCOMPLETE_LINE NEW GPG_ERR_ASS_LINE_TOO_LONG NEW GPG_ERR_ASS_NESTED_COMMANDS NEW GPG_ERR_ASS_NO_DATA_CB NEW GPG_ERR_ASS_NO_INQUIRE_CB NEW GPG_ERR_ASS_NOT_A_SERVER NEW GPG_ERR_ASS_NOT_A_CLIENT NEW GPG_ERR_ASS_SERVER_START NEW GPG_ERR_ASS_READ_ERROR NEW GPG_ERR_ASS_WRITE_ERROR NEW GPG_ERR_ASS_TOO_MUCH_DATA NEW GPG_ERR_ASS_UNEXPECTED_CMD NEW GPG_ERR_ASS_UNKNOWN_CMD NEW GPG_ERR_ASS_SYNTAX NEW GPG_ERR_ASS_CANCELED NEW GPG_ERR_ASS_NO_INPUT NEW GPG_ERR_ASS_NO_OUTPUT NEW GPG_ERR_ASS_PARAMETER NEW GPG_ERR_ASS_UNKNOWN_INQUIRE NEW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Noteworthy changes in version 1.3 (2006-03-14) ---------------------------------------------- * GNU gettext is included for systems that do not provide it. Noteworthy changes in version 1.2 (2006-03-03) ---------------------------------------------- * New function gpg_err_init, which binds the locale directory to the text domain. This function is a constructor on GCC targets, so it does not need to be called explicitely. The header file defines GPG_ERR_INITIALIZED in this case. This is experimental for now. * "./autogen.sh --build-w32" does now also build a DLL for W32. Translations are not yet provided for this platform. * New error codes GPG_ERR_UNKNOWN_EXTN and GPG_ERR_UNKNOWN_CRIT_EXTN. * New error code GPG_ERR_LOCKED. * New translations included for France, Romania, and Vietnamese. * Interface changes relative to the 1.1 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_UNKNOWN_EXTN NEW GPG_ERR_UNKNOWN_CRIT_EXTN NEW GPG_ERR_LOCKED NEW gpg_err_init NEW GPG_ERR_INITIALIZED NEW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Noteworthy changes in version 1.1 (2005-06-20) ---------------------------------------------- * Bug fixes. Noteworthy changes in version 1.0 (2004-07-30) ---------------------------------------------- * Ported to Solaris 2.8. * Added a new error source GPG_ERR_SOURCE_GSTI, and new error codes GPG_ERR_PROTOCOL_VIOLATION and GPG_ERR_INV_MAC for this source. * Interface changes relative to the 0.7 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_SOURCE_GSTI NEW GPG_ERR_PROTOCOL_VIOLATION NEW GPG_ERR_INV_MAC NEW GPG_ERR_INV_REQUEST NEW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Noteworthy changes in version 0.7 (2004-03-07) ---------------------------------------------- * libgpg-error can be built on systems where the errno macros do not evaluate to plain numbers, but expressions. If you want to cross-compile, you might have to set CC_FOR_BUILD, though. * A new tool gpg-error to convert error numbers into symbols into strings is provided. * Interface changes relative to the 0.6 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_LOCALE_PROBLEM NEW GPG_ERR_NOT_LOCKED NEW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Noteworthy changes in version 0.6 (2003-11-14) ---------------------------------------------- * German translation included. * It is now possible to use the inline functions even for non C99 compliant compilers by given e.g. -DGPG_ERR_INLINE=inline when compiling an application using this library. Note, that gcc will use inline anyway. * Interface changes relative to the 0.5 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_SOURCE_KSBA NEW GPG_ERR_SOURCE_DIRMNGR NEW GPG_ERR_TRUNCATED NEW GPG_ERR_NO_ENCODING_METHOD NEW GPG_ERR_NO_ENCRYPTION_SCHEME NEW GPG_ERR_NO_SIGNATURE_SCHEME NEW GPG_ERR_INV_ATTR NEW GPG_ERR_NO_VALUE NEW GPG_ERR_NOT_FOUND NEW GPG_ERR_VALUE_NOT_FOUND NEW GPG_ERR_SYNTAX NEW GPG_ERR_INV_CRL NEW GPG_ERR_BAD_BER NEW GPG_ERR_INV_BER NEW GPG_ERR_ELEMENT_NOT_FOUND NEW GPG_ERR_IDENTIFIER_NOT_FOUND NEW GPG_ERR_INV_TAG NEW GPG_ERR_INV_LENGTH NEW GPG_ERR_INV_KEYINFO NEW GPG_ERR_UNEXPECTED_TAG NEW GPG_ERR_NOT_DER_ENCODED, NEW GPG_ERR_NO_CMS_OBJ NEW GPG_ERR_INV_CMS_OBJ NEW GPG_ERR_UNKNOWN_CMS_OBJ, NEW GPG_ERR_UNSUPPORTED_CMS_OBJ NEW GPG_ERR_UNSUPPORTED_ENCODING, NEW GPG_ERR_UNSUPPORTED_CMS_VERSION NEW GPG_ERR_UNKNOWN_ALGORITHM NEW GPG_ERR_ENCODING_PROBLEM NEW GPG_ERR_INV_STATE NEW GPG_ERR_DUP_VALUE, NEW GPG_ERR_MISSING_ACTION NEW GPG_ERR_MODULE_NOT_FOUND NEW GPG_ERR_INV_OID_STRING NEW GPG_ERR_INV_TIME NEW GPG_ERR_INV_CRL_OBJ NEW GPG_ERR_UNSUPPORTED_CRL_VERSION NEW GPG_ERR_INV_CERT_OBJ NEW GPG_ERR_UNKNOWN_NAME NEW GPG_ERR_BUFFER_TOO_SHORT. NEW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Noteworthy changes in version 0.5 (2003-10-06) ---------------------------------------------- * New thread safe interface gpg_strerror_r. * New error code GPG_ERR_PIN_NOT_SYNCED has been added. * Interface changes relative to the 0.4 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpg_strerror_r NEW GPG_ERR_PIN_NOT_SYNCED NEW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Noteworthy changes in version 0.4 (2003-09-03) ---------------------------------------------- * Fixed another bug that prevented that system errors were created correctly in the first place. * Use inline in public header file only on C99 compilers. Noteworthy changes in version 0.3 (2003-07-31) ---------------------------------------------- * Fixed bug that prevented that system errors were mapped to error strings correctly. Noteworthy changes in version 0.2 (2003-07-30) ---------------------------------------------- * Value of the error code GPG_ERR_CANCELED was fixed. * New error codes GPG_ERR_WRONG_CARD, GPG_ERR_HARDWARE, GPG_ERR_PIN_BLOCKED and GPG_ERR_USE_CONDITIONS have been added. * The header file has been made C++ clean. * AM_PATH_GPG_ERR has been fixed to work without explicit version number. * The header file now uses inline instead __inline__ for non-GNU compilers. Noteworthy changes in version 0.1 (2003-06-06) ---------------------------------------------- * Initial release. Copyright 2003, 2004, 2005, 2010 g10 Code GmbH This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/doc/errorref.txt b/doc/errorref.txt index eafd9d8..2986937 100644 --- a/doc/errorref.txt +++ b/doc/errorref.txt @@ -1,462 +1,515 @@ grep -n -e ERR_CONFLICT ~/w/{gnupg,libksba,libgcrypt,gpgme,gpa}/*/*.[ch] GPG_ERR_UNKNOWN_PACKET Unknown packet GNUPG: - Redefined to G10ERR_UNKNOWN_PACKET in gpg. GPG_ERR_UNKNOWN_VERSION Unknown version in packet Not used. Fixme: We might want to use it in gpg instead of some of the INV_PACKET in gpg. The error string does not make sense otherwise. GPG_ERR_PUBKEY_ALGO Invalid public key algorithm GNUPG: - Redefined to G10ERR_PUBKEY_ALGO in gpg. - Public key algorithm is not allowed by OpenPGP. GCRYPT: - Public key algorithm is not defined or not available. Note that this is also the case if the algorithm has been disabled. - [version < 1.5] Checking of the RSA secret key failed (consistency check). GPG_ERR_DIGEST_ALGO Invalid digest algorithm GNUPG: - Digest algorithm is not supported. - Redefined to G10ERR_PUBKEY_ALGO in gpg. - Digest algorithm is not allowed by OpenPGP. - Unsupported algorithm given to "--hash=" option of certain Assuan server commands. - Signature creation or verification failed due to an unsupported hash algorithm. GCRYPT: - Digest key algorithm is not defined or not available. Note that this is also the case if the algorithm has been disabled. - Unsupported digest algorithm in a selftest. - Invalid digest algorithm used in FIPS mode. Note that in enforced-FIPS mode there is no such error return. - Message digested or HMAC computation finished with no message algorithm enabled for the hash context. - Bad digest algorithm given to public key function. GPG_ERR_BAD_PUBKEY Bad public key GNUPG: - Redefined to G10ERR_BAD_PUBKEY in gpg. GPG_ERR_BAD_SECKEY Bad secret key GNUPG: - Invalid format of a S-expression encoded private key in gpg-agent. - A protected or shadowed private key was passed to the OpenPGP card application for storing it on the card. - A private key passed to the OpenPGP card application does not match the requirements of the card or misses required parameters. - Gpg'agents import key command is not able to convert the key to the internal format. GCRYPT: - Checking the secret key failed (consistency check). GPG_ERR_BAD_SIGNATURE Bad signature GNUPG: - Redefined to G10ERR_BAD_SIGN in gpg. - The MDC check of an OpenPGP encrypted message failed. - A OpenPGP key signature did not verify. - A signature with a key flagged as "never trust" was made. GCRYPT: - A public key signature did not verify. GPG_ERR_NO_PUBKEY No public key GNUPG: - Redefined to G10ERR_NO_PUBKEY in gpg. - A key was requested from an OpenPGP card but the key is not stored on the card. - The public key could not be retrieved from a corresponding certificate on a card (command READKEY in scd). - A requested certificate was not found or an unspecified error occured while selecting a X.509 certificate in gpgsm. - The specified certificate or key was not found. This does not necessary mean that the certifciate is not available but the specification method may not be usable for the given certificate. May also happen for certificates somehwere in the chain while validaiting a certificate chain. - The requested encryption certificate was not found. - A certificate specified in a CMS message is not available and thus the signature could not be verified or details of the certificate be shown. GPA: - No key was given for encryption. - The selected encryption protocol is not available. GPG_ERR_CHECKSUM Checksum error GNUPG: - The checksum of an unprotected OpenPGP secret key packet is wrong. GCRYPT: - Decryption in AESWRAP mode does not match the expected IV. [more to come] 11 GPG_ERR_BAD_PASSPHRASE Bad passphrase 12 GPG_ERR_CIPHER_ALGO Invalid cipher algorithm 13 GPG_ERR_KEYRING_OPEN Keyring open 14 GPG_ERR_INV_PACKET Invalid packet 15 GPG_ERR_INV_ARMOR Invalid armor 16 GPG_ERR_NO_USER_ID No user ID 17 GPG_ERR_NO_SECKEY No secret key 18 GPG_ERR_WRONG_SECKEY Wrong secret key used GPG_ERR_BAD_KEY Bad session key GNUPG: - gpg-agent's command IMPORT_KEY or EXPORT_KEY is used without a prior KEYWRAP_KEY command. [more to come] 20 GPG_ERR_COMPR_ALGO Unknown compression algorithm 21 GPG_ERR_NO_PRIME Number is not prime 22 GPG_ERR_NO_ENCODING_METHOD Invalid encoding method 23 GPG_ERR_NO_ENCRYPTION_SCHEME Invalid encryption scheme 24 GPG_ERR_NO_SIGNATURE_SCHEME Invalid signature scheme 25 GPG_ERR_INV_ATTR Invalid attribute GPG_ERR_NO_VALUE No value GNUPG: - A timestamp value is expect but there is none. KSBA: - A timestamp value is expect but there is none. - A certificate is missing a required property. - A CMS object is missing a required property. - Converting a Distinguised Name to an RFC2253 string failed. GPG_ERR_NOT_FOUND Not found A search operation did not return a matching value. GPG_ERR_VALUE_NOT_FOUND Value not found GNUPG: - A keyblock or a cert object was requested but not found. This might indicate an internal error here. 29 GPG_ERR_SYNTAX Syntax error 30 GPG_ERR_BAD_MPI Bad MPI value 31 GPG_ERR_INV_PASSPHRASE Invalid passphrase 32 GPG_ERR_SIG_CLASS Invalid signature class 33 GPG_ERR_RESOURCE_LIMIT Resources exhausted 34 GPG_ERR_INV_KEYRING Invalid keyring 35 GPG_ERR_TRUSTDB Trust DB error GPG_ERR_BAD_CERT Bad certificate GPG_ERR_INV_USER_ID Invalid user ID GNUPG: - Used to indicate a bad specification of a user id. [more to come] 38 GPG_ERR_UNEXPECTED Unexpected error 39 GPG_ERR_TIME_CONFLICT Time conflict 40 GPG_ERR_KEYSERVER Keyserver error GPG_ERR_WRONG_PUBKEY_ALGO Wrong public key algorithm GNUPG: - The algorithm is not expected. For example a DSA algorithm is used where a non-DSA algorithm is expected or vice versa. May indicate an internal error. 42 GPG_ERR_TRIBUTE_TO_D_A Tribute to D. A. 43 GPG_ERR_WEAK_KEY Weak encryption key 44 GPG_ERR_INV_KEYLEN Invalid key length GPG_ERR_INV_ARG Invalid argument GCRYPT: - Unsupported length of input data in encrypt or decrypt cipher functions. For example not matching the block lengths of the algorithm. - Incompatible args given; e.g. two or none if exactly one is required. [more to come] 46 GPG_ERR_BAD_URI Syntax error in URI 47 GPG_ERR_INV_URI Invalid URI 48 GPG_ERR_NETWORK Network error 49 GPG_ERR_UNKNOWN_HOST Unknown host Used instead of the non-portbale EHOSTNOTFOUND which is returned by some systems as a mapping of h_errno's HOST_NOT_FOUND 50 GPG_ERR_SELFTEST_FAILED Selftest failed 51 GPG_ERR_NOT_ENCRYPTED Data not encrypted 52 GPG_ERR_NOT_PROCESSED Data not processed 53 GPG_ERR_UNUSABLE_PUBKEY Unusable public key 54 GPG_ERR_UNUSABLE_SECKEY Unusable secret key 55 GPG_ERR_INV_VALUE Invalid value 56 GPG_ERR_BAD_CERT_CHAIN Bad certificate chain GPG_ERR_MISSING_CERT Missing certificate 58 GPG_ERR_NO_DATA No data 59 GPG_ERR_BUG Bug 60 GPG_ERR_NOT_SUPPORTED Not supported Used if a feature is currently not supported but may be enabled for example using a program option. Commonly used if a feature has been disabled by an administrator. See also GPG_ERR_NOT_ENABLED. Sometimes also used for features which are not yet supported. 61 GPG_ERR_INV_OP Invalid operation code 62 GPG_ERR_TIMEOUT Timeout 63 GPG_ERR_INTERNAL Internal error 64 GPG_ERR_EOF_GCRYPT EOF (gcrypt) 65 GPG_ERR_INV_OBJ Invalid object 66 GPG_ERR_TOO_SHORT Provided object is too short 67 GPG_ERR_TOO_LARGE Provided object is too large 68 GPG_ERR_NO_OBJ Missing item in object 69 GPG_ERR_NOT_IMPLEMENTED Not implemented 70 GPG_ERR_CONFLICT Conflicting use 71 GPG_ERR_INV_CIPHER_MODE Invalid cipher mode 72 GPG_ERR_INV_FLAG Invalid flag 73 GPG_ERR_INV_HANDLE Invalid handle 74 GPG_ERR_TRUNCATED Result truncated 75 GPG_ERR_INCOMPLETE_LINE Incomplete line 76 GPG_ERR_INV_RESPONSE Invalid response 77 GPG_ERR_NO_AGENT No agent running 78 GPG_ERR_AGENT agent error 79 GPG_ERR_INV_DATA Invalid data 80 GPG_ERR_ASSUAN_SERVER_FAULT Unspecific Assuan server fault 81 GPG_ERR_ASSUAN General Assuan error 82 GPG_ERR_INV_SESSION_KEY Invalid session key 83 GPG_ERR_INV_SEXP Invalid S-expression 84 GPG_ERR_UNSUPPORTED_ALGORITHM Unsupported algorithm 85 GPG_ERR_NO_PIN_ENTRY No pinentry 86 GPG_ERR_PIN_ENTRY pinentry error 87 GPG_ERR_BAD_PIN Bad PIN GPG_ERR_INV_NAME Invalid name GNUPG: - Formerly used in GPGSM to indicate an error in the specification of a user id. Later replaced by GPG_ERR_INV_USER_ID. - In G13 to indicate a bad file name (e.g. one with an embedded Nul byte when given as escaped string. - In SCDAEMON for an unknown attribute name. [more to come] 89 GPG_ERR_BAD_DATA Bad data -90 GPG_ERR_INV_PARAMETER Invalid parameter + +GPG_ERR_INV_PARAMETER Invalid parameter + + GNUPG: - Returned if gpg-agent sends a new generated key with + unknown parameter names. + - Invalid parameter in the parameter file for key + generation by gpgsm. + 91 GPG_ERR_WRONG_CARD Wrong card 92 GPG_ERR_NO_DIRMNGR No dirmngr 93 GPG_ERR_DIRMNGR dirmngr error 94 GPG_ERR_CERT_REVOKED Certificate revoked 95 GPG_ERR_NO_CRL_KNOWN No CRL known 96 GPG_ERR_CRL_TOO_OLD CRL too old 97 GPG_ERR_LINE_TOO_LONG Line too long 98 GPG_ERR_NOT_TRUSTED Not trusted 99 GPG_ERR_CANCELED Operation cancelled 100 GPG_ERR_BAD_CA_CERT Bad CA certificate 101 GPG_ERR_CERT_EXPIRED Certificate expired 102 GPG_ERR_CERT_TOO_YOUNG Certificate too young 103 GPG_ERR_UNSUPPORTED_CERT Unsupported certificate 104 GPG_ERR_UNKNOWN_SEXP Unknown S-expression 105 GPG_ERR_UNSUPPORTED_PROTECTION Unsupported protection 106 GPG_ERR_CORRUPTED_PROTECTION Corrupted protection 107 GPG_ERR_AMBIGUOUS_NAME Ambiguous name 108 GPG_ERR_CARD Card error 109 GPG_ERR_CARD_RESET Card reset required 110 GPG_ERR_CARD_REMOVED Card removed 111 GPG_ERR_INV_CARD Invalid card 112 GPG_ERR_CARD_NOT_PRESENT Card not present 113 GPG_ERR_NO_PKCS15_APP No PKCS15 application 114 GPG_ERR_NOT_CONFIRMED Not confirmed 115 GPG_ERR_CONFIGURATION Configuration error 116 GPG_ERR_NO_POLICY_MATCH No policy match 117 GPG_ERR_INV_INDEX Invalid index 118 GPG_ERR_INV_ID Invalid ID 119 GPG_ERR_NO_SCDAEMON No SmartCard daemon 120 GPG_ERR_SCDAEMON SmartCard daemon error GPG_ERR_UNSUPPORTED_PROTOCOL Unsupported protocol GPG: - An unsupported keyserver protocol. GPG_AGENT: - Invalid shadow_info protocol (not "t1-v1") LIBKSBA: - Unknown OID of the OCSP response bytes GPGME: - GPGME_PROTOCOL_xxx not supported. 122 GPG_ERR_BAD_PIN_METHOD Bad PIN method GPG_ERR_CARD_NOT_INITIALIZED Card not initialized SCDAEMON: - A card function is called but the card has not yet been initialized. This may be due to a conflict with another card using connection or due to a bug. 124 GPG_ERR_UNSUPPORTED_OPERATION Unsupported operation 125 GPG_ERR_WRONG_KEY_USAGE Wrong key usage GPG_ERR_NOTHING_FOUND Nothing found Indicates that the operation was not possible because nothing has been found. For example an update request for non existent data. 127 GPG_ERR_WRONG_BLOB_TYPE Wrong blob type GPG_ERR_MISSING_VALUE Missing value GNUPG: - Not enough parameters for a secret key send to gpg-agent. 129 GPG_ERR_HARDWARE Hardware problem 130 GPG_ERR_PIN_BLOCKED PIN blocked 131 GPG_ERR_USE_CONDITIONS Conditions of use not satisfied 132 GPG_ERR_PIN_NOT_SYNCED PINs are not synced 133 GPG_ERR_INV_CRL Invalid CRL 134 GPG_ERR_BAD_BER BER error 135 GPG_ERR_INV_BER Invalid BER 136 GPG_ERR_ELEMENT_NOT_FOUND Element not found 137 GPG_ERR_IDENTIFIER_NOT_FOUND Identifier not found 138 GPG_ERR_INV_TAG Invalid tag GPG_ERR_INV_LENGTH Invalid length GCRYPT: - Bad block length for certain cipher algorithms and modes. - Bad length of input data; e.g. not a multiple of the block length. - A length does not match the size of the digest algorithm. [more to come] GNUPG: - Invalid hash length for a pubkey [more to come] GPG_ERR_INV_KEYINFO Invalid key info KSBA: - Returned if the ASN.1 Keyinfo structure is not valid 141 GPG_ERR_UNEXPECTED_TAG Unexpected tag 142 GPG_ERR_NOT_DER_ENCODED Not DER encoded 143 GPG_ERR_NO_CMS_OBJ No CMS object 144 GPG_ERR_INV_CMS_OBJ Invalid CMS object 145 GPG_ERR_UNKNOWN_CMS_OBJ Unknown CMS object 146 GPG_ERR_UNSUPPORTED_CMS_OBJ Unsupported CMS object GPG_ERR_UNSUPPORTED_ENCODING Unsupported encoding GNUPG: - Returned by Dirmngr if a keyserver returns a HTML document. 148 GPG_ERR_UNSUPPORTED_CMS_VERSION Unsupported CMS version 149 GPG_ERR_UNKNOWN_ALGORITHM Unknown algorithm GCRYPT: gcry_kdf_proc for an unknown kdf algorithm 150 GPG_ERR_INV_ENGINE Invalid crypto engine 151 GPG_ERR_PUBKEY_NOT_TRUSTED Public key not trusted 152 GPG_ERR_DECRYPT_FAILED Decryption failed 153 GPG_ERR_KEY_EXPIRED Key expired 154 GPG_ERR_SIG_EXPIRED Signature expired 155 GPG_ERR_ENCODING_PROBLEM Encoding problem 156 GPG_ERR_INV_STATE Invalid state 157 GPG_ERR_DUP_VALUE Duplicated value GPG_ERR_MISSING_ACTION Missing action GNUPG: - In G13 the server command "MOUNT" is used without prior use of the command "OPEN". others: - The libassuan ce-server test program uses this to indicate that the client did not conncted to the server as requested. 159 GPG_ERR_MODULE_NOT_FOUND ASN.1 module not found 160 GPG_ERR_INV_OID_STRING Invalid OID string 161 GPG_ERR_INV_TIME Invalid time 162 GPG_ERR_INV_CRL_OBJ Invalid CRL object 163 GPG_ERR_UNSUPPORTED_CRL_VERSION Unsupported CRL version GPG_ERR_INV_CERT_OBJ Invalid certificate object GPGME: - A bad certificate (gpgme_key_t) has been passed to a function. For example it might be incomplete due to a missing fingerprint. 165 GPG_ERR_UNKNOWN_NAME Unknown name Used by GPG to indicate an unknown ECC curve name (may also - indicate missing ECC support). - + indicate missing ECC support). It is also used to indicate an + unsuported parameter name in functions which take a name and + value to update state. 166 GPG_ERR_LOCALE_PROBLEM A locale function failed 167 GPG_ERR_NOT_LOCKED Not locked 168 GPG_ERR_PROTOCOL_VIOLATION Protocol violation 169 GPG_ERR_INV_MAC Invalid MAC 170 GPG_ERR_INV_REQUEST Invalid request 171 GPG_ERR_UNKNOWN_EXTN Unknown extension 172 GPG_ERR_UNKNOWN_CRIT_EXTN Unknown critical extension 173 GPG_ERR_LOCKED Locked 174 GPG_ERR_UNKNOWN_OPTION Unknown option 175 GPG_ERR_UNKNOWN_COMMAND Unknown command 176 GPG_ERR_NOT_OPERATIONAL Not operational 177 GPG_ERR_NO_PASSPHRASE No passphrase given 178 GPG_ERR_NO_PIN No PIN given GPG_ERR_NOT_ENABLED Not enabled Similar to GPG_ERR_NOT_SUPPORTED. In general this error is used for disabled features which can be expected to be enabled by the user. 180 GPG_ERR_NO_ENGINE No crypto engine 181 GPG_ERR_MISSING_KEY Missing key GPG_ERR_TOO_MANY Too many objects GPG: - Dirmngr KS_GET called with too many pattern so that the maximum Assuan line length would overflow. GPGME: - To many patterns in gpgme-tools's KEYLIST command. GPG_ERR_NO_KEYSERVER No keyserver available No keyserver configured or no keyserver available due to missing support for the requested protocol. Found in Dirmngr. GPG_ERR_LIMIT_REACHED Limit reached A programmed limit has been reached. GnuPG: gpgtar: Extract directory can't be created because too many of directories with a similar name are already existing. +184 GPG_ERR_NOT_INITIALIZED Not initialized +185 GPG_ERR_MISSING_ISSUER_CERT Missing issuer certificate +186 GPG_ERR_NO_KEYSERVER No keyserver available + +GPG_ERR_INV_CURVE Invalid elliptic curve + + The curve is missing parameters or the curve is invald, for example + it is not possible to get affine coordinates for the public key. + +188 GPG_ERR_UNKNOWN_CURVE Unknown elliptic curve GPG_ERR_DUP_KEY Duplicated key A duplicated key was detected. For example a unique key in a database occurred more than once. GPG_ERR_AMBIGUOUS Ambiguous search A search etc returned an ambigious result. This usually means that the search string was not specific enough. +GPG_ERR_NO_CRYPT_CTX No crypto context + + A crypto context was expected but not given. Commonly used by + Libgcrypt. + +GPG_ERR_WRONG_CRYPT_CTX Wrong crypto context + + The given crypto context does not match the requirements. For + example in Libgcrypt a crypto context has private data + pertaining to certain algorithms. This error is for example + returned if a crypto context initialized for a different + algorithm is used. + +GPG_ERR_BAD_CRYPT_CTX Bad crypto context + + The is a problem with the crypto context. For example it has + not been properly initialized. + +GPG_ERR_CRYPT_CTX_CONFLICT Conflict in the crypto context + + Conflicting use of a crypto context. For example if a context + is used with objects that don't match the state of the + context. + +GPG_ERR_BROKEN_PUBKEY Broken public key + + The public key was mathematically not correctly generated. + (It would have been nicer if we would have used BAD_PUBKEY for + this, but that error code is in long time use to describe for + example policy and encoding problems with a key. Using + INV_PUBKEY would have been better for these purposes) + +GPG_ERR_BROKEN_SECKEY Broken secret key + + The secret key was mathematically not correctly generated. 199 GPG_ERR_UNFINISHED Operation not yet finished 200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short diff --git a/src/err-codes.h.in b/src/err-codes.h.in index fd7030d..9c213de 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -1,306 +1,311 @@ # err-codes.h.in - List of error codes and their description input file. /* err-codes.h - List of error codes and their description. Copyright (C) 2003, 2004 g10 Code GmbH This file is part of libgpg-error. libgpg-error is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. libgpg-error 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with libgpg-error; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # Everything up to the first line that starts with a number in the # first column is copied into the output verbatim. Then, empty lines # are ignored. Other lines must have an error code number, followed # by one or more characters, followed by the error code symbol, # followed by one or more characters, followed by the error # message. Trailing whitespace is removed. The error codes should be # sorted. The last line should not have a number, but only a , # followed by a dummy field, followed by a , followed by a # description for error codes that are not in the list. 0 GPG_ERR_NO_ERROR Success 1 GPG_ERR_GENERAL General error 2 GPG_ERR_UNKNOWN_PACKET Unknown packet 3 GPG_ERR_UNKNOWN_VERSION Unknown version in packet 4 GPG_ERR_PUBKEY_ALGO Invalid public key algorithm 5 GPG_ERR_DIGEST_ALGO Invalid digest algorithm 6 GPG_ERR_BAD_PUBKEY Bad public key 7 GPG_ERR_BAD_SECKEY Bad secret key 8 GPG_ERR_BAD_SIGNATURE Bad signature 9 GPG_ERR_NO_PUBKEY No public key 10 GPG_ERR_CHECKSUM Checksum error 11 GPG_ERR_BAD_PASSPHRASE Bad passphrase 12 GPG_ERR_CIPHER_ALGO Invalid cipher algorithm 13 GPG_ERR_KEYRING_OPEN Keyring open 14 GPG_ERR_INV_PACKET Invalid packet 15 GPG_ERR_INV_ARMOR Invalid armor 16 GPG_ERR_NO_USER_ID No user ID 17 GPG_ERR_NO_SECKEY No secret key 18 GPG_ERR_WRONG_SECKEY Wrong secret key used 19 GPG_ERR_BAD_KEY Bad session key 20 GPG_ERR_COMPR_ALGO Unknown compression algorithm 21 GPG_ERR_NO_PRIME Number is not prime 22 GPG_ERR_NO_ENCODING_METHOD Invalid encoding method 23 GPG_ERR_NO_ENCRYPTION_SCHEME Invalid encryption scheme 24 GPG_ERR_NO_SIGNATURE_SCHEME Invalid signature scheme 25 GPG_ERR_INV_ATTR Invalid attribute 26 GPG_ERR_NO_VALUE No value 27 GPG_ERR_NOT_FOUND Not found 28 GPG_ERR_VALUE_NOT_FOUND Value not found 29 GPG_ERR_SYNTAX Syntax error 30 GPG_ERR_BAD_MPI Bad MPI value 31 GPG_ERR_INV_PASSPHRASE Invalid passphrase 32 GPG_ERR_SIG_CLASS Invalid signature class 33 GPG_ERR_RESOURCE_LIMIT Resources exhausted 34 GPG_ERR_INV_KEYRING Invalid keyring 35 GPG_ERR_TRUSTDB Trust DB error 36 GPG_ERR_BAD_CERT Bad certificate 37 GPG_ERR_INV_USER_ID Invalid user ID 38 GPG_ERR_UNEXPECTED Unexpected error 39 GPG_ERR_TIME_CONFLICT Time conflict 40 GPG_ERR_KEYSERVER Keyserver error 41 GPG_ERR_WRONG_PUBKEY_ALGO Wrong public key algorithm 42 GPG_ERR_TRIBUTE_TO_D_A Tribute to D. A. 43 GPG_ERR_WEAK_KEY Weak encryption key 44 GPG_ERR_INV_KEYLEN Invalid key length 45 GPG_ERR_INV_ARG Invalid argument 46 GPG_ERR_BAD_URI Syntax error in URI 47 GPG_ERR_INV_URI Invalid URI 48 GPG_ERR_NETWORK Network error 49 GPG_ERR_UNKNOWN_HOST Unknown host 50 GPG_ERR_SELFTEST_FAILED Selftest failed 51 GPG_ERR_NOT_ENCRYPTED Data not encrypted 52 GPG_ERR_NOT_PROCESSED Data not processed 53 GPG_ERR_UNUSABLE_PUBKEY Unusable public key 54 GPG_ERR_UNUSABLE_SECKEY Unusable secret key 55 GPG_ERR_INV_VALUE Invalid value 56 GPG_ERR_BAD_CERT_CHAIN Bad certificate chain 57 GPG_ERR_MISSING_CERT Missing certificate 58 GPG_ERR_NO_DATA No data 59 GPG_ERR_BUG Bug 60 GPG_ERR_NOT_SUPPORTED Not supported 61 GPG_ERR_INV_OP Invalid operation code 62 GPG_ERR_TIMEOUT Timeout 63 GPG_ERR_INTERNAL Internal error 64 GPG_ERR_EOF_GCRYPT EOF (gcrypt) 65 GPG_ERR_INV_OBJ Invalid object 66 GPG_ERR_TOO_SHORT Provided object is too short 67 GPG_ERR_TOO_LARGE Provided object is too large 68 GPG_ERR_NO_OBJ Missing item in object 69 GPG_ERR_NOT_IMPLEMENTED Not implemented 70 GPG_ERR_CONFLICT Conflicting use 71 GPG_ERR_INV_CIPHER_MODE Invalid cipher mode 72 GPG_ERR_INV_FLAG Invalid flag 73 GPG_ERR_INV_HANDLE Invalid handle 74 GPG_ERR_TRUNCATED Result truncated 75 GPG_ERR_INCOMPLETE_LINE Incomplete line 76 GPG_ERR_INV_RESPONSE Invalid response 77 GPG_ERR_NO_AGENT No agent running 78 GPG_ERR_AGENT Agent error 79 GPG_ERR_INV_DATA Invalid data 80 GPG_ERR_ASSUAN_SERVER_FAULT Unspecific Assuan server fault 81 GPG_ERR_ASSUAN General Assuan error 82 GPG_ERR_INV_SESSION_KEY Invalid session key 83 GPG_ERR_INV_SEXP Invalid S-expression 84 GPG_ERR_UNSUPPORTED_ALGORITHM Unsupported algorithm 85 GPG_ERR_NO_PIN_ENTRY No pinentry 86 GPG_ERR_PIN_ENTRY pinentry error 87 GPG_ERR_BAD_PIN Bad PIN 88 GPG_ERR_INV_NAME Invalid name 89 GPG_ERR_BAD_DATA Bad data 90 GPG_ERR_INV_PARAMETER Invalid parameter 91 GPG_ERR_WRONG_CARD Wrong card 92 GPG_ERR_NO_DIRMNGR No dirmngr 93 GPG_ERR_DIRMNGR dirmngr error 94 GPG_ERR_CERT_REVOKED Certificate revoked 95 GPG_ERR_NO_CRL_KNOWN No CRL known 96 GPG_ERR_CRL_TOO_OLD CRL too old 97 GPG_ERR_LINE_TOO_LONG Line too long 98 GPG_ERR_NOT_TRUSTED Not trusted 99 GPG_ERR_CANCELED Operation cancelled 100 GPG_ERR_BAD_CA_CERT Bad CA certificate 101 GPG_ERR_CERT_EXPIRED Certificate expired 102 GPG_ERR_CERT_TOO_YOUNG Certificate too young 103 GPG_ERR_UNSUPPORTED_CERT Unsupported certificate 104 GPG_ERR_UNKNOWN_SEXP Unknown S-expression 105 GPG_ERR_UNSUPPORTED_PROTECTION Unsupported protection 106 GPG_ERR_CORRUPTED_PROTECTION Corrupted protection 107 GPG_ERR_AMBIGUOUS_NAME Ambiguous name 108 GPG_ERR_CARD Card error 109 GPG_ERR_CARD_RESET Card reset required 110 GPG_ERR_CARD_REMOVED Card removed 111 GPG_ERR_INV_CARD Invalid card 112 GPG_ERR_CARD_NOT_PRESENT Card not present 113 GPG_ERR_NO_PKCS15_APP No PKCS15 application 114 GPG_ERR_NOT_CONFIRMED Not confirmed 115 GPG_ERR_CONFIGURATION Configuration error 116 GPG_ERR_NO_POLICY_MATCH No policy match 117 GPG_ERR_INV_INDEX Invalid index 118 GPG_ERR_INV_ID Invalid ID 119 GPG_ERR_NO_SCDAEMON No SmartCard daemon 120 GPG_ERR_SCDAEMON SmartCard daemon error 121 GPG_ERR_UNSUPPORTED_PROTOCOL Unsupported protocol 122 GPG_ERR_BAD_PIN_METHOD Bad PIN method 123 GPG_ERR_CARD_NOT_INITIALIZED Card not initialized 124 GPG_ERR_UNSUPPORTED_OPERATION Unsupported operation 125 GPG_ERR_WRONG_KEY_USAGE Wrong key usage 126 GPG_ERR_NOTHING_FOUND Nothing found 127 GPG_ERR_WRONG_BLOB_TYPE Wrong blob type 128 GPG_ERR_MISSING_VALUE Missing value 129 GPG_ERR_HARDWARE Hardware problem 130 GPG_ERR_PIN_BLOCKED PIN blocked 131 GPG_ERR_USE_CONDITIONS Conditions of use not satisfied 132 GPG_ERR_PIN_NOT_SYNCED PINs are not synced 133 GPG_ERR_INV_CRL Invalid CRL 134 GPG_ERR_BAD_BER BER error 135 GPG_ERR_INV_BER Invalid BER 136 GPG_ERR_ELEMENT_NOT_FOUND Element not found 137 GPG_ERR_IDENTIFIER_NOT_FOUND Identifier not found 138 GPG_ERR_INV_TAG Invalid tag 139 GPG_ERR_INV_LENGTH Invalid length 140 GPG_ERR_INV_KEYINFO Invalid key info 141 GPG_ERR_UNEXPECTED_TAG Unexpected tag 142 GPG_ERR_NOT_DER_ENCODED Not DER encoded 143 GPG_ERR_NO_CMS_OBJ No CMS object 144 GPG_ERR_INV_CMS_OBJ Invalid CMS object 145 GPG_ERR_UNKNOWN_CMS_OBJ Unknown CMS object 146 GPG_ERR_UNSUPPORTED_CMS_OBJ Unsupported CMS object 147 GPG_ERR_UNSUPPORTED_ENCODING Unsupported encoding 148 GPG_ERR_UNSUPPORTED_CMS_VERSION Unsupported CMS version 149 GPG_ERR_UNKNOWN_ALGORITHM Unknown algorithm 150 GPG_ERR_INV_ENGINE Invalid crypto engine 151 GPG_ERR_PUBKEY_NOT_TRUSTED Public key not trusted 152 GPG_ERR_DECRYPT_FAILED Decryption failed 153 GPG_ERR_KEY_EXPIRED Key expired 154 GPG_ERR_SIG_EXPIRED Signature expired 155 GPG_ERR_ENCODING_PROBLEM Encoding problem 156 GPG_ERR_INV_STATE Invalid state 157 GPG_ERR_DUP_VALUE Duplicated value 158 GPG_ERR_MISSING_ACTION Missing action 159 GPG_ERR_MODULE_NOT_FOUND ASN.1 module not found 160 GPG_ERR_INV_OID_STRING Invalid OID string 161 GPG_ERR_INV_TIME Invalid time 162 GPG_ERR_INV_CRL_OBJ Invalid CRL object 163 GPG_ERR_UNSUPPORTED_CRL_VERSION Unsupported CRL version 164 GPG_ERR_INV_CERT_OBJ Invalid certificate object 165 GPG_ERR_UNKNOWN_NAME Unknown name 166 GPG_ERR_LOCALE_PROBLEM A locale function failed 167 GPG_ERR_NOT_LOCKED Not locked 168 GPG_ERR_PROTOCOL_VIOLATION Protocol violation 169 GPG_ERR_INV_MAC Invalid MAC 170 GPG_ERR_INV_REQUEST Invalid request 171 GPG_ERR_UNKNOWN_EXTN Unknown extension 172 GPG_ERR_UNKNOWN_CRIT_EXTN Unknown critical extension 173 GPG_ERR_LOCKED Locked 174 GPG_ERR_UNKNOWN_OPTION Unknown option 175 GPG_ERR_UNKNOWN_COMMAND Unknown command 176 GPG_ERR_NOT_OPERATIONAL Not operational 177 GPG_ERR_NO_PASSPHRASE No passphrase given 178 GPG_ERR_NO_PIN No PIN given 179 GPG_ERR_NOT_ENABLED Not enabled 180 GPG_ERR_NO_ENGINE No crypto engine 181 GPG_ERR_MISSING_KEY Missing key 182 GPG_ERR_TOO_MANY Too many objects 183 GPG_ERR_LIMIT_REACHED Limit reached 184 GPG_ERR_NOT_INITIALIZED Not initialized 185 GPG_ERR_MISSING_ISSUER_CERT Missing issuer certificate 186 GPG_ERR_NO_KEYSERVER No keyserver available 187 GPG_ERR_INV_CURVE Invalid elliptic curve 188 GPG_ERR_UNKNOWN_CURVE Unknown elliptic curve 189 GPG_ERR_DUP_KEY Duplicated key 190 GPG_ERR_AMBIGUOUS Ambiguous result -# 191 to 197 are free to be used. - +191 GPG_ERR_NO_CRYPT_CTX No crypto context +192 GPG_ERR_WRONG_CRYPT_CTX Wrong crypto context +193 GPG_ERR_BAD_CRYPT_CTX Bad crypto context +194 GPG_ERR_CRYPT_CTX_CONFLICT Conflict in the crypto context +195 GPG_ERR_BROKEN_PUBKEY Broken public key +196 GPG_ERR_BROKEN_SECKEY Broken secret key +# 197 is free to be used. 198 GPG_ERR_FULLY_CANCELED Operation fully cancelled 199 GPG_ERR_UNFINISHED Operation not yet finished 200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short # Error codes pertaining to S-expressions. 201 GPG_ERR_SEXP_INV_LEN_SPEC Invalid length specifier in S-expression 202 GPG_ERR_SEXP_STRING_TOO_LONG String too long in S-expression 203 GPG_ERR_SEXP_UNMATCHED_PAREN Unmatched parentheses in S-expression 204 GPG_ERR_SEXP_NOT_CANONICAL S-expression not canonical 205 GPG_ERR_SEXP_BAD_CHARACTER Bad character in S-expression 206 GPG_ERR_SEXP_BAD_QUOTATION Bad quotation in S-expression 207 GPG_ERR_SEXP_ZERO_PREFIX Zero prefix in S-expression 208 GPG_ERR_SEXP_NESTED_DH Nested display hints in S-expression 209 GPG_ERR_SEXP_UNMATCHED_DH Unmatched display hints 210 GPG_ERR_SEXP_UNEXPECTED_PUNC Unexpected reserved punctuation in S-expression 211 GPG_ERR_SEXP_BAD_HEX_CHAR Bad hexadecimal character in S-expression 212 GPG_ERR_SEXP_ODD_HEX_NUMBERS Odd hexadecimal numbers in S-expression 213 GPG_ERR_SEXP_BAD_OCT_CHAR Bad octal character in S-expression # 214 to 254 are free to be used. 255 and 256 are RFU. # Error codes pertaining to the Assuan IPC interface 257 GPG_ERR_ASS_GENERAL General IPC error 258 GPG_ERR_ASS_ACCEPT_FAILED IPC accept call failed 259 GPG_ERR_ASS_CONNECT_FAILED IPC connect call failed 260 GPG_ERR_ASS_INV_RESPONSE Invalid IPC response 261 GPG_ERR_ASS_INV_VALUE Invalid value passed to IPC 262 GPG_ERR_ASS_INCOMPLETE_LINE Incomplete line passed to IPC 263 GPG_ERR_ASS_LINE_TOO_LONG Line passed to IPC too long 264 GPG_ERR_ASS_NESTED_COMMANDS Nested IPC commands 265 GPG_ERR_ASS_NO_DATA_CB No data callback in IPC 266 GPG_ERR_ASS_NO_INQUIRE_CB No inquire callback in IPC 267 GPG_ERR_ASS_NOT_A_SERVER Not an IPC server 268 GPG_ERR_ASS_NOT_A_CLIENT Not an IPC client 269 GPG_ERR_ASS_SERVER_START Problem starting IPC server 270 GPG_ERR_ASS_READ_ERROR IPC read error 271 GPG_ERR_ASS_WRITE_ERROR IPC write error # reserved 273 GPG_ERR_ASS_TOO_MUCH_DATA Too much data for IPC layer 274 GPG_ERR_ASS_UNEXPECTED_CMD Unexpected IPC command 275 GPG_ERR_ASS_UNKNOWN_CMD Unknown IPC command 276 GPG_ERR_ASS_SYNTAX IPC syntax error 277 GPG_ERR_ASS_CANCELED IPC call has been cancelled 278 GPG_ERR_ASS_NO_INPUT No input source for IPC 279 GPG_ERR_ASS_NO_OUTPUT No output source for IPC 280 GPG_ERR_ASS_PARAMETER IPC parameter error 281 GPG_ERR_ASS_UNKNOWN_INQUIRE Unknown IPC inquire # 282 to 299 are reserved for future assuan codes. # 300 to 1023 are free to be used. # For free use by non-GnuPG components. 1024 GPG_ERR_USER_1 User defined error code 1 1025 GPG_ERR_USER_2 User defined error code 2 1026 GPG_ERR_USER_3 User defined error code 3 1027 GPG_ERR_USER_4 User defined error code 4 1028 GPG_ERR_USER_5 User defined error code 5 1029 GPG_ERR_USER_6 User defined error code 6 1030 GPG_ERR_USER_7 User defined error code 7 1031 GPG_ERR_USER_8 User defined error code 8 1032 GPG_ERR_USER_9 User defined error code 9 1033 GPG_ERR_USER_10 User defined error code 10 1034 GPG_ERR_USER_11 User defined error code 11 1035 GPG_ERR_USER_12 User defined error code 12 1036 GPG_ERR_USER_13 User defined error code 13 1037 GPG_ERR_USER_14 User defined error code 14 1038 GPG_ERR_USER_15 User defined error code 15 1039 GPG_ERR_USER_16 User defined error code 16 # 1040 to 16380 are free to be used. 16381 GPG_ERR_MISSING_ERRNO System error w/o errno 16382 GPG_ERR_UNKNOWN_ERRNO Unknown system error 16383 GPG_ERR_EOF End of file # 16384 - 32767 are reserved for future extensions. # GPG_SYSTEM_ERROR | (141 to 32767) are to be used for system errors. GPG_ERR_CODE_DIM Unknown error code