[Rpm-maint] [rpm-software-management/rpm] Improve error handling in Python pubkey constructor (#1447)

Panu Matilainen notifications at github.com
Mon Nov 23 13:07:10 UTC 2020


pkgParsePkts() only parses the PGP armor, the actual pubkey is only
parsed as a part of rpmPubkeyNew() whose return we need to check for
separately. Emit different messages in these cases.

Thanks to @KOLANICH for pointing this out and initial patch.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1447

-- Commit Summary --

  * Improve error handling in Python pubkey constructor

-- File Changes --

    M python/rpmkeyring-py.c (6)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1447.patch
https://github.com/rpm-software-management/rpm/pull/1447.diff

-- 
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/1447
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201123/0855f932/attachment.html>


More information about the Rpm-maint mailing list