[git] GPG-ERROR - branch, master, updated. libgpg-error-1.16-9-gd275700
by Daniel Kahn Gillmor
cvs at cvs.gnupg.org
Mon Sep 29 18:20:47 CEST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".
The branch, master has been updated
via d2757001c5719ca8c8bd6aa2e2e2d9a299fb76c6 (commit)
via d66ad0ba8438a9e6d285228cb62bac9d31678d64 (commit)
via d58fa35e89feddb71feeba8e39a016cd37c4be29 (commit)
from 1d3f2ac2165a76d0283f5487ff36883720f11169 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d2757001c5719ca8c8bd6aa2e2e2d9a299fb76c6
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Mon Sep 29 11:37:55 2014 -0400
GNU calls little-endian powerpc64 powerpc64le, not powerpc64el
* src/Makefile.am (lock_obj_pub): fix powerpc64el to powerpc64le
* src/sysconfig/lock-obj-pub.powerpc64el-unknown-linux-gnu.h : move to
src/sysconfig/lock-obj-pub.powerpc64le-unknown-linux-gnu.h
--
33e5504fbb5e5e2ff44023c0a22dfb668ff8b10f created lock-obj-pub for
little-endian powerpc64, but misnamed the patch file as powerpc64el
instead of powerpc64le. Sorry for the earlier mistake, this should
correct it.
See commentary from Helmut Grohne at https://bugs.debian.org/762322#34
Debian-bug-id: 762322
diff --git a/src/Makefile.am b/src/Makefile.am
index 62579dc..65f8513 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -57,7 +57,7 @@ lock_obj_pub = \
syscfg/lock-obj-pub.mipsel-unknown-linux-gnu.h \
syscfg/lock-obj-pub.powerpc-unknown-linux-gnu.h \
syscfg/lock-obj-pub.powerpc64-unknown-linux-gnu.h \
- syscfg/lock-obj-pub.powerpc64el-unknown-linux-gnu.h \
+ syscfg/lock-obj-pub.powerpc64le-unknown-linux-gnu.h \
syscfg/lock-obj-pub.s390x-ibm-linux-gnu.h \
syscfg/lock-obj-pub.sh4-unknown-linux-gnu.h \
syscfg/lock-obj-pub.sparc-unknown-linux-gnu.h \
diff --git a/src/syscfg/lock-obj-pub.powerpc64el-unknown-linux-gnu.h b/src/syscfg/lock-obj-pub.powerpc64le-unknown-linux-gnu.h
similarity index 100%
rename from src/syscfg/lock-obj-pub.powerpc64el-unknown-linux-gnu.h
rename to src/syscfg/lock-obj-pub.powerpc64le-unknown-linux-gnu.h
commit d66ad0ba8438a9e6d285228cb62bac9d31678d64
Author: Werner Koch <wk at gnupg.org>
Date: Thu Sep 25 17:08:56 2014 +0200
Update error reference.
--
diff --git a/doc/errorref.txt b/doc/errorref.txt
index f4ff673..666dca6 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -1,4 +1,6 @@
-grep -n -e ERR_CONFLICT ~/w/{gnupg,libksba,libgcrypt,gpgme,gpa}/*/*.[ch]
+# find ~/s/{gnupg,libgpg-error,libksba,libgcrypt,gpgme,gpa} -type f \
+# -name '*.[ch]' -print0 | xargs -0 grep -n GPG_ERR_
+
GPG_ERR_UNKNOWN_PACKET Unknown packet
@@ -83,7 +85,7 @@ GPG_ERR_NO_PUBKEY No public key
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
+ certificates somewhere in the chain while validaiting a
certificate chain.
- The requested encryption certificate was not found.
- A certificate specified in a CMS message is not
@@ -99,13 +101,21 @@ GPG_ERR_CHECKSUM Checksum error
GCRYPT: - Decryption in AESWRAP mode does not match the expected IV.
[more to come]
-11 GPG_ERR_BAD_PASSPHRASE Bad passphrase
+GPG_ERR_BAD_PASSPHRASE Bad passphrase
+
+ GNUPG: - The entered passphrase does not verify
+
+
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
+
+GPG_ERR_NO_SECKEY No secret key
+
+ NTBTLS: - No private key or pre-shared key available.
+
18 GPG_ERR_WRONG_SECKEY Wrong secret key used
GPG_ERR_BAD_KEY Bad session key
@@ -146,14 +156,19 @@ 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
+
+GPG_ERR_INV_PASSPHRASE Invalid passphrase
+
+ GNUPG: - Required constraints of the passphrase are not met.
+
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_BAD_CERT Bad certificate
+
GPG_ERR_INV_USER_ID Invalid user ID
@@ -169,8 +184,10 @@ GPG_ERR_INV_USER_ID Invalid user ID
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.
+ algorithm is used where a non-DSA algorithm is expected
+ or vice versa. May indicate an internal error.
+ NTBTLS: - Public key type mismatch. The peer presented a
+ different key type than requested.
42 GPG_ERR_TRIBUTE_TO_D_A Tribute to D. A.
@@ -207,6 +224,9 @@ GPG_ERR_INV_ARG Invalid argument
GPG_ERR_MISSING_CERT Missing certificate
+ NTBTLS: - The server needs to send a certifciate but none has been
+ set. See also GPG_ERR_MISSING_ISSUER_CERT and
+ GPG_ERR_MISSING_CLIENT_CERT.
@@ -230,7 +250,10 @@ GPG_ERR_MISSING_CERT Missing certificate
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
+
+GPG_ERR_NOT_IMPLEMENTED Not implemented
+
+ NTBTLS: - The requested feature is not implemented.
GPG_ERR_CONFLICT Conflicting use
@@ -320,6 +343,7 @@ GPG_ERR_UNSUPPORTED_PROTOCOL Unsupported protocol
GPG_AGENT: - Invalid shadow_info protocol (not "t1-v1")
LIBKSBA: - Unknown OID of the OCSP response bytes
GPGME: - GPGME_PROTOCOL_xxx not supported.
+ NTBTLS: - Handshake protocol version not supported.
122 GPG_ERR_BAD_PIN_METHOD Bad PIN method
@@ -446,7 +470,14 @@ GPG_ERR_INV_CERT_OBJ Invalid certificate object
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
+
+
+GPG_ERR_INV_MAC Invalid MAC
+
+ The length, algo, or other properties of a MAC are not met.
+ See also GPG_ERR_BAD_MAC.
+
+
170 GPG_ERR_INV_REQUEST Invalid request
171 GPG_ERR_UNKNOWN_EXTN Unknown extension
172 GPG_ERR_UNKNOWN_CRIT_EXTN Unknown critical extension
@@ -555,6 +586,120 @@ GPG_ERR_MAC_ALGO
199 GPG_ERR_UNFINISHED Operation not yet finished
200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short
+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
+
+
+
+GPG_ERR_NO_CERT_CHAIN No certificate chain
+
+ NTBTLS: - A CA chain has not been set but is required.
+
+GPG_ERR_CERT_TOO_LARGE Certificate is too large
+
+ NTBTLS: - A certificate is too large to be used by the protocol.
+
+GPG_ERR_INV_RECORD Invalid record
+
+ NTBTLS: - An invalid record was received
+
+GPG_ERR_BAD_MAC The MAC does not verify
+
+ NTBTLS: - MAC verification of the message failed.
+
+GPG_ERR_UNEXPECTED_MSG Unexpected message
+
+ NTBTLS: - Unexpected message received.
+
+GPG_ERR_COMPR_FAILED Compression or decompression failed
+
+ NTBTLS: - As the description says.
+
+GPG_ERR_WOULD_WRAP A counter would wrap
+
+ NTBTLS: - Too many messages exchanged
+
+GPG_ERR_FATAL_ALERT Fatal alert message received
+
+ NTBTLS: - Fatal alert message received from the peer.
+
+GPG_ERR_NO_CIPHER No cipher algorithm
+
+ NTBTLS: - Server and client have no algo in common
+
+GPG_ERR_MISSING_CLIENT_CERT Missing client certificate
+
+ NTBTLS: - No certificate received from client.
+
+GPG_ERR_CLOSE_NOTIFY Close notification received
+
+ NTBTLS: - Alert with a close notification received
+
+GPG_ERR_TICKET_EXPIRED Ticket expired
+
+ NTBTLS: - Session ticket has expired.
+
+GPG_ERR_BAD_TICKET Bad ticket
+
+ NTBTLS: - Bad new session ticket message.
+
+GPG_ERR_UNKNOWN_IDENTITY Unknown identity
+
+ NTBTLS: - Unknown PSK identify received
+
+GPG_ERR_BAD_HS_CERT Bad certificate message in handshake
+
+ NTBTLS: - As the description says.
+
+GPG_ERR_BAD_HS_CERT_REQ Bad certificate request message in handshake
+
+ NTBTLS: - As the description says.
+
+GPG_ERR_BAD_HS_CERT_VER Bad certificate verify message in handshake
+
+ NTBTLS: - As the description says.
+
+GPG_ERR_BAD_HS_CHANGE_CIPHER Bad change cipher messsage in handshake
+
+ NTBTLS: - As the description says.
+
+GPG_ERR_BAD_HS_CLIENT_HELLO Bad client hello message in handshake
+
+ NTBTLS: - As the description says.
+
+GPG_ERR_BAD_HS_SERVER_HELLO Bad server hello message in handshake
+
+ NTBTLS: - As the description says.
+
+GPG_ERR_BAD_HS_SERVER_HELLO_DONE Bad server hello done message in handshake
+
+ NTBTLS: - As the description says.
+
+GPG_ERR_BAD_HS_FINISHED Bad finished message in handshake
+
+ NTBTLS: - As the description says.
+
+GPG_ERR_BAD_HS_SERVER_KEX Bad server key exchange message in handshake
+
+ NTBTLS: - As the description says.
+
+GPG_ERR_BAD_HS_CLIENT_KEX Bad client key exchange message in handshake
+
+ NTBTLS: - As the description says.
+
+
+
GPG_ERR_KEY_DISABLED Key disabled
@@ -565,7 +710,7 @@ GPG_ERR_KEY_ON_CARD Not possible with a card based key
GNUPG: - The gpg-agent returns this if a DELETE_KEY commands is
used for a smartcard based key.
-254 GPG_ERR_INV_LOCK_OBJ Invalid lock object
+GPG_ERR_INV_LOCK_OBJ Invalid lock object
GPGRT: - The provided lock object is not valid. This indicates an
internal problem in libgpg-error or more likely a
commit d58fa35e89feddb71feeba8e39a016cd37c4be29
Author: Werner Koch <wk at gnupg.org>
Date: Mon Sep 29 17:34:28 2014 +0200
Add error codes for use by a TLS library.
diff --git a/NEWS b/NEWS
index e3c2097..2e49b0c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,13 +1,37 @@
Noteworthy changes in version 1.17 (unreleased) [C12/A12/R_]
-----------------------------------------------
- * New error source code for TLS protocol libraries.
+ * New error codes for TLS protocol libraries.
* New configure option --enable-build-timestamp.
* Interface changes relative to the 1.16 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- GPG_ERR_SOURCE_TLS NEW.
+ GPG_ERR_SOURCE_TLS NEW.
+ GPG_ERR_NO_CERT_CHAIN NEW.
+ GPG_ERR_CERT_TOO_LARGE NEW.
+ GPG_ERR_INV_RECORD NEW.
+ GPG_ERR_BAD_MAC NEW.
+ GPG_ERR_UNEXPECTED_MSG NEW.
+ GPG_ERR_COMPR_FAILED NEW.
+ GPG_ERR_WOULD_WRAP NEW.
+ GPG_ERR_FATAL_ALERT NEW.
+ GPG_ERR_NO_CIPHER NEW.
+ GPG_ERR_MISSING_CLIENT_CERT NEW.
+ GPG_ERR_CLOSE_NOTIFY NEW.
+ GPG_ERR_TICKET_EXPIRED NEW.
+ GPG_ERR_BAD_TICKET NEW.
+ GPG_ERR_UNKNOWN_IDENTITY NEW.
+ GPG_ERR_BAD_HS_CERT NEW.
+ GPG_ERR_BAD_HS_CERT_REQ NEW.
+ GPG_ERR_BAD_HS_CERT_VER NEW.
+ GPG_ERR_BAD_HS_CHANGE_CIPHER NEW.
+ GPG_ERR_BAD_HS_CLIENT_HELLO NEW.
+ GPG_ERR_BAD_HS_SERVER_HELLO NEW.
+ GPG_ERR_BAD_HS_SERVER_HELLO_DONE NEW.
+ GPG_ERR_BAD_HS_FINISHED NEW.
+ GPG_ERR_BAD_HS_SERVER_KEX NEW.
+ GPG_ERR_BAD_HS_CLIENT_KEX NEW.
Noteworthy changes in version 1.16 (2014-09-18) [C12/A12/R2]
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 3459a56..9274530 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -247,7 +247,34 @@
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 251 are free to be used.
+# 214 to 225 are free to be used.
+
+226 GPG_ERR_NO_CERT_CHAIN No certificate chain
+227 GPG_ERR_CERT_TOO_LARGE Certificate is too large
+228 GPG_ERR_INV_RECORD Invalid record
+229 GPG_ERR_BAD_MAC The MAC does not verify
+230 GPG_ERR_UNEXPECTED_MSG Unexpected message
+231 GPG_ERR_COMPR_FAILED Compression or decompression failed
+232 GPG_ERR_WOULD_WRAP A counter would wrap
+233 GPG_ERR_FATAL_ALERT Fatal alert message received
+234 GPG_ERR_NO_CIPHER No cipher algorithm
+235 GPG_ERR_MISSING_CLIENT_CERT Missing client certificate
+236 GPG_ERR_CLOSE_NOTIFY Close notification received
+237 GPG_ERR_TICKET_EXPIRED Ticket expired
+238 GPG_ERR_BAD_TICKET Bad ticket
+239 GPG_ERR_UNKNOWN_IDENTITY Unknown identity
+240 GPG_ERR_BAD_HS_CERT Bad certificate message in handshake
+241 GPG_ERR_BAD_HS_CERT_REQ Bad certificate request message in handshake
+242 GPG_ERR_BAD_HS_CERT_VER Bad certificate verify message in handshake
+243 GPG_ERR_BAD_HS_CHANGE_CIPHER Bad change cipher messsage in handshake
+244 GPG_ERR_BAD_HS_CLIENT_HELLO Bad client hello message in handshake
+245 GPG_ERR_BAD_HS_SERVER_HELLO Bad server hello message in handshake
+246 GPG_ERR_BAD_HS_SERVER_HELLO_DONE Bad server hello done message in hanshake
+247 GPG_ERR_BAD_HS_FINISHED Bad finished message in handshake
+248 GPG_ERR_BAD_HS_SERVER_KEX Bad server key exchange message in handshake
+249 GPG_ERR_BAD_HS_CLIENT_KEX Bad client key exchange message in handshake
+
+# 250 and 251 are free to be used.
252 GPG_ERR_KEY_DISABLED Key disabled
253 GPG_ERR_KEY_ON_CARD Not possible with a card based key
diff --git a/src/err-sources.h.in b/src/err-sources.h.in
index 9a06c8f..13ca454 100644
--- a/src/err-sources.h.in
+++ b/src/err-sources.h.in
@@ -46,7 +46,7 @@
14 GPG_ERR_SOURCE_G13 G13
15 GPG_ERR_SOURCE_ASSUAN Assuan
-17 GPG_ERR_SOURCE_TLS TLS
+17 GPG_ERR_SOURCE_TLS TLS
# 15 to 30 are free to be used.
-----------------------------------------------------------------------
Summary of changes:
NEWS | 28 +++-
doc/errorref.txt | 167 ++++++++++++++++++--
src/Makefile.am | 2 +-
src/err-codes.h.in | 29 +++-
src/err-sources.h.in | 2 +-
...> lock-obj-pub.powerpc64le-unknown-linux-gnu.h} | 0
6 files changed, 212 insertions(+), 16 deletions(-)
rename src/syscfg/{lock-obj-pub.powerpc64el-unknown-linux-gnu.h => lock-obj-pub.powerpc64le-unknown-linux-gnu.h} (100%)
hooks/post-receive
--
Error codes used by GnuPG et al.
http://git.gnupg.org
More information about the Gnupg-commits
mailing list