[Rpm-maint] [rpm-software-management/rpm] Reflect pgpPubKeyLint() error code in rpmtxnImportPubkey() return (PR #4100)

Panu Matilainen notifications at github.com
Thu Jan 29 12:56:59 UTC 2026


Add a special purpose test program for rpmtsImportPubkey() return value because the detail gets lost in rpmkeys --import.

I wasn't able to find a case where pgpPubKeyLint() returns an error now so this change of behavior is not reflected in any tests :-/
    
Fixes: #4096

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add a test for rpmtsImportPubkey() return codes
  * Reflect pgpPubKeyLint() error code in rpmtxnImportPubkey() return

-- File Changes --

    M lib/rpmts.cc (3)
    M tests/CMakeLists.txt (2)
    A tests/importkey.c (63)
    M tests/rpmapi.at (32)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4100
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/4100 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260129/81d19464/attachment.htm>


More information about the Rpm-maint mailing list