[Pkg-gnupg-commit] [gnupg2] 13/42: agent: Fix description of shadow format.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 3 18:25:53 UTC 2018


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch upstream
in repository gnupg2.

commit 5c121d44443b0a96ec6ea82b90717e3dbafd2cc5
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Fri Dec 8 09:19:50 2017 +0900

    agent: Fix description of shadow format.
    
    * agent/keyformat.txt, agent/protect.c, agent/t-protect.c: Fix.
    
    --
    
    https://lists.gnupg.org/pipermail/gnupg-devel/2015-April/029680.html
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 agent/keyformat.txt | 2 +-
 agent/protect.c     | 2 +-
 agent/t-protect.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/agent/keyformat.txt b/agent/keyformat.txt
index 68fbdbc..768353f 100644
--- a/agent/keyformat.txt
+++ b/agent/keyformat.txt
@@ -271,7 +271,7 @@ to keys stored on a token:
    (comment whatever)
 )
 
-The currently used protocol is "ti-v1" (token info version 1).  The
+The currently used protocol is "t1-v1" (token info version 1).  The
 second list with the information has this layout:
 
 (card_serial_number id_string_of_key fixed_pin_length)
diff --git a/agent/protect.c b/agent/protect.c
index 9bb2da6..7b5abf2 100644
--- a/agent/protect.c
+++ b/agent/protect.c
@@ -1494,7 +1494,7 @@ make_shadow_info (const char *serialno, const char *idstring)
 
 
 /* Create a shadow key from a public key.  We use the shadow protocol
-  "ti-v1" and insert the S-expressionn SHADOW_INFO.  The resulting
+  "t1-v1" and insert the S-expressionn SHADOW_INFO.  The resulting
   S-expression is returned in an allocated buffer RESULT will point
   to. The input parameters are expected to be valid canonicalized
   S-expressions */
diff --git a/agent/t-protect.c b/agent/t-protect.c
index 92d312c..d17c193 100644
--- a/agent/t-protect.c
+++ b/agent/t-protect.c
@@ -288,7 +288,7 @@ static void
 test_agent_shadow_key (void)
 {
 /* Create a shadow key from a public key.  We use the shadow protocol
-  "ti-v1" and insert the S-expressionn SHADOW_INFO.  The resulting
+  "t1-v1" and insert the S-expressionn SHADOW_INFO.  The resulting
   S-expression is returned in an allocated buffer RESULT will point
   to. The input parameters are expected to be valid canonicalized
   S-expressions */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list