[Rpm-maint] [rpm-software-management/rpm] Validate self-signatures and require subkey bindings on PGP public keys (#1788)
Michael Schroeder
notifications at github.com
Thu Oct 7 10:03:06 UTC 2021
@mlschroe commented on this pull request.
> }
}
- if (pgpPrtPkt(&pkt, digp))
+ if (digp->tag == PGPTAG_PUBLIC_KEY && pkt->tag == PGPTAG_SIGNATURE)
+ selfsig = pgpDigParamsNew(pkt->tag);
The code assumes that the self-sig always comes first if there are multiple signatures. Does the standard say something about this?
--
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/1788#pullrequestreview-773700209
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211007/92033420/attachment-0001.html>
More information about the Rpm-maint
mailing list