[git] GPG-ERROR - branch, master, updated. gpgrt-1.35-4-g0318ce6

by Werner Koch cvs at cvs.gnupg.org
Mon Feb 11 09:06:18 CET 2019


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  0318ce6fbc756c4d3a9201472c7dcbedd91bf885 (commit)
      from  21dd885eecdee13da1689519e2fc50fcf64f6ef2 (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 0318ce6fbc756c4d3a9201472c7dcbedd91bf885
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Feb 11 08:44:50 2019 +0100

    New error codes NO_AUTH and BAD_AUTH
    
    --
    
    In particular for PIV cards ithe use of BAD_PIN sounds worong, thus
    we now use dedicated codes.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/NEWS b/NEWS
index f86b2a1..f7c043e 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,12 @@ Noteworthy changes in version 1.36 (unreleased) [C26/A26/R_]
 -----------------------------------------------
 
 
+ * Interface changes relative to the 1.34 release:
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ GPG_ERR_NO_AUTH                  NEW.
+ GPG_ERR_BAD_AUTH                 NEW.
+
+
 Noteworthy changes in version 1.35 (2019-01-28) [C26/A26/R1]
 -----------------------------------------------
 
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 21d79ad..e62fe15 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -1058,6 +1058,15 @@ GPG_ERR_WRONG_NAME              Wrong name
 
     NTBTLS: - Hostname does not match the certificate
 
+GPG_ERR_NO_AUTH                 Not authenticated
+
+    GnuPG: - A smartcard requires authentication
+
+GPG_ERR_BAD_AUTH                Bad authentication
+
+    GnuPG: - A smartcard could not be authenticated.  For example
+             a wrong authentication key was used with a PIV card.
+
 GPG_ERR_SYSTEM_BUG              System bug detected
 
    The underlying operating system misbehaved.  For example it wrote
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 2667d71..33e79da 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -333,6 +333,8 @@
 311	GPG_ERR_ALREADY_FETCHED		Already fetched
 312	GPG_ERR_TRY_LATER		Try again later
 313	GPG_ERR_WRONG_NAME		Wrong name
+314	GPG_ERR_NO_AUTH			Not authenticated
+315	GPG_ERR_BAD_AUTH		Bad authentication
 # This range is free for use.
 
 666	GPG_ERR_SYSTEM_BUG		System bug detected

-----------------------------------------------------------------------

Summary of changes:
 NEWS               | 6 ++++++
 doc/errorref.txt   | 9 +++++++++
 src/err-codes.h.in | 2 ++
 3 files changed, 17 insertions(+)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list