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

Panu Matilainen notifications at github.com
Tue Feb 3 11:31:57 UTC 2026


pmatilai left a comment (rpm-software-management/rpm#4100)

Manually tested with a local build of rpm-sequoia, with https://github.com/rpm-software-management/rpm-sequoia/pull/105 on top:

```
[root at lumikko tests]# ./importkey ../../tests/data/keys/rpm.org-nistp256-test.pub
error: Certificate 7F1C21F95F65BBE8:
  Policy rejects 7F1C21F95F65BBE8: Policy rejected asymmetric algorithm
../../tests/data/keys/rpm.org-nistp256-test.pub key 1: 2
[root at lumikko tests]# LD_LIBRARY_PATH=/home/pmatilai/repos/rpm-sequoia/target/release/ ./importkey ../../tests/data/keys/rpm.org-nistp256-test.pub
error: Certificate 7F1C21F95F65BBE8:
  Policy rejects 7F1C21F95F65BBE8: Policy rejected asymmetric algorithm
../../tests/data/keys/rpm.org-nistp256-test.pub key 1: 3
```

In other words - as expected.

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

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


More information about the Rpm-maint mailing list