|
Bugzilla – Full Text Bug Listing |
| Summary: | rmt-cli mirror custom tumbleweed repo fails with gpg no public key error | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Graham McAlister <hostlogic> |
| Component: | Basesystem | Assignee: | Dominique Leuenberger <dimstar> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | adrian.schroeter, cameron.cumberland, fschnizlein, lubos.kocman, msabate, msvec, natnael.getahun |
| Version: | Current | ||
| Target Milestone: | Current | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Graham McAlister
2024-01-27 16:04:38 UTC
Hi Graham, we got the bug report and looking into the topic. Since we currently in middle of revamping the mirror implementation, I add tumbleweed update as test to our list, to make sure it is working correctly. We ping you here, when this is done! cheers, Felix Hi Graham,
The issue seems to be with the gpg key of the repository. One can reproduce the issue outside of rmt as follows
> mkdir /tmp/test_tw_gpg
> export tmpdir=/tmp/test_tw_gpg
> cd $tmpdir && wget https://download.opensuse.org/update/tumbleweed/repodata/repomd.{xml,xml.asc,xml.key}
> ls /tmp/test_tw_gpg
> gpg --homedir $tmpdir --no-default-keyring --keyring $tmpdir/keyring --import $tmpdir/repomd.xml.key 2>&1
> gpg --homedir $tmpdir --no-default-keyring --keyring $tmpdir/keyring --verify $tmpdir/repomd.xml.asc $tmpdir/repomd.xml 2>&1
Please reach out to the repository publishers about this issue.
Hi Graham, We are still waiting for a reply from your side. If you don't mind, we will close this bug report because for now it looks like it's not a bug from our side. If that's not the case, feel free to re-open this and add a comment with further instructions on how to reproduce this issue. Thanks! Reopenning. Dominique is aware, but seems like this will have to be fixed by Adrian Schroeter. >3908048b3b68231b68572c90fe0d49d4d278901468a8f3580ee0861695e1a98b download.opensuse.org-non-oss/repodata/repomd.xml.key
>3908048b3b68231b68572c90fe0d49d4d278901468a8f3580ee0861695e1a98b download.opensuse.org-oss/repodata/repomd.xml.key
>d9bcde281be1c8d0e1f8e1b62e01d989fb820cc3de9f0b0a9dc1a83a8d8e6c4d download.opensuse.org-tumbleweed/repodata/repomd.xml.key
>3908048b3b68231b68572c90fe0d49d4d278901468a8f3580ee0861695e1a98b openh264/repodata/repomd.xml.key
>3908048b3b68231b68572c90fe0d49d4d278901468a8f3580ee0861695e1a98b repo-debug/repodata/repomd.xml.key
>3908048b3b68231b68572c90fe0d49d4d278901468a8f3580ee0861695e1a98b repo-source/repodata/repomd.xml.key
From the default repos, the openSUSE:Factory:Update (download.opensuse.org-tumbleweed, name is a bit misleading) is the only one I found with the wrong key (but repomd is signed with the correct one afaict)
@AdrianL: I think the signing is properly redirected here, but the publishing is apparently not going via the hook => fixed > gpg --homedir $tmpdir --no-default-keyring --keyring $tmpdir/keyring --import $tmpdir/repomd.xml.key 2>&1 gpg: WARNING: unsafe permissions on homedir '/tmp/test_tw_gpg' gpg: keybox '/tmp/test_tw_gpg/keyring' created gpg: /tmp/test_tw_gpg/trustdb.gpg: trustdb created gpg: key 35A2F86E29B700A4: public key "openSUSE Project Signing Key <opensuse@opensuse.org>" imported gpg: Total number processed: 1 gpg: imported: 1 > gpg --homedir $tmpdir --no-default-keyring --keyring $tmpdir/keyring --verify $tmpdir/repomd.xml.asc $tmpdir/repomd.xml 2>&1 gpg: WARNING: unsafe permissions on homedir '/tmp/test_tw_gpg' gpg: Signature made Mi 10 Apr 2024 15:28:04 CEST gpg: using RSA key 35A2F86E29B700A4 gpg: Good signature from "openSUSE Project Signing Key <opensuse@opensuse.org>" [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: AD48 5664 E901 B867 051A B15F 35A2 F86E 29B7 00A4 |