[Rpm-maint] [rpm-software-management/rpm] Justus/openpgp fixes (PR #1813)

Panu Matilainen notifications at github.com
Wed Nov 3 12:47:28 UTC 2021


@pmatilai commented on this pull request.



> @@ -503,6 +500,9 @@ static int pgpPrtSubType(const uint8_t *h, size_t hlen, pgpSigType sigtype,
 	case PGPSUBTYPE_REVOKE_REASON:
 	case PGPSUBTYPE_FEATURES:
 	case PGPSUBTYPE_EMBEDDED_SIG:
+	    pgpPrtHex("", p+1, plen-1);
+	    break;
+	case PGPSUBTYPE_NOTATION:

This was marked resolved but I'm not sure it is. 

What I'm trying to say here is that the only safe assumption wrt these tags falling straight through to default case is to consider them *not recognized*. I think with the semantics explained above, everything downwards of (and including) PGPSUBTYPE_EXPORTABLE_CERT should be flagged not recognized, not just notations.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1813#discussion_r741901432
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211103/2d8af3f5/attachment.html>


More information about the Rpm-maint mailing list