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
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint