[Rpm-maint] [rpm-software-management/rpm] Cannot import a GPG key with signatures (#1306)

KOLANICH notifications at github.com
Thu Jul 9 18:05:03 UTC 2020


Damn. I have wasted a lot of time today because of librpm almost silently jas refused to import a key.

Reproducer:

1. use #1305 to get the more detailed error message than just -1 on later stage (when the key is added)
2. 
```python
import requests
import rpm
suseKeyResp = requests.get("https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284")
suseKey = suseKeyResp.content
rpmKey = rpm.pubkey(suseKey)  # The parsing has not consumed the whole stream: pos = 7372, remaining = 5248
```

-- 
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/issues/1306
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200709/40d35c3a/attachment.html>


More information about the Rpm-maint mailing list