| Summary: | urpmi cannot handle subkeys of a signing key? | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Martin Spiegel <mnspiegel> |
| Component: | Release (media or process) | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | anaselli, davidwhodgins, surfzoid, sysadmin-bugs |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | urpmi-8.131-1.mga9.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Martin Spiegel
2023-08-16 12:01:12 CEST
Also discussed at https://bugs.chromium.org/p/chromium/issues/detail?id=1456806 Workaround is to skip signature verification during the package install ... rpm -i --nosignature google-chrome-stable_current_x86_64.rpm Source RPM:
(none) =>
urpmi-8.131-1.mga9.src.rpm (In reply to Dave Hodgins from comment #1) > Also discussed at > https://bugs.chromium.org/p/chromium/issues/detail?id=1456806 > > Workaround is to skip signature verification during the package install ... > > rpm -i --nosignature google-chrome-stable_current_x86_64.rpm No, most user, use graphical not terminal.
Angelo Naselli
2023-12-21 19:53:48 CET
CC:
(none) =>
anaselli According to:
gpg2 --keyid-format=long --list-options show-unusable-subkeys --list-keys d38b4796
pub rsa4096/7721F63BD38B4796 2016-04-12 [SC]
EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796
uid [ sconosciuto] Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>
sub rsa4096/1397BC53640DB551 2016-04-12 [S] [scaduto: 2019-04-12]
sub rsa4096/6494C6D6997C215E 2017-01-24 [S] [scaduto: 2020-01-24]
sub rsa4096/78BD65473CB3BD13 2019-07-22 [S] [scaduto: 2022-07-21]
sub rsa4096/4EB27DB2A3B88B8B 2021-10-26 [S] [scadenza: 2024-10-25]
sub rsa4096/E88979FB9B30ACF2 2023-02-15 [S] [scadenza: 2026-02-14]
if you add to /etc/urpmi/urpmi.cfg subkeys a3b88b8b and 9b30acf2 should work at least until they expire or google revoke them.
At the moment i have a patch that we are testing that uses rpmkeys as dnf does.
An alternative way could be extracting those keys in the repository key management and add them to urpmi.cfg.
(In reply to Angelo Naselli from comment #4) > According to: > gpg2 --keyid-format=long --list-options show-unusable-subkeys --list-keys > d38b4796 > pub rsa4096/7721F63BD38B4796 2016-04-12 [SC] > EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796 > uid [ sconosciuto] Google Inc. (Linux Packages Signing > Authority) <linux-packages-keymaster@google.com> > sub rsa4096/1397BC53640DB551 2016-04-12 [S] [scaduto: 2019-04-12] > sub rsa4096/6494C6D6997C215E 2017-01-24 [S] [scaduto: 2020-01-24] > sub rsa4096/78BD65473CB3BD13 2019-07-22 [S] [scaduto: 2022-07-21] > sub rsa4096/4EB27DB2A3B88B8B 2021-10-26 [S] [scadenza: 2024-10-25] > sub rsa4096/E88979FB9B30ACF2 2023-02-15 [S] [scadenza: 2026-02-14] > > if you add to /etc/urpmi/urpmi.cfg subkeys a3b88b8b and 9b30acf2 should work > at least until they expire or google revoke them. > > At the moment i have a patch that we are testing that uses rpmkeys as dnf > does. > > An alternative way could be extracting those keys in the repository key > management and add them to urpmi.cfg. Do you mean: Google\ Miroir\ 64bit http://dl.google.com/linux/rpm/stable/x86_64 { key-ids: d38b4796 subkeys: a3b88b8b I don't think subkyes is managed, I meant something like this: google-chrome http://dl.google.com/linux/chrome/rpm/stable/x86_64 { key-ids: 7fac5991,d38b4796,a3b88b8b,9b30acf2 update } (In reply to Angelo Naselli from comment #6) > I don't think subkyes is managed, I meant something like this: > > google-chrome http://dl.google.com/linux/chrome/rpm/stable/x86_64 { > key-ids: 7fac5991,d38b4796,a3b88b8b,9b30acf2 > update > } Yes, as slightly different entry in urpmi.cfg works for me: Google\ Chrome http://dl.google.com/linux/chrome/rpm/stable/x86_64 { key-ids: 7fac5991,d38b4796,a3b88b8b,9b30acf2 update } No more complaints about bad package signatures when updating Google Chrome :-) Thank you for the workaround. Funnily if I check now the installed keys for the installation medium "Google Chrome" in mcc->configure media->manage keys I see a (wrong) warning for the subkeys I've added in urpmi.cfg that they do not exist in the rpm keyring... |