Skip to content

Broken Debian repository / incomplete Release gpg signatures #905

Closed

Description

@mika
  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

Properly signed Release.gpg and InRelease files on the Debian repository.

We noticed this problem starting on 2020-01-22, it worked fine until 2020-01-21 (more precisely: started to fail at 2020-01-21 23:42 with the latest repository update).

Looking at https://download.docker.com/linux/debian/dists/stretch/ it looks like the Release file was updated, but neither the InRelease nor the Release.gpg files got updated.

Same situation also at e.g. https://download.docker.com/linux/debian/dists/buster/

Actual behavior

% wget --quiet https://download.docker.com/linux/debian/dists/stretch/Release.gpg https://download.docker.com/linux/debian/dists/stretch/Release https://download.docker.com/linux/debian/gpg 
% gpg --import gpg 
gpg: key 8D81803C0EBFCD88: "Docker Release (CE deb) <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
% gpg --list-keys 8D81803C0EBFCD88
pub   rsa4096/8D81803C0EBFCD88 2017-02-22 [SCEA]
      9DC858229FC7DD38854AE2D88D81803C0EBFCD88
uid                 [ unknown] Docker Release (CE deb) <[email protected]>
sub   rsa4096/7EA0A9C3F273FCD8 2017-02-22 [S]

% gpg --verify Release.gpg Release
gpg: Signature made Thu 14 Nov 2019 06:48:22 PM CET
gpg:                using RSA key 7EA0A9C3F273FCD8
gpg: BAD signature from "Docker Release (CE deb) <[email protected]>" [unknown]

Steps to reproduce the behavior

% wget --quiet https://download.docker.com/linux/debian/dists/stretch/Release.gpg https://download.docker.com/linux/debian/dists/stretch/Release https://download.docker.com/linux/debian/gpg 
% gpg --import gpg 
% gpg --list-keys 8D81803C0EBFCD88
% gpg --verify Release.gpg Release

Activity

  1. thaJeztah commented on Jan 22, 2020

    @thaJeztah
    Member
  2. arkodg commented on Jan 22, 2020

    @arkodg

    @mika thanks for raising this issue, we're working on getting this fixed asap

  3. cpuguy83 commented on Jan 23, 2020

    @cpuguy83
    Collaborator

    Did this get resolved?

  4. arkodg commented on Jan 23, 2020

    @arkodg

    @cpuguy83 this issue is resolved in staging, should be out in prod soon

  5. dipak-pawar commented on Jan 23, 2020

    @dipak-pawar

    @arkodg do you have any idea, what's the time required to get this out on prod?

  6. arkodg commented on Jan 23, 2020

    @arkodg

    folks, this issue should be resolved now, apologies for the temporary disruption

  7. mika commented on Jan 24, 2020

    @mika
    Author

    JFTR, I can confirm that it works again, thanks folks for taking care!

  8. Gaurav-AL commented on Aug 21, 2021

    @Gaurav-AL

    $ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 7EA0A9C3F273FCD8
    [sudo] password for gaurav:
    Executing: /tmp/apt-key-gpghome.EvqlruXm3h/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu.com 7EA0A9C3F273FCD8
    gpg: key 8D81803C0EBFCD88: "Docker Release (CE deb) [email protected]" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1

    How do i resolve this issue...because of this i am unable to update to ubuntu 21.

  9. realchoubey commented on Jun 14, 2022

    @realchoubey

    @Gaurav-AL did you get this issue fixed? I'm facing same issue.

  10. macauyeah commented on Jul 27, 2023

    @macauyeah

    Hi,

    I am trying to mirror docker ubuntu dists. But I got bad signature during mirroring.

    I tried mika's command. There is something wrong in ubuntu jammy and debian bullseye dists. (some old dist like ubuntu bionic and debian stretch dists are fine.)

    debian stretch output

    ubuntu@dockergpg:~$ wget --quiet https://download.docker.com/linux/debian/dists/stretch/Release.gpg https://download.docker.com/linux/debian/dists/stretch/Release https://download.docker.com/linux/debian/gpg
    ubuntu@dockergpg:~$ gpg --import gpg
    gpg: key 8D81803C0EBFCD88: "Docker Release (CE deb) <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg:              unchanged: 1
    ubuntu@dockergpg:~$ gpg --list-keys 8D81803C0EBFCD88
    pub   rsa4096 2017-02-22 [SCEA]
          9DC858229FC7DD38854AE2D88D81803C0EBFCD88
    uid           [ unknown] Docker Release (CE deb) <[email protected]>
    sub   rsa4096 2017-02-22 [S]
    
    ubuntu@dockergpg:~$ gpg --verify Release.gpg Release
    gpg: Signature made Tue Feb  2 05:46:55 2021 CST
    gpg:                using RSA key 7EA0A9C3F273FCD8
    gpg: Good signature from "Docker Release (CE deb) <[email protected]>" [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: 9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88     
         Subkey fingerprint: D330 6A01 8370 199E 527A  E799 7EA0 A9C3 F273 FCD8
    

    ubuntu jammy and debian bullseye output BAD signature

    ubuntu@dockergpg:~$ rm gpg Release Release.gpg
    ubuntu@dockergpg:~$ wget --quiet https://download.docker.com/linux/ubuntu/dists/jammy/Release.gpg https://download.docker.com/linux/ubuntu/dists/jammy/Release https://download.docker.com/linux/ubuntu/gpg
    ubuntu@dockergpg:~$ gpg --import gpg
    gpg: key 8D81803C0EBFCD88: "Docker Release (CE deb) <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg:              unchanged: 1
    ubuntu@dockergpg:~$ gpg --list-keys 8D81803C0EBFCD88
    pub   rsa4096 2017-02-22 [SCEA]
          9DC858229FC7DD38854AE2D88D81803C0EBFCD88
    uid           [ unknown] Docker Release (CE deb) <[email protected]>
    sub   rsa4096 2017-02-22 [S]
    
    ubuntu@dockergpg:~$ gpg --verify Release.gpg Release
    gpg: Signature made Mon Jul 24 23:05:20 2023 CST
    gpg:                using RSA key 7EA0A9C3F273FCD8
    gpg: BAD signature from "Docker Release (CE deb) <[email protected]>" [unknown]
    
    
    ubuntu@dockergpg:~$ rm gpg Release Release.gpg
    ubuntu@dockergpg:~$ wget --quiet https://download.docker.com/linux/debian/dists/bullseye/Release.gpg https://download.docker.com/linux/debian/dists/bullseye/Release https://download.docker.com/linux/debian/gpg
    ubuntu@dockergpg:~$ gpg --import gpg
    gpg: key 8D81803C0EBFCD88: "Docker Release (CE deb) <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg:              unchanged: 1
    ubuntu@dockergpg:~$ gpg --list-keys 8D81803C0EBFCD88
    pub   rsa4096 2017-02-22 [SCEA]
          9DC858229FC7DD38854AE2D88D81803C0EBFCD88
    uid           [ unknown] Docker Release (CE deb) <[email protected]>
    sub   rsa4096 2017-02-22 [S]
    
    ubuntu@dockergpg:~$ gpg --verify Release.gpg Release
    gpg: Signature made Mon Jul 24 23:05:14 2023 CST
    gpg:                using RSA key 7EA0A9C3F273FCD8
    gpg: BAD signature from "Docker Release (CE deb) <[email protected]>" [unknown]
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions