[git] GPG-ERROR - branch, master, updated. libgpg-error-1.17-17-g524d5bd
by Werner Koch
cvs at cvs.gnupg.org
Thu Jan 22 11:09:23 CET 2015
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 524d5bdee2954337e748428469972957663d497d (commit)
from 46aaffbe852e334fd1a72affc4a918ceb7dc457b (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 524d5bdee2954337e748428469972957663d497d
Author: Werner Koch <wk at gnupg.org>
Date: Thu Jan 22 11:09:02 2015 +0100
Add GPG_ERR_LEGACY_KEY.
diff --git a/NEWS b/NEWS
index 65083f5..e5733e4 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ Noteworthy changes in version 1.18 (unreleased) [C13/A13/R_]
GPG_ERR_OBJ_TERM_STATE NEW.
GPG_ERR_REQUEST_TOO_SHORT NEW.
GPG_ERR_REQUEST_TOO_LONG NEW.
+ GPG_ERR_LEGACY_KEY NEW.
Noteworthy changes in version 1.17 (2014-10-15) [C13/A13/R0]
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 0657f53..2e4a6bd 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -2,15 +2,14 @@
# -name '*.[ch]' -print0 | xargs -0 grep -n GPG_ERR_
-GPG_ERR_UNKNOWN_PACKET Unknown packet
+GPG_ERR_UNKNOWN_PACKET (1) Unknown packet
GNUPG: - Redefined to G10ERR_UNKNOWN_PACKET in gpg.
-GPG_ERR_UNKNOWN_VERSION Unknown version in packet
+GPG_ERR_UNKNOWN_VERSION (2) 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.
+ Used by GnuPG 2.1 to identify valid OpenPGP packets with an
+ unknown version.
GPG_ERR_PUBKEY_ALGO Invalid public key algorithm
@@ -610,6 +609,10 @@ GPG_ERR_MAC_ALGO
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_LEGACY_KEY (222) Legacy key
+
+ Used by GnuPG to identify version 2 and 3 OpenPGP key packets.
+
GPG_ERR_REQUEST_TOO_SHORT Request too short
A received request is too short to continue processing.
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 866380d..9e1924d 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -247,8 +247,9 @@
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 222 are free to be used.
+# 214 to 221 are free to be used.
+222 GPG_ERR_LEGACY_KEY Legacy key
223 GPG_ERR_REQUEST_TOO_SHORT Request too short
224 GPG_ERR_REQUEST_TOO_LONG Request too long
225 GPG_ERR_OBJ_TERM_STATE Object is in termination state
-----------------------------------------------------------------------
Summary of changes:
NEWS | 1 +
doc/errorref.txt | 13 ++++++++-----
src/err-codes.h.in | 3 ++-
3 files changed, 11 insertions(+), 6 deletions(-)
hooks/post-receive
--
Error codes used by GnuPG et al.
http://git.gnupg.org
More information about the Gnupg-commits
mailing list