New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 750481 link

Starred by 8 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Repository 'google-chrome' is signed with an unknown key - since a few days

Reported by stu...@anchev.net, Jul 30 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36

Steps to reproduce the problem:
1. Follow the instructions given here:

https://www.google.com/linuxrepositories/

2. Run 'zypper up'

What is the expected behavior?
Correct refresh of repository without error/warning messages.

What went wrong?
Retrieving repository 'google-chrome' metadata ----------------------------------------------------------------------------------------------------------[\]
File 'repomd.xml' from repository 'google-chrome' is signed with an unknown key '<hidden>'. Continue? [yes/no] (no): n
Retrieving repository 'google-chrome' metadata ......................................................................................................[error]
Repository 'google-chrome' is invalid.
[google-chrome|http://dl.google.com/linux/chrome/rpm/stable/x86_64] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'google-chrome' because of the above error.
Retrieving repository 'google-chrome-beta' metadata -----------------------------------------------------------------------------------------------------[|]
File 'repomd.xml' from repository 'google-chrome-beta' is signed with an unknown key '<hidden>'. Continue? [yes/no] (no): n
Retrieving repository 'google-chrome-beta' metadata .................................................................................................[error]
Repository 'google-chrome-beta' is invalid.
[google-chrome-beta|http://dl.google.com/linux/chrome/rpm/stable/x86_64] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'google-chrome-beta' because of the above error.
Retrieving repository 'google-chrome-unstable' metadata -------------------------------------------------------------------------------------------------[/]
File 'repomd.xml' from repository 'google-chrome-unstable' is signed with an unknown key '<hidden>'. Continue? [yes/no] (no): n
Retrieving repository 'google-chrome-unstable' metadata .............................................................................................[error]
Repository 'google-chrome-unstable' is invalid.
[google-chrome-unstable|http://dl.google.com/linux/chrome/rpm/stable/x86_64] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'google-chrome-unstable' because of the above error.
Some of the repositories have not been refreshed because of an error.

Did this work before? Yes 59.something

Chrome version: 60.0.3112.78  Channel: stable
OS Version: openSUSE Leap 42.2
Flash Version: Shockwave Flash 26.0 r0

Please find more details about users reporting the problem in this thread:

https://forums.opensuse.org/showthread.php/526158-sudden-google-chrome-is-signed-with-an-unknown-key-problem?p=2831912
 
Labels: Needs-Triage-M60 Needs-Bisect
Cc: thomasanderson@chromium.org timbrown@chromium.org
Status: Untriaged (was: Unconfirmed)
I am seeing this on my openSUSE Leap 42.2 installation at home, except rather than "unknown key '<hidden>'", I have "unknown key '1397BC53640DB551'".

@Tom: Do you know why this would be? Have we changed the signing key recently?
Cc: thestig@chromium.org mmoss@chromium.org
Labels: -Pri-2 Pri-1
Status: Available (was: Untriaged)
+mmoss +thestig
do we need to merge this to m60? https://chromium-review.googlesource.com/c/588049/

Merging that will only affect new installations, correct? Not people who already have chrome installed and are trying to do a 'zypper up'.

By the way, re-importing the signing key (after doing a 'rpm -e') doesn't fix this issue. I don't have a current workaround.
Cc: gov...@chromium.org
Looks like repomd.xml is signed with our 2016 signing key.

govind@ do you have the powers to update repomd.xml.asc?  I see you updated it last in cl 130552392

Comment 6 by djcor...@gmail.com, Jul 31 2017

Is this caused by use of a subkey for signing? OpenSUSE currently have a zypper bug open for that:
https://bugzilla.opensuse.org/show_bug.cgi?id=1008325

Comment 7 by gov...@chromium.org, Jul 31 2017

Cc: manoranj...@chromium.org dimu@chromium.org bustamante@chromium.org
Labels: M-60
Re #5: https://critique.corp.google.com/#review/130552392 was automatically created cl when we used to do Linux release using release script. 

mmoss@ or dimu@ probably can  here. 

+ manoranjanr@ & bustamante@ M60 Test and Release owners
This problem persists both for 59 stable and - when manually downloaded and installed - 60 stable.

Comment 9 by mmoss@chromium.org, Jul 31 2017

Cc: sburford@google.com phajdan.jr@chromium.org
Yes, this is because of the "subkey bug" mentioned in #6. We don't really want to go back to the ancient (weaker) signing key, and this should really be fixed in zypper, since there's no reason not to accept subkeys (as every other package manager seems to support).

Maybe the new activity on the bug will encourage a fix, but even if it does, it will probably take a while to roll out. Unfortunately, it will also take us a while to roll out a new, non-subkey signing key (assuming we even wanted to do that), since it would need to be distributed for a few releases before we could start requiring it.

Any other suggestions?
I have the same problem but I noticed that I'm getting a different "unknown key '6494C6D6997C215E'" than comment #2. Was there a release of Chrome last week which I missed? Or how does that happen?
6494C6D6997C215E is a different issue caused by prematurely trying to dual-sign with a new key (the "2017" key) that isn't widely distributed yet. I'm reverting that change and will try to get the repository updated as soon as I can.
Re: the 6494C6D6997C215E issue, if you don't want to wait for the repository update, you should also be able to fix it by manually installing the latest public key file as described in https://www.google.com/linuxrepositories/, e.g.:

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Comment 13 by stu...@anchev.net, Aug 6 2017

@12

I did (as root):

wget https://dl.google.com/linux/linux_signing_key.pub
rpm --import linux_signing_key.pub
zypper up

and I getting:

File 'repomd.xml' from repository 'google-chrome' is signed with an unknown key '6494C6D6997C215E'. Continue? [yes/no] (no):
#13, that's the subkey problem described above (6494C6D6997C215E and 1397BC53640DB551 are both subkeys). There currently isn't a fix for that.

Comment 15 by stu...@anchev.net, Aug 6 2017

Thanks for explaining. Ok, I will wait more then.
Cc: hdodda@chromium.org
Labels: -Needs-Bisect Needs-Feedback
@mmoss- As per comment #14,Could you please provide us any update on this.

Removing Needs-Bisect label for now, please feel free to add this again if required.

Thanks! 
Status: Fixed (was: Available)
The subkey bug in zypper (https://bugzilla.opensuse.org/show_bug.cgi?id=1008325) has been fixed upstream and rolled out to supported versions (Leap 42.2 and above).

As such, I'm going to close this as fixed.

If you still see a problem, please comment or open a new bug as necessary.

Sign in to add a comment