[Rpm-maint] [rpm-software-management/rpm] verifySignature(): package signatures must be PGPSIGTYPE_BINARY (PR #1801)
Panu Matilainen
notifications at github.com
Thu Oct 21 07:57:39 UTC 2021
@pmatilai commented on this pull request.
> @@ -566,7 +566,9 @@ static rpmRC verifyDigest(struct rpmsinfo_s *sinfo)
static rpmRC
verifySignature(rpmKeyring keyring, struct rpmsinfo_s *sinfo)
{
- rpmRC res = rpmKeyringVerifySig(keyring, sinfo->sig, sinfo->ctx);
+ rpmRC res = RPMRC_FAIL;
+ if (sinfo->sig && pgpSignatureType(sinfo->sig) == PGPSIGTYPE_BINARY)
See below, handle NULL inside pgpSignatureType() instead which makes it nicer for the user.
--
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/1801#pullrequestreview-785335226
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211021/f120b4d1/attachment-0001.html>
More information about the Rpm-maint
mailing list