Debian Codegraph @

doc/errorref.txt

raw
1 # errorref.txt - Description of error codes
2 # Copyright (C) 2003-2004, 2010, 2013-2016 g10 Code GmbH
3 #
4 # This file is part of libgpg-error.
5 #
6 # libgpg-error is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public License
8 # as published by the Free Software Foundation; either version 2.1 of
9 # the License, or (at your option) any later version.
10 #
11 # libgpg-error is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
15 #
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this program; if not, see <https://www.gnu.org/licenses/>.
18 ##
19 ## Note that lines with a leading double hash will not installed.
20 ## Please do not put any tabs into this file.
21 ##
22 ## find ~/s/{gnupg,libgpg-error,libksba,libgcrypt,gpgme,gpa} -type f \
23 ## -name '*.[ch]' -print0 | xargs -0 grep -n GPG_ERR_
24
25
26 GPG_ERR_UNKNOWN_PACKET Unknown packet
27
28 GNUPG: - Redefined to G10ERR_UNKNOWN_PACKET in gpg.
29
30 GPG_ERR_UNKNOWN_VERSION Unknown version in packet
31
32 Used by GnuPG 2.1 to identify valid OpenPGP packets with an
33 unknown version.
34
35 GPG_ERR_PUBKEY_ALGO Invalid public key algorithm
36
37 GNUPG: - Redefined to G10ERR_PUBKEY_ALGO in gpg.
38 - Public key algorithm is not allowed by OpenPGP.
39 GCRYPT: - Public key algorithm is not defined or not available.
40 Note that this is also the case if the algorithm has
41 been disabled.
42 - [version < 1.5] Checking of the RSA secret key failed
43 (consistency check).
44
45 GPG_ERR_DIGEST_ALGO Invalid digest algorithm
46
47 GNUPG: - Digest algorithm is not supported.
48 - Redefined to G10ERR_PUBKEY_ALGO in gpg.
49 - Digest algorithm is not allowed by OpenPGP.
50 - Unsupported algorithm given to "--hash=" option of
51 certain Assuan server commands.
52 - Signature creation or verification failed due to
53 an unsupported hash algorithm.
54 GCRYPT: - Digest key algorithm is not defined or not available.
55 Note that this is also the case if the algorithm has
56 been disabled.
57 - Unsupported digest algorithm in a selftest.
58 - Invalid digest algorithm used in FIPS mode. Note that
59 in enforced-FIPS mode there is no such error return.
60 - Message digested or HMAC computation finished with no
61 message algorithm enabled for the hash context.
62 - Bad digest algorithm given to public key function.
63
64 GPG_ERR_BAD_PUBKEY Bad public key
65
66 GNUPG: - Redefined to G10ERR_BAD_PUBKEY in gpg.
67 - Missing public or domain parameter in an s-expression.
68 If the curve name is mssing GPG_ERR_INV_CURVE may be
69 used as well.
70 - The keygrip for a key could not be computed
71
72
73 GPG_ERR_BAD_SECKEY Bad secret key
74
75 GNUPG: - Invalid format of a S-expression encoded private key in
76 gpg-agent.
77 - Missing secret parameter in an s-expression.
78 - A protected or shadowed private key was passed to the
79 OpenPGP card application for storing it on the card.
80 - A private key passed to the OpenPGP card application does
81 not match the requirements of the card or misses required
82 parameters.
83 - Gpg-agent's import key command is not able to convert
84 the key to the internal format.
85 - Gpg-agent received a garbled composite key.
86 GCRYPT: - Checking the secret key failed (consistency check).
87
88
89 GPG_ERR_BAD_SIGNATURE Bad signature
90
91 GNUPG: - Redefined to G10ERR_BAD_SIGN in gpg.
92 - The MDC check of an OpenPGP encrypted message failed.
93 - A OpenPGP key signature did not verify.
94 - A signature with a key flagged as "never trust" was made.
95 GCRYPT: - A public key signature did not verify.
96
97 GPG_ERR_NO_PUBKEY No public key
98
99 GNUPG: - Redefined to G10ERR_NO_PUBKEY in gpg.
100 - A key was requested from an OpenPGP card but the key is
101 not stored on the card.
102 - The public key could not be retrieved from a corresponding
103 certificate on a card (command READKEY in scd).
104 - A requested certificate was not found or an unspecified
105 error occurred while selecting a X.509 certificate in
106 gpgsm.
107 - The specified certificate or key was not found. This
108 does not necessary mean that the certifciate is not
109 available but the specification method may not be usable
110 for the given certificate. May also happen for
111 certificates somewhere in the chain while validaiting a
112 certificate chain.
113 - The requested encryption certificate was not found.
114 - A certificate specified in a CMS message is not
115 available and thus the signature could not be verified
116 or details of the certificate be shown.
117 GPA: - No key was given for encryption.
118 - The selected encryption protocol is not available.
119
120 GPG_ERR_CHECKSUM Checksum error
121
122 GNUPG: - The checksum of an unprotected OpenPGP secret key packet
123 is wrong.
124 GCRYPT: - Decryption in AESWRAP mode does not match the expected IV.
125 [more to come]
126
127 GPG_ERR_BAD_PASSPHRASE Bad passphrase
128
129 GNUPG: - The entered passphrase does not verify
130
131 GPG_ERR_CIPHER_ALGO Invalid cipher algorithm
132
133 GPG_ERR_KEYRING_OPEN Cannot open keyring
134
135 GPG_ERR_INV_PACKET Invalid packet
136
137 GPG_ERR_INV_ARMOR Invalid armor
138
139 GPG_ERR_NO_USER_ID No user ID
140
141 GPG_ERR_NO_SECKEY No secret key
142
143 NTBTLS: - No private key or pre-shared key available.
144
145 GPG_ERR_WRONG_SECKEY Wrong secret key used
146
147 GPG_ERR_BAD_KEY Bad session key
148
149 GNUPG: - gpg-agent's command IMPORT_KEY or EXPORT_KEY is used
150 without a prior KEYWRAP_KEY command.
151
152 [more to come]
153
154
155 GPG_ERR_COMPR_ALGO Unknown compression algorithm
156
157 GPG_ERR_NO_PRIME Number is not prime
158
159 GPG_ERR_NO_ENCODING_METHOD Invalid encoding method
160
161 GPG_ERR_NO_ENCRYPTION_SCHEME Invalid encryption scheme
162
163 GPG_ERR_NO_SIGNATURE_SCHEME Invalid signature scheme
164
165 GPG_ERR_INV_ATTR Invalid attribute
166
167
168 GPG_ERR_NO_VALUE No value
169
170 GNUPG: - A timestamp value is expect but there is none.
171 KSBA: - A timestamp value is expect but there is none.
172 - A certificate is missing a required property.
173 - A CMS object is missing a required property.
174 - Converting a Distinguised Name to an RFC2253 string failed.
175
176
177 GPG_ERR_NOT_FOUND Not found
178
179 A search operation did not return a matching value.
180
181
182 GPG_ERR_VALUE_NOT_FOUND Value not found
183
184 GNUPG: - A keyblock or a cert object was requested but not
185 found. This might indicate an internal error here.
186
187
188 GPG_ERR_SYNTAX Syntax error
189
190 GPG_ERR_BAD_MPI Bad MPI value
191
192 GPG_ERR_INV_PASSPHRASE Invalid passphrase
193
194 GNUPG: - Required constraints of the passphrase are not met.
195
196 GPG_ERR_SIG_CLASS Invalid signature class
197
198 GPG_ERR_RESOURCE_LIMIT Resources exhausted
199
200 GPG_ERR_INV_KEYRING Invalid keyring
201
202 GPG_ERR_TRUSTDB Trust DB error
203
204
205 GPG_ERR_BAD_CERT Bad certificate
206
207 NTBTLS: - No subject found in the certifciate.
208
209
210 GPG_ERR_INV_USER_ID Invalid user ID
211
212 GNUPG: - Used to indicate a bad specification of a user id.
213 [more to come]
214
215
216 GPG_ERR_UNEXPECTED Unexpected error
217
218 GPG_ERR_TIME_CONFLICT Time conflict
219
220 GPG_ERR_KEYSERVER Keyserver error
221
222
223 GPG_ERR_WRONG_PUBKEY_ALGO Wrong public key algorithm
224
225 GNUPG: - The algorithm is not expected. For example a DSA
226 algorithm is used where a non-DSA algorithm is expected
227 or vice versa. May indicate an internal error.
228 NTBTLS: - Public key type mismatch. The peer presented a
229 different key type than requested.
230
231
232 GPG_ERR_TRIBUTE_TO_D_A Tribute to D. A.
233
234 GPG_ERR_WEAK_KEY Weak encryption key
235
236 GPG_ERR_INV_KEYLEN Invalid key length
237
238 GPG_ERR_INV_ARG Invalid argument
239
240 GCRYPT: - Unsupported length of input data in encrypt or decrypt
241 cipher functions. For example not matching the block
242 lengths of the algorithm.
243 - Incompatible args given; e.g. two or none if exactly one
244 is required.
245 [more to come]
246
247
248 GPG_ERR_BAD_URI Syntax error in URI
249
250 GPG_ERR_INV_URI Invalid URI
251
252 GPG_ERR_NETWORK Network error
253
254 GPG_ERR_UNKNOWN_HOST Unknown host
255
256 Used instead of the non-portable EHOSTNOTFOUND which is
257 returned by some systems as a mapping of h_errno's
258 HOST_NOT_FOUND
259
260
261 GPG_ERR_SELFTEST_FAILED Selftest failed
262
263 GPG_ERR_NOT_ENCRYPTED Data not encrypted
264
265 GPG_ERR_NOT_PROCESSED Data not processed
266
267 GPG_ERR_UNUSABLE_PUBKEY Unusable public key
268
269 GPG_ERR_UNUSABLE_SECKEY Unusable secret key
270
271 GPG_ERR_INV_VALUE Invalid value
272
273 NTBTLS: - A DH parameter is out of range
274 GnuPG: - An Assuan server returns a status line with
275 unexpected values.
276
277 GPG_ERR_BAD_CERT_CHAIN Bad certificate chain
278
279 GPG_ERR_MISSING_CERT Missing certificate
280
281 NTBTLS: - The server needs to send a certifciate but none has been
282 set. See also GPG_ERR_MISSING_ISSUER_CERT and
283 GPG_ERR_MISSING_CLIENT_CERT.
284
285
286
287 GPG_ERR_NO_DATA No data
288
289 GPG_ERR_BUG Bug
290
291 GPG_ERR_NOT_SUPPORTED Not supported
292
293 Used if a feature is currently not supported but may be
294 enabled for example using a program option. Commonly used if
295 a feature has been disabled by an administrator. See also
296 GPG_ERR_NOT_ENABLED. Sometimes also used for features which
297 are not yet supported.
298
299
300 GPG_ERR_INV_OP Invalid operation code
301
302 GPG_ERR_TIMEOUT Timeout
303
304 Some function or network access timed out.
305
306 GPG_ERR_INTERNAL Internal error
307
308 GPG_ERR_EOF_GCRYPT EOF (gcrypt)
309
310 GPG_ERR_INV_OBJ Invalid object
311
312 GPG_ERR_TOO_SHORT Provided object is too short
313
314 GPG_ERR_TOO_LARGE Provided object is too large
315
316 GPG_ERR_NO_OBJ Missing item in object
317
318 GPG_ERR_NOT_IMPLEMENTED Not implemented
319
320 NTBTLS: - The requested feature is not implemented.
321
322 GPG_ERR_CONFLICT Conflicting use
323
324 NTBTLS: - Function has already been called and may not be called
325 again at this protocol state.
326 GNUPG: - Returned by g13 when creating a new container on a device
327 which seems to be in use.
328
329
330 GPG_ERR_INV_CIPHER_MODE Invalid cipher mode
331
332 GPG_ERR_INV_FLAG Invalid flag
333
334 GPGME: Used to indicate an invalid combination of flags.
335
336
337 GPG_ERR_INV_HANDLE Invalid handle
338
339 GPG_ERR_TRUNCATED Result truncated
340
341 GPG_ERR_INCOMPLETE_LINE Incomplete line
342
343 GPG_ERR_INV_RESPONSE Invalid response
344
345 GPG_ERR_NO_AGENT No agent running
346
347 GPG_ERR_AGENT agent error
348
349 GPG_ERR_INV_DATA Invalid data
350
351 GNUPG: - Used in app-openpgp.c for a badly formatted request.
352 GCRYPT: - No passphrase given for gcry_kdf_derive.
353 - An opaque MPI is given to a public key function but not
354 expected.
355
356 GPG_ERR_ASSUAN_SERVER_FAULT Unspecific Assuan server fault
357
358 GPG_ERR_ASSUAN General Assuan error
359
360 GNUPG: - Used by Assuan command handler if they fail to do basic
361 things like an es_fdopen or es_fopencookie.
362
363
364 GPG_ERR_INV_SESSION_KEY Invalid session key
365
366 GPG_ERR_INV_SEXP Invalid S-expression
367
368 GPG_ERR_UNSUPPORTED_ALGORITHM Unsupported algorithm
369
370 GPG_ERR_NO_PIN_ENTRY No pinentry
371
372 GPG_ERR_PIN_ENTRY pinentry error
373
374 GPG_ERR_BAD_PIN Bad PIN
375
376 GPG_ERR_INV_NAME Invalid name
377
378 GNUPG: - Formerly used in GPGSM to indicate an error in
379 the specification of a user id. Later replaced by
380 GPG_ERR_INV_USER_ID.
381 - In G13 to indicate a bad file name (e.g. one with
382 an embedded Nul byte when given as escaped string.
383 - In SCDAEMON for an unknown attribute name.
384
385 Also used for URLs which have non-acceptable characters for the
386 specific application.
387
388 [more to come]
389
390 GPG_ERR_BAD_DATA Bad data
391
392 GPG_ERR_INV_PARAMETER Invalid parameter
393
394 GNUPG: - Returned if gpg-agent sends a new generated key with
395 unknown parameter names.
396 - Invalid parameter in the parameter file for key
397 generation by gpgsm.
398
399 GPG_ERR_WRONG_CARD Wrong card
400
401 GPG_ERR_NO_DIRMNGR No dirmngr
402
403 GPG_ERR_DIRMNGR dirmngr error
404
405 GPG_ERR_CERT_REVOKED Certificate revoked
406
407 GPG_ERR_NO_CRL_KNOWN No CRL known
408
409 GPG_ERR_CRL_TOO_OLD CRL too old
410
411 GPG_ERR_LINE_TOO_LONG Line too long
412
413 GPG_ERR_NOT_TRUSTED Not trusted
414
415 GPG_ERR_CANCELED Operation cancelled
416
417 GPG_ERR_BAD_CA_CERT Bad CA certificate
418
419 GPG_ERR_CERT_EXPIRED Certificate expired
420
421 GPG_ERR_CERT_TOO_YOUNG Certificate too young
422
423 GPG_ERR_UNSUPPORTED_CERT Unsupported certificate
424
425 GPG_ERR_UNKNOWN_SEXP Unknown S-expression
426
427 GPG_ERR_UNSUPPORTED_PROTECTION Unsupported protection
428
429 GPG_ERR_CORRUPTED_PROTECTION Corrupted protection
430
431 GPG_ERR_AMBIGUOUS_NAME Ambiguous name
432
433 GPG_ERR_CARD Card error
434
435 GPG_ERR_CARD_RESET Card reset required
436
437 GPG_ERR_CARD_REMOVED Card removed
438
439 GPG_ERR_INV_CARD Invalid card
440
441 GPG_ERR_CARD_NOT_PRESENT Card not present
442
443 GPG_ERR_NO_PKCS15_APP No PKCS15 application
444
445 GPG_ERR_NOT_CONFIRMED Not confirmed
446
447 GPG_ERR_CONFIGURATION Configuration error
448
449 GPG_ERR_NO_POLICY_MATCH No policy match
450
451 GPG_ERR_INV_INDEX Invalid index
452
453 GPG_ERR_INV_ID Invalid ID
454
455 GPG_ERR_NO_SCDAEMON No SmartCard daemon
456
457 GPG_ERR_SCDAEMON SmartCard daemon error
458
459 GPG_ERR_UNSUPPORTED_PROTOCOL Unsupported protocol
460
461 GPG: - An unsupported keyserver protocol.
462 GPG_AGENT: - Invalid shadow_info protocol (not "t1-v1")
463 LIBKSBA: - Unknown OID of the OCSP response bytes
464 GPGME: - GPGME_PROTOCOL_xxx not supported.
465 NTBTLS: - Handshake protocol version not supported.
466
467 GPG_ERR_BAD_PIN_METHOD Bad PIN method
468
469 GPG_ERR_CARD_NOT_INITIALIZED Card not initialized
470
471 SCDAEMON: - A card function is called but the card has not yet
472 been initialized. This may be due to a conflict with
473 another card using connection or due to a bug.
474
475 GPG_ERR_UNSUPPORTED_OPERATION Unsupported operation
476
477 GPG_ERR_WRONG_KEY_USAGE Wrong key usage
478
479 GNUPG: - Key usage not possible with selected algorithm.
480
481 GPG_ERR_NOTHING_FOUND Nothing found
482
483 Indicates that the operation was not possible because nothing has
484 been found. For example an update request for non existent data.
485
486 GPG_ERR_WRONG_BLOB_TYPE Wrong blob type
487
488 GNUPG: - The keyboxd returns an unexpected blob
489 (e.g. OpenPGP was requested but X.509 returned).
490
491 GPG_ERR_MISSING_VALUE Missing value
492
493 GNUPG: - Not enough parameters for a secret key send to gpg-agent.
494
495 GCRYPT: - A required parameter has not been given.
496
497
498 GPG_ERR_HARDWARE Hardware problem
499
500 GPG_ERR_PIN_BLOCKED PIN blocked
501
502 GPG_ERR_USE_CONDITIONS Conditions of use not satisfied
503
504 GNUPG: - The PIN given to a smartcard is too short or has
505 unacceptable characters so that the smartcard does
506 not even try to verify it.
507 - The smartcard can't do an operation because some
508 intermediate command send to a card is missing or the
509 card can't use the provided data due to an unsupported
510 algorithm.
511
512 GPG_ERR_PIN_NOT_SYNCED PINs are not synced
513
514 GPG_ERR_INV_CRL Invalid CRL
515
516 GPG_ERR_BAD_BER BER error
517
518 GPG_ERR_INV_BER Invalid BER
519
520 GPG_ERR_ELEMENT_NOT_FOUND Element not found
521
522 GPG_ERR_IDENTIFIER_NOT_FOUND Identifier not found
523
524 GPG_ERR_INV_TAG Invalid tag
525
526 GPG_ERR_INV_LENGTH Invalid length
527
528 GCRYPT: - Bad block length for certain cipher algorithms and
529 modes.
530 - Bad length of input data; e.g. not a multiple of the
531 block length.
532 - A length does not match the size of the digest
533 algorithm.
534 - Length of signature or public key is not as expected
535 (e.g. in EdDSA).
536 [more to come]
537 GNUPG: - Invalid hash length for a pubkey
538 [more to come]
539
540 GPG_ERR_INV_KEYINFO Invalid key info
541
542 KSBA: - Returned if the ASN.1 Keyinfo structure is not valid
543
544 GPG_ERR_UNEXPECTED_TAG Unexpected tag
545
546 GPG_ERR_NOT_DER_ENCODED Not DER encoded
547
548 GPG_ERR_NO_CMS_OBJ No CMS object
549
550 GPG_ERR_INV_CMS_OBJ Invalid CMS object
551
552 GPG_ERR_UNKNOWN_CMS_OBJ Unknown CMS object
553
554 GPG_ERR_UNSUPPORTED_CMS_OBJ Unsupported CMS object
555
556 GPG_ERR_UNSUPPORTED_ENCODING Unsupported encoding
557
558 GNUPG: - Returned by Dirmngr if a keyserver returns a HTML document.
559
560
561 GPG_ERR_UNSUPPORTED_CMS_VERSION Unsupported CMS version
562
563
564 GPG_ERR_UNKNOWN_ALGORITHM Unknown algorithm
565
566 GCRYPT: gcry_kdf_proc for an unknown kdf algorithm
567
568 GPG_ERR_INV_ENGINE Invalid crypto engine
569
570 GPGME: Several uses use cases. For example:
571 - Unexpected format of a status line.
572
573 GPG_ERR_PUBKEY_NOT_TRUSTED Public key not trusted
574 GPG_ERR_DECRYPT_FAILED Decryption failed
575 GPG_ERR_KEY_EXPIRED Key expired
576 GPG_ERR_SIG_EXPIRED Signature expired
577 GPG_ERR_ENCODING_PROBLEM Encoding problem
578
579 GPG_ERR_INV_STATE Invalid state
580
581 The state (of a protocol) is not possible or not defined at all.
582
583 NTBTLS: - Data received in an unexpected state.
584 - A function is called while not being in the right state.
585
586 GPG_ERR_DUP_VALUE Duplicated value
587
588 GPG_ERR_MISSING_ACTION Missing action
589
590 GNUPG: - In G13 the server command "MOUNT" is used without prior
591 use of the command "OPEN".
592
593 others: - The libassuan ce-server test program uses this to
594 indicate that the client did not connect to the server
595 as requested.
596
597 GPG_ERR_MODULE_NOT_FOUND ASN.1 module not found
598
599 GPG_ERR_INV_OID_STRING Invalid OID string
600
601 GPG_ERR_INV_TIME Invalid time
602
603 GPG_ERR_INV_CRL_OBJ Invalid CRL object
604
605 GPG_ERR_UNSUPPORTED_CRL_VERSION Unsupported CRL version
606
607
608 GPG_ERR_INV_CERT_OBJ Invalid certificate object
609
610 GPGME: - A bad certificate (gpgme_key_t) has been passed to a
611 function. For example it might be incomplete due to a
612 missing fingerprint.
613 GNUPG: - A certificate has a length of zero.
614
615
616 GPG_ERR_UNKNOWN_NAME Unknown name
617
618 Used by GPG to indicate an unknown ECC curve name (may also
619 indicate missing ECC support). It is also used to indicate an
620 unsuported parameter name in functions which take a name and
621 value to update state. Note that GPG_ERR_UNKNOWN_CURVE is
622 used instead by newer code.
623
624 GPG_ERR_LOCALE_PROBLEM A locale function failed
625
626 GPG_ERR_NOT_LOCKED Not locked
627
628 GPG_ERR_PROTOCOL_VIOLATION Protocol violation
629
630 GNUPG: - Used for invalid HTTP responses.
631
632
633 GPG_ERR_INV_MAC Invalid MAC
634
635 The length, algo, or other properties of a MAC are not met.
636 See also GPG_ERR_BAD_MAC.
637
638
639 GPG_ERR_INV_REQUEST Invalid request
640
641 GPG_ERR_UNKNOWN_EXTN Unknown extension
642
643 GPG_ERR_UNKNOWN_CRIT_EXTN Unknown critical extension
644
645 GPG_ERR_LOCKED Locked
646
647 GPG_ERR_UNKNOWN_OPTION Unknown option
648
649 GPG_ERR_UNKNOWN_COMMAND Unknown command
650
651 GPG_ERR_NOT_OPERATIONAL Not operational
652
653 GPG_ERR_NO_PASSPHRASE No passphrase given
654
655 GPG_ERR_NO_PIN No PIN given
656
657 GPG_ERR_NOT_ENABLED Not enabled
658
659 Similar to GPG_ERR_NOT_SUPPORTED. In general this error is
660 used for disabled features which can be expected to be enabled
661 by the user.
662
663
664 GPG_ERR_NO_ENGINE No crypto engine
665
666 GPG_ERR_MISSING_KEY Missing key
667
668 GNUPG: - gpg-agent returns this error on import or export if a key
669 wrapping transport key has not been specified.
670 - It is used when the name "Key" is not found while looking
671 up name value pairs of the extended private key format
672
673 GCRYPT: - A key has not been set when calling a symmetric
674 encryption function.
675
676 GPG_ERR_TOO_MANY Too many objects
677
678 GPG: - Dirmngr KS_GET called with too many pattern so that the
679 maximum Assuan line length would overflow.
680 - gpgsm's command export --secret called with too man keys.
681 GPGME: - To many patterns in gpgme-tools's KEYLIST command.
682
683 GPG_ERR_LIMIT_REACHED Limit reached
684
685 A programmed limit has been reached.
686
687 GnuPG: gpgtar: Extract directory can't be created because too
688 many of directories with a similar name are already existing.
689
690 GPG_ERR_NOT_INITIALIZED Not initialized
691
692 An operation can't be performed because something has not been
693 initialized. This might be a missing initialization of an entire
694 subsystems or a prerequisite for using a function is not
695 fulfilled.
696
697 GPG_ERR_MISSING_ISSUER_CERT Missing issuer certificate
698
699 GPG_ERR_NO_KEYSERVER No keyserver available
700
701 No keyserver configured or no keyserver available due to
702 missing support for the requested protocol. Found in Dirmngr.
703
704 GPG_ERR_INV_CURVE Invalid elliptic curve
705
706 The curve parameter is missing or the curve is invalid; for
707 example it is not possible to get affine coordinates for the
708 public key.
709
710 GPG_ERR_UNKNOWN_CURVE Unknown elliptic curve
711
712 The curve is not known or not supported by the protocol.
713
714
715 GPG_ERR_DUP_KEY Duplicated key
716
717 A duplicated key was detected. For example a unique key in a
718 database occurred more than once. Also used if in a protocol
719 an expected key was returned more than once.
720
721 GPG_ERR_AMBIGUOUS Ambiguous search
722
723 A search etc returned an ambigious result. This usually means
724 that the search string was not specific enough.
725
726 GPG_ERR_NO_CRYPT_CTX No crypto context
727
728 A crypto context was expected but not given. Commonly used by
729 Libgcrypt.
730
731 GPG_ERR_WRONG_CRYPT_CTX Wrong crypto context
732
733 The given crypto context does not match the requirements. For
734 example in Libgcrypt a crypto context has private data
735 pertaining to certain algorithms. This error is for example
736 returned if a crypto context initialized for a different
737 algorithm is used.
738
739 GPG_ERR_BAD_CRYPT_CTX Bad crypto context
740
741 The is a problem with the crypto context. For example it has
742 not been properly initialized.
743
744 GPG_ERR_CRYPT_CTX_CONFLICT Conflict in the crypto context
745
746 Conflicting use of a crypto context. For example if a context
747 is used with objects that don't match the state of the
748 context.
749
750 GPG_ERR_BROKEN_PUBKEY Broken public key
751
752 The public key was mathematically not correctly generated.
753 (It would have been nicer if we would have used BAD_PUBKEY for
754 this, but that error code is in long time use to describe for
755 example policy and encoding problems with a key. Using
756 INV_PUBKEY would have been better for these purposes)
757
758 GPG_ERR_BROKEN_SECKEY Broken secret key
759
760 The secret key was mathematically not correctly generated.
761
762 GPG_ERR_MAC_ALGO
763
764 GCRYPT: - MAC key algorithm is not defined or not available.
765
766
767 GPG_ERR_FULLY_CANCELED Operation fully cancelled
768
769 GPG_ERR_UNFINISHED Operation not yet finished
770
771 GPG_ERR_BUFFER_TOO_SHORT Buffer too short
772
773 GPG_ERR_SEXP_INV_LEN_SPEC Invalid length specifier in S-expression
774
775 GPG_ERR_SEXP_STRING_TOO_LONG String too long in S-expression
776
777 GPG_ERR_SEXP_UNMATCHED_PAREN Unmatched parentheses in S-expression
778
779 GPG_ERR_SEXP_NOT_CANONICAL S-expression not canonical
780
781 GPG_ERR_SEXP_BAD_CHARACTER Bad character in S-expression
782
783 GPG_ERR_SEXP_BAD_QUOTATION Bad quotation in S-expression
784
785 GPG_ERR_SEXP_ZERO_PREFIX Zero prefix in S-expression
786
787 GPG_ERR_SEXP_NESTED_DH Nested display hints in S-expression
788
789 GPG_ERR_SEXP_UNMATCHED_DH Unmatched display hints
790
791 GPG_ERR_SEXP_UNEXPECTED_PUNC Unexpected reserved punctuation in S-expression
792
793 GPG_ERR_SEXP_BAD_HEX_CHAR Bad hexadecimal character in S-expression
794
795 GPG_ERR_SEXP_ODD_HEX_NUMBERS Odd hexadecimal numbers in S-expression
796
797 GPG_ERR_SEXP_BAD_OCT_CHAR Bad octal character in S-expression
798
799 GPG_ERR_PUBKEY_NON_COMPLIANT Non-compliant public key algorithm
800
801 GnuPG: - The public key algorithms is not allowed by the current
802 compliance mode.
803
804 GPG_ERR_CIPHER_NON_COMPLIANT Non-compliant cipher algorithm
805
806 GnuPG: - The symmetric encryption algorithm is not allowed by the
807 current compliance mode.
808
809 GPG_ERR_UNEXPECTED_PACKET Unexpected packet
810
811 GnuPG: - An OpenPGP packet was not expected at this place of the
812 parsed data.
813
814 GPG_ERR_SUBKEYS_EXP_REV All subkeys are expired or revoked
815
816 GPG_ERR_DB_CORRUPTED Database is corrupted
817
818 GPG_ERR_SERVER_FAILED Server indicated a failure
819
820 GPG_ERR_NO_NAME No name
821
822 GNUPG: - No component given in gpgconf runs.
823 - A field name is missing in an import/export filter.
824 - "Domain not found".
825 - "Host not found".
826 - Host or service name not found (EAI_NONAME).
827 - No or erroneous SRV record.
828
829 GPG_ERR_NO_KEY No key
830
831 Some kind of key was not found.
832
833 GPG_ERR_LEGACY_KEY Legacy key
834
835 Used by GnuPG to identify version 2 and 3 OpenPGP key packets.
836
837 GPG_ERR_REQUEST_TOO_SHORT Request too short
838
839 A received request is too short to continue processing.
840
841 GPG_ERR_REQUEST_TOO_LONG Request too long
842
843 A received request is too long to continue processing. This may
844 be due to an internal limitation, a protocol violation, or due to
845 the use of a newer version of a protocol.
846
847 GPG_ERR_OBJ_TERM_STATE Object is in termination state
848
849 For cards this is the ISO status word 0x6285 (file is in
850 termination state).
851
852 GPG_ERR_NO_CERT_CHAIN No certificate chain
853
854 NTBTLS: - A CA chain has not been set but is required.
855
856 GPG_ERR_CERT_TOO_LARGE Certificate is too large
857
858 NTBTLS: - A certificate is too large to be used by the protocol.
859
860 GPG_ERR_INV_RECORD Invalid record
861
862 NTBTLS: - An invalid record was received
863
864 GPG_ERR_BAD_MAC The MAC does not verify
865
866 NTBTLS: - MAC verification of the message failed.
867
868 GPG_ERR_UNEXPECTED_MSG Unexpected message
869
870 GNUPG: - An unexpected WKS message was received.
871 NTBTLS: - Unexpected message received.
872
873 GPG_ERR_COMPR_FAILED Compression or decompression failed
874
875 NTBTLS: - As the description says.
876
877 GPG_ERR_WOULD_WRAP A counter would wrap
878
879 NTBTLS: - Too many messages exchanged
880 Other: - A counter would wrap.
881
882 GPG_ERR_FATAL_ALERT Fatal alert message received
883
884 NTBTLS: - Fatal alert message received from the peer.
885
886 GPG_ERR_NO_CIPHER No cipher algorithm
887
888 NTBTLS: - Server and client have no algo in common
889
890 GPG_ERR_MISSING_CLIENT_CERT Missing client certificate
891
892 NTBTLS: - No certificate received from client.
893
894 GPG_ERR_CLOSE_NOTIFY Close notification received
895
896 NTBTLS: - Alert with a close notification received
897
898 GPG_ERR_TICKET_EXPIRED Ticket expired
899
900 NTBTLS: - Session ticket has expired.
901
902 GPG_ERR_BAD_TICKET Bad ticket
903
904 NTBTLS: - Bad new session ticket message.
905
906 GPG_ERR_UNKNOWN_IDENTITY Unknown identity
907
908 NTBTLS: - Unknown PSK identify received
909
910 GPG_ERR_BAD_HS_CERT Bad certificate message in handshake
911
912 NTBTLS: - As the description says.
913
914 GPG_ERR_BAD_HS_CERT_REQ Bad certificate request message in handshake
915
916 NTBTLS: - As the description says.
917
918 GPG_ERR_BAD_HS_CERT_VER Bad certificate verify message in handshake
919
920 NTBTLS: - As the description says.
921
922 GPG_ERR_BAD_HS_CHANGE_CIPHER Bad change cipher message in handshake
923
924 NTBTLS: - As the description says.
925
926 GPG_ERR_BAD_HS_CLIENT_HELLO Bad client hello message in handshake
927
928 NTBTLS: - As the description says.
929
930 GPG_ERR_BAD_HS_SERVER_HELLO Bad server hello message in handshake
931
932 NTBTLS: - As the description says.
933
934 GPG_ERR_BAD_HS_SERVER_HELLO_DONE Bad server hello done message in handshake
935
936 NTBTLS: - As the description says.
937
938 GPG_ERR_BAD_HS_FINISHED Bad finished message in handshake
939
940 NTBTLS: - As the description says.
941
942 GPG_ERR_BAD_HS_SERVER_KEX Bad server key exchange message in handshake
943
944 NTBTLS: - As the description says.
945
946 GPG_ERR_BAD_HS_CLIENT_KEX Bad client key exchange message in handshake
947
948 NTBTLS: - As the description says.
949
950
951 GPG_ERR_BOGUS_STRING Bogus string
952
953 Used if a protocol sends length prefixed strings which contain a
954 Nul byte and further processing would discard the rest of the
955 string. May also be used if a string contains unexpected and
956 possible dangerous characters (e.g. control characters in a domain
957 name).
958
959 GPG_ERR_FORBIDDEN Forbidden
960
961 The use of a features is not allowed due to insufficient rights.
962 Use by gpg-agent as an error codes for restricted commands.
963
964 GPG_ERR_KEY_DISABLED Key disabled
965
966 GNUPG: - The key has been disabled by the user.
967
968 GPG_ERR_KEY_ON_CARD Not possible with a card based key
969
970 GNUPG: - The gpg-agent returns this if a DELETE_KEY commands is
971 used for a smartcard based key.
972
973 GPG_ERR_INV_LOCK_OBJ Invalid lock object
974
975 GPGRT: - The provided lock object is not valid. This indicates an
976 internal problem in libgpg-error or more likely a
977 programming error.
978
979 GPG_ERR_TRUE True
980
981 Used to return the boolean value True. Note that GPG_ERR_NO_ERROR
982 (with the value 0) is also often used to indicate the value true.
983
984 GPG_ERR_FALSE False
985
986 Used to return the boolean value False.
987
988
989 GPG_ERR_ASS_GENERAL General IPC error
990
991 GPG_ERR_ASS_ACCEPT_FAILED IPC accept call failed
992
993 GPG_ERR_ASS_CONNECT_FAILED IPC connect call failed
994
995 GPG_ERR_ASS_INV_RESPONSE Invalid IPC response
996
997 GPG_ERR_ASS_INV_VALUE Invalid value passed to IPC
998
999 GPG_ERR_ASS_INCOMPLETE_LINE Incomplete line passed to IPC
1000
1001 GPG_ERR_ASS_LINE_TOO_LONG Line passed to IPC too long
1002
1003 GPG_ERR_ASS_NESTED_COMMANDS Nested IPC commands
1004
1005 GPG_ERR_ASS_NO_DATA_CB No data callback in IPC
1006
1007 GPG_ERR_ASS_NO_INQUIRE_CB No inquire callback in IPC
1008
1009 GPG_ERR_ASS_NOT_A_SERVER Not an IPC server
1010
1011 GPG_ERR_ASS_NOT_A_CLIENT Not an IPC client
1012
1013 GPG_ERR_ASS_SERVER_START Problem starting IPC server
1014
1015 GPG_ERR_ASS_READ_ERROR IPC read error
1016
1017 GPG_ERR_ASS_WRITE_ERROR IPC write error
1018
1019 GPG_ERR_ASS_TOO_MUCH_DATA Too much data for IPC layer
1020
1021 GPG_ERR_ASS_UNEXPECTED_CMD Unexpected IPC command
1022
1023 GPG_ERR_ASS_UNKNOWN_CMD Unknown IPC command
1024
1025 GPG_ERR_ASS_SYNTAX IPC syntax error
1026
1027 GPG_ERR_ASS_CANCELED IPC call has been cancelled
1028
1029 GPG_ERR_ASS_NO_INPUT No input source for IPC
1030
1031 GPG_ERR_ASS_NO_OUTPUT No output source for IPC
1032
1033 GPG_ERR_ASS_PARAMETER IPC parameter error
1034
1035 GPG_ERR_ASS_UNKNOWN_INQUIRE Unknown IPC inquire
1036
1037 GPG_ERR_ENGINE_TOO_OLD Crypto engine too old
1038
1039 GPG_ERR_WINDOW_TOO_SMALL Screen or window too small
1040
1041 Pinentry: - The size of the screen is too small.
1042
1043 GPG_ERR_WINDOW_TOO_LARGE Screen or window too large
1044
1045 GPG_ERR_MISSING_ENVVAR Required environment variable not set
1046
1047 Pinentry: - The size of the screen can't be determined.
1048
1049 GPG_ERR_USER_ID_EXISTS User ID already exists
1050
1051 GNUPG: - Existing user ID in --quick-gen-key.
1052
1053 GPG_ERR_NAME_EXISTS Name already exists
1054
1055 GPG_ERR_DUP_NAME Duplicated name
1056
1057 GPG_ERR_TOO_YOUNG Objects is too young
1058
1059 For example used if a file is younger than expected.
1060
1061 GPG_ERR_TOO_OLD Objects is too old
1062
1063 Used if an object is too old to be used. This is a more generic
1064 code than GPG_ERR_ENGINE_TOO_OLD or GPG_ERR_CRL_TOO_OLD.
1065
1066 GPG_ERR_UNKNOWN_FLAG Unknown flag
1067
1068 The flag is not known.
1069
1070 GNUPG: - The flag part of the string given to the
1071 option --default-new-key-algo value is not known.
1072
1073 GPG_ERR_INV_ORDER Invalid execution order
1074
1075 GNUPG: - In Dirmngr used for the libdns error code DNS_EORDER.
1076
1077 GPG_ERR_ALREADY_FETCHED Already fetched
1078
1079 GNUPG: - In Dirmngr used for the libdns error code DNS_EFETCHED.
1080
1081 GPG_ERR_TRY_LATER Try again later
1082
1083 This indicates that a server asked to try again later; thus it is
1084 different from EAGAIN which is used by the local system. This
1085 code is for example used instead of h_error's TRY_AGAIN.
1086
1087 GPG_ERR_WRONG_NAME Wrong name
1088
1089 NTBTLS: - Hostname does not match the certificate
1090
1091 GPG_ERR_NO_AUTH Not authenticated
1092
1093 GnuPG: - A smartcard requires authentication
1094
1095 GPG_ERR_BAD_AUTH Bad authentication
1096
1097 GnuPG: - A smartcard could not be authenticated. For example
1098 a wrong authentication key was used with a PIV card.
1099
1100 GPG_ERR_NO_KEYBOXD No Keyboxd running
1101
1102 GnuPG: - The keyboxd component is not running
1103
1104 GPG_ERR_KEYBOXD Keyboxd error
1105
1106 GnuPG: - Malfunction in the keyboxd
1107
1108 GPG_ERR_NO_SERVICE Service is not running
1109
1110 A component is not running. Tnis is a generic version of
1111 GPG_ERR_NO_AGENT et al.
1112
1113 GPG_ERR_SERVICE Service error
1114
1115 An error occured in a service component. This is a generic
1116 version of GPG_ERR_AGENT et al.
1117
1118 GPG_ERR_BAD_PUK Bad PUK
1119
1120 A wrong PIN Unblocking Code was used.
1121
1122 GPG_ERR_NO_RESET_CODE No reset code
1123
1124 A reset code has not been configured for the card or token.
1125
1126 GPG_ERR_BAD_RESET_CODE No reset code
1127
1128 A wrong reset code was used.
1129
1130 GPG_ERR_DIGEST_NON_COMPLIANT Non-compliant digest algorithm
1131
1132 GnuPG: - The digest (hash) algorithm is not allowed by the
1133 current compliance mode.
1134
1135 GPG_ERR_SYSTEM_BUG System bug detected
1136
1137 The underlying operating system misbehaved. For example it wrote
1138 more to a buffer than the told maximum size.
1139
1140
1141 GPG_ERR_DNS_UNKNOWN Unknown DNS error
1142
1143 Used by Dirmngr for DNS errors from libdns (DNS_EUNKNOWN);
1144
1145 GPG_ERR_DNS_SECTION Invalid DNS section
1146
1147 Used by Dirmngr for DNS errors from libdns (DNS_ESECTION);
1148
1149 GPG_ERR_DNS_ADDRESS Invalid textual address form
1150
1151 Used by Dirmngr for DNS errors from libdns (DNS_EADDRESS);
1152
1153 GPG_ERR_DNS_NO_QUERY Missing DNS query packet
1154
1155 Used by Dirmngr for DNS errors from libdns (DNS_ENOQUERY);
1156
1157 GPG_ERR_DNS_NO_ANSWER Missing DNS answer packet
1158
1159 Used by Dirmngr for DNS errors from libdns (DNS_ENOANSWER);
1160
1161 GPG_ERR_DNS_CLOSED Connection closed in DNS
1162
1163 Used by Dirmngr for DNS errors from libdns (DNS_ECONNFIN);
1164
1165 GPG_ERR_DNS_VERIFY Verification failed in DNS
1166
1167 Used by Dirmngr for DNS errors from libdns (DNS_EVERIFY);
1168
1169 GPG_ERR_DNS_TIMEOUT DNS Timeout
1170
1171 A DNS query timed out
1172
1173 GPG_ERR_LDAP_GENERAL LDAP General error
1174
1175 Catch all error for LDAP. Use when an error code could not be
1176 mapped to a gpg-error code.
1177
1178 GPG_ERR_LDAP_ATTR_GENERAL LDAP General attribute error
1179 GPG_ERR_LDAP_NAME_GENERAL LDAP General name error
1180 GPG_ERR_LDAP_SECURITY_GENERAL LDAP General security error
1181 GPG_ERR_LDAP_SERVICE_GENERAL LDAP General service error
1182 GPG_ERR_LDAP_UPDATE_GENERAL LDAP General update error
1183 GPG_ERR_LDAP_E_GENERAL LDAP Experimental error code
1184 GPG_ERR_LDAP_X_GENERAL LDAP Private error code
1185 GPG_ERR_LDAP_OTHER_GENERAL LDAP Other general error
1186
1187 The 8 GPG_ERR_LDAP_*_GENERAL error codes may be used to map ranges
1188 of LDAP errors to one specific code. OpenLDAP uses LDAP_xxx_RANGE(n)
1189 macros for that mapping. "Other general error" may be used similar
1190 to "General error" for mapping of ranges. Here are macros from
1191 OpenLDAP for reference:
1192
1193 #define LDAP_ATTR_ERROR(n) LDAP_RANGE((n),0x10,0x15) /* 16-21 */
1194 #define LDAP_NAME_ERROR(n) LDAP_RANGE((n),0x20,0x24) /* 32-34,36 */
1195 #define LDAP_SECURITY_ERROR(n) LDAP_RANGE((n),0x2F,0x32) /* 47-50 */
1196 #define LDAP_SERVICE_ERROR(n) LDAP_RANGE((n),0x33,0x36) /* 51-54 */
1197 #define LDAP_UPDATE_ERROR(n) LDAP_RANGE((n),0x40,0x47) /* 64-69,71 */
1198 #define LDAP_E_ERROR(n) LDAP_RANGE((n),0x1000,0x3FFF)
1199 #define LDAP_X_ERROR(n) LDAP_RANGE((n),0x4000,0xFFFF)
1200
1201 GPG_ERR_SQL_OK SQL success
1202
1203 This code is normally not used because it it mapped to GPG_ERR_NO_ERROR.
1204
1205 GPG_ERR_SQL_ERROR SQL error
1206
1207 GPG_ERR_SQL_INTERNAL Internal logic error in SQL library
1208
1209 GPG_ERR_SQL_PERM Access permission denied (SQL)
1210
1211 GPG_ERR_SQL_ABORT SQL abort was requested
1212
1213 GPG_ERR_SQL_BUSY SQL database file is locked
1214
1215 GPG_ERR_SQL_LOCKED An SQL table in the database is locked
1216
1217 GPG_ERR_SQL_NOMEM SQL library ran out of core
1218
1219 GPG_ERR_SQL_READONLY Attempt to write a readonly SQL database
1220
1221 GPG_ERR_SQL_INTERRUPT SQL operation terminated by interrupt
1222
1223 GPG_ERR_SQL_IOERR I/O error during SQL operation
1224
1225 GPG_ERR_SQL_CORRUPT SQL database disk image is malformed
1226
1227 GPG_ERR_SQL_NOTFOUND Unknown opcode in SQL file control
1228
1229 GPG_ERR_SQL_FULL Insertion failed because SQL database is full
1230
1231 GPG_ERR_SQL_CANTOPEN Unable to open the SQL database file
1232
1233 GPG_ERR_SQL_PROTOCOL SQL database lock protocol error
1234
1235 GPG_ERR_SQL_EMPTY (internal SQL code: empty)
1236
1237 GPG_ERR_SQL_SCHEMA SQL database schema changed
1238
1239 GPG_ERR_SQL_TOOBIG String or blob exceeds size limit (SQL)
1240
1241 GPG_ERR_SQL_CONSTRAINT SQL abort due to constraint violation
1242
1243 GPG_ERR_SQL_MISMATCH Data type mismatch (SQL)
1244
1245 GPG_ERR_SQL_MISUSE SQL library used incorrectly
1246
1247 GPG_ERR_SQL_NOLFS SQL library uses unsupported OS features
1248
1249 GPG_ERR_SQL_AUTH Authorization denied (SQL)
1250
1251 GPG_ERR_SQL_FORMAT (unused SQL code: format)
1252
1253 GPG_ERR_SQL_RANGE SQL bind parameter out of range
1254
1255 GPG_ERR_SQL_NOTADB File opened that is not an SQL database file
1256
1257 GPG_ERR_SQL_NOTICE Notifications from SQL logger
1258
1259 GPG_ERR_SQL_WARNING Warnings from SQL logger
1260
1261 GPG_ERR_SQL_ROW SQL has another row ready
1262
1263 GPG_ERR SQL_DONE SQL has finished executing
1264
1265
1266 ## end of errorref.txt