**Describe the bug**
A clear and concise description of what the bug is.

Importing a key with User-ID removed (like those of 
[keys.openpgp.org](https://keys.openpgp.org/)) causes RPM to segfault

**To Reproduce**
Steps to reproduce the behavior:
1. Start condition e.g. installed packages
2. Command (line) executed
3. Error encountered

1: Download a Armored and User-ID stripped key from keys.openpgp.org (like the 
one for 
[Tailscale](https://keys.openpgp.org/vks/v1/by-fingerprint/2596A99EAAB33821893C0A79458CA832957F5868))
2: Try to import it

**Expected behavior**
A clear and concise description of what you expected to happen.

Import the key normally

**Output**
If applicable, add copy of the output on the command line or a screenshots to 
help explain your problem.

> [1]    23347 segmentation fault  sudo rpm --import ./tailscale_ko.asc

Strace output https://paste.opensuse.org/pastes/07914597fa8b

**Environment**
 - OS / Distribution: [e.g. Fedora 42]
 - Version [e.g. rpm-4.19.0]
openSUSE Tumbleweed 20240325
4.19.1.1

**Additional context**
Add any other context about the problem here.


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

Message ID: <rpm-software-management/rpm/issues/3...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to