From 340323f8e789c0acdabd1806c698643ee15c30d9 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Mon, 8 Apr 2024 10:02:29 +0200 Subject: [PATCH] Add the "issuer fingerprint" subpacket type This subpacket is an alternative to the "issuer keyid" subpacket. It contains the pubkey version plus the complete fingerprint. --- include/rpm/rpmpgp.h | 1 + rpmio/rpmpgpval.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/rpm/rpmpgp.h b/include/rpm/rpmpgp.h index a4ef7d4e83..62fb32674d 100644 --- a/include/rpm/rpmpgp.h +++ b/include/rpm/rpmpgp.h @@ -192,6 +192,7 @@ typedef enum pgpSubType_e { PGPSUBTYPE_REVOKE_REASON = 29, /*!< reason for revocation */ PGPSUBTYPE_FEATURES = 30, /*!< feature flags (gpg) */ PGPSUBTYPE_EMBEDDED_SIG = 32, /*!< embedded signature (gpg) */ + PGPSUBTYPE_ISSUER_FINGERPRINT= 33, /*!< issuer fingerprint */ PGPSUBTYPE_INTERNAL_100 = 100, /*!< internal or user-defined */ PGPSUBTYPE_INTERNAL_101 = 101, /*!< internal or user-defined */ diff --git a/rpmio/rpmpgpval.h b/rpmio/rpmpgpval.h index 0bc07606d6..31ae95a252 100644 --- a/rpmio/rpmpgpval.h +++ b/rpmio/rpmpgpval.h @@ -106,6 +106,7 @@ static struct pgpValTbl_s const pgpSubTypeTbl[] = { { PGPSUBTYPE_REVOKE_REASON, "reason for revocation" }, { PGPSUBTYPE_FEATURES, "features" }, { PGPSUBTYPE_EMBEDDED_SIG, "embedded signature" }, + { PGPSUBTYPE_ISSUER_FINGERPRINT,"issuer fingerprint" }, { PGPSUBTYPE_INTERNAL_100, "internal subpkt type 100" }, { PGPSUBTYPE_INTERNAL_101, "internal subpkt type 101" },