From ac49dbd591a1521a008581c896ed133c87e1ff56 Mon Sep 17 00:00:00 2001 From: Spiegel Date: Fri, 15 May 2026 15:28:41 +0900 Subject: [PATCH] Fix one-pass signature field label in tag04 output --- parse/tags/tag04.go | 4 ++-- parse/tags/tag04_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/parse/tags/tag04.go b/parse/tags/tag04.go index 6ca8788..c48eaf7 100644 --- a/parse/tags/tag04.go +++ b/parse/tags/tag04.go @@ -81,7 +81,7 @@ func (t *tag04) parseV3(rootInfo *result.Item) (*result.Item, error) { f = "another one pass signature" } rootInfo.Add(result.NewItem( - result.Name("Encrypted session key"), + result.Name("One-pass signature chain"), result.Value(f), result.Note(fmt.Sprintf("flag %#02x", flag)), )) @@ -135,7 +135,7 @@ func (t *tag04) parseV5(rootInfo *result.Item) (*result.Item, error) { f = "another one pass signature" } rootInfo.Add(result.NewItem( - result.Name("Encrypted session key"), + result.Name("One-pass signature chain"), result.Value(f), result.Note(fmt.Sprintf("flag %#02x", flag)), )) diff --git a/parse/tags/tag04_test.go b/parse/tags/tag04_test.go index 0ceb6e2..ab1bd4a 100644 --- a/parse/tags/tag04_test.go +++ b/parse/tags/tag04_test.go @@ -25,7 +25,7 @@ const ( Public-key Algorithm: DSA (Digital Signature Algorithm) (pub 17) 11 Key ID: 0xb4da3bae7e20b81c - Encrypted session key: other than one pass signature (flag 0x01) + One-pass signature chain: other than one pass signature (flag 0x01) ` )