aboutsummaryrefslogtreecommitdiffstats
path: root/src/err-codes.h.in
blob: e935e39197a1157d3ee377f869f6b17b5898520e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# 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 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 exactly one <tab>, 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 <tab>, followed by a
# description for error codes that are not in the list.

0	Success
1	General error
2	Unknown packet
3	Unknown version in packet
4	Invalid public key algorithm
5	Invalid digest algorithm
6	Bad public key
7	Bad secret key
8	Bad signature
9	No public key
10	Checksum error
11	Bad passphrase
12	Invalid cipher algorithm
13	Keyring open
14	Invalid packet
15	Invalid armor
16	No user ID
17	No secret key
18	Wrong secret key used
19	Bad session key
20	Unknown compression algorithm
21	Number is not prime
22	Invalid encoding method
23	Invalid encryption scheme
24	Invalid signature scheme
25	Invalid attribute
26	No value
27	Not found
28	Value not found
29	Syntax error
30	Bad MPI value
31	Invalid passphrase
32	Invalid signature class
33	Resources exhausted
34	Invalid keyring
35	Trust DB error
36	Bad certificate
37	Invalid user ID
38	Unexpected error
39	Time conflict
40	Keyserver error
41	Wrong public key algorithm
42	Tribute to D. A.
43	Weak encryption key
44	Invalid key length
45	Invalid argument
46	Syntax error in URI
47	Invalid URI
48	Network error
49	Unknown host
50	Selftest failed
51	Data not encrypted
52	Data not processed
53	Unusable public key
54	Unusable secret key
55	Invalid value
56	Bad certificate chain
57	Missing certificate
58	No data
59	Bug
60	Not supported
61	Invalid operation code
62	Timeout
63	Internal error
64	EOF (gcrypt)
65	Invalid object
66	Provided object is too short
67	Provided object is too large
68	Missing item in object
69	Not implemented
70	Conflicting use
71	Invalid cipher mode
72	Invalid flag
73	Invalid handle
74	Result truncated
75	Incomplete line
76	Invalid response
77	No agent running
78	agent error
79	Invalid data
80	Assuan server fault
81	Assuan error
82	Invalid session key
83	Invalid S-expression
84	Unsupported algorithm
85	No pinentry
86	pinentry error
87	Bad PIN
88	Invalid name
89	Bad data
90	Invalid parameter
91	Wrong card
92	No dirmngr
93	dirmngr error
94	Certificate revoced
95	No CRL known
96	CRL too old
97	Line too long
98	Not trusted
99 	Operation cancelled
100	Bad CA certificate
101	Certificate expired
102	Certificate too young
103	Unsupported certificate
104	Unknown S-expression
105	Unsupported protection
106	Corrupted protection
107	Ambiguous name
108	Card error
109	Card reset
110	Card removed
111	Invalid card
112	Card not present
113	No PKCS15 application
114	Not confirmed
115	Configuration error
116	No policy match
117	Invalid index
118	Invalid ID
119	No SmartCard daemon
120	SmartCard daemon error
121	Unsupported protocol
122	Bad PIN method
123	Card not initialized
124	Unsupported operation
125	Wrong key usage
126	Nothing found
127	Wrong blob type
128	Missing value
129	Hardware problem
130	PIN blocked     
131	Conditions of use not satisfied 
132	PINs are not synced
133	Invalid CRL     
134	BER error
135	Invalid BER
136	Element not found
137	Identifier not found
138	Invalid tag
139	Invalid length
140	Invalid key info
141	Unexpected tag
142	Not DER encoded
143	No CMS object
144	Invalid CMS object
145	Unknown CMS object
146	Unsupported CMS object
147	Unsupported encoding
148	Unsupported CMS version
149	Unknown algorithm
150	Invalid crypto engine
151	Public key not trusted
152	Decryption failed
153	Key expired
154	Signature expired
155	Encoding problem
156	Invalid state
157	Duplicated value
158	Missing action
159	ASN.1 module not found
160	Invalid OID string
161	Invalid time
162	Invalid CRL object
163	Unsupported CRL version
164	Invalid certificate object
165	Unknown name
199	Buffer too short
201	Invalid length specifier in S-expression
202	String too long in S-expression
203	Unmatched parentheses in S-expression
204	S-expression not canonical
205	Bad character in S-expression
206	Bad quotation in S-expression
207	Zero prefix in S-expression
208	Nested display hints in S-expression
209	Unmatched display hints
210	Unexpected reserved punctuation in S-expression
211	Bad hexadecimal character in S-expression
212	Odd hexadecimal numbers in S-expression
213	Bad octadecimal character in S-expression
1024	User defined error code 1
1025	User defined error code 2
1026	User defined error code 3
1027	User defined error code 4
1028	User defined error code 5
1029	User defined error code 6
1030	User defined error code 7
1031	User defined error code 8
1032	User defined error code 9
1033	User defined error code 10
1034	User defined error code 11
1035	User defined error code 12
1036	User defined error code 13
1037	User defined error code 14
1038	User defined error code 15
1039	User defined error code 16
16382	Unknown system error
16383	End of file
	Unknown error code