GPG verification of the Leap 15.2 SHA256 file fails

GPG verification of the Leap 15.2 SHA256 file fails with:


Tux@TuxBox:/home/openSUSE Leap 15.2/> gpg --verify openSUSE-Leap-15.2-DVD-x86_64.iso.sha256
gpg: Signature made Tue 30 Jun 2020 09:52:45 AM MDT
gpg:                using RSA key 70AF9E8139DB7C82
gpg: Can't check signature: No public key

I executed the following before checking the SHA256 file as shown above:


gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
gpg --fingerprint "openSUSE Project Signing Key <opensuse@opensuse.org>"

and it executed properly.

Is there a problem with the SHA256 file? File contents:


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

c6d3ed19fe5cc25c4667bf0b46cc86aebcfbca3b0073aed0a288834600cb8b97  openSUSE-Leap-15.1-DVD-x86_64.iso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iQEVAwUBXNwZzbiLL9Q9vcKEAQiXAggAsmtTRD1HausbkO0M5vEVBfeoefCowntG
jz8/kbmPFxDvHuRv/IUYx98NjCdOc/5svOs1PMXXaRtmBMc3/kQkr21BIn6rZye2
B4RsRAqvAJmNjSxrlA78VyX+F+oN+CsYg63xx87sO7dORoNX2VCLappXVIFxz586
8cQZNP9Rqpk5+eySpCyLJOgT5onxZbUjN3Q8uEPMyT+nzm8iqzx5EI75gJuKYWvh
nGLmKDLlH9S4MXM6Z1cinmSxMW5HCvTScmTgsRTnYLtuOblVj1RZbK+sws+Fnf8T
45WAYUYq23fv/kP4qfwvWwJma9SZWo7voLHtRiNlQFX4p6zi9C5apA==
=Cng2
-----END PGP SIGNATURE-----

I checked this file against the same file on 4 separate servers across the planet, and it was found to be identical. So, Iam assuming the file is authentic.

I can confirm what you witness, but when I run:

bruno@LT_B:~/Downloads> gpg openSUSE-Leap-15.2-DVD-x86_64.iso
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
pub   rsa2048 2008-11-07 [SC] [expires: 2024-05-02]
      22C07BA534178CD02EFE22AAB88B2FD43DBDC284
uid           openSUSE Project Signing Key <opensuse@opensuse.org>
bruno@LT_B:~/Downloads>

I get indeed the right signature as advertised here: https://software.opensuse.org/distributions/leap
and the check sum is correct, so the .iso image appears to be sound, the problem might be with the .sha256 file or the wiki page.

Your are looking at the 15.1 file instead of the 15.2: openSUSE-Leap-15.1-DVD-x86_64.iso

Admin team is on it. It’s one of keys owned by openSUSE autobuild team not the openSUSE one. Thank you for your understanding

The OP possibly did a copy/paste mistake, but I am seeing the same problem with the 15.2 file:

bruno@LT_B:~/Downloads> cat openSUSE-Leap-15.2-DVD-x86_64.iso.sha256
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

0fd2d4e630b6579b933b5cb4930a8100acca6b4e29cd2738c4b7a9b2f76d80e4  openSUSE-Leap-15.2-DVD-x86_64.iso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iQEVAwUBXvtfzXCvnoE523yCAQhRUAgAwTP/oGIeK/gDIQlHwBAiNc7ZYGe8enoq
IHFEaaxcJEQPzYOiIgze1bQC4q+VEcajzZ1dbT44OU+tvppg+Rmwyqs6LvTNZeL7
G9dTrdDhKrpaOCayWN+5bpdR7l2jG00aW5HkQMMoeagJWTciLW4VIsikeGYdDSfV
PI9GLjgIehd1F8R5VJ5QIFWBd252Acu5W7DkkUiSgFBMSOPJH/c9Uy2DTp87Ip4g
wy0lBGBsWFTr9io7fMlt4D1F2yEuL5a8l88Gzp7TWOCQ/fJZjsihpJ/NJSQxBzoY
q+aB6OJ5XBgxYHguhU17k+NTnZPzCko7N8F0kwLxgBwf5EaU4BTZ5w==
=C1KJ
-----END PGP SIGNATURE-----
bruno@LT_B:~/Downloads>

Should be fixed. Sorry for any inconvenience.

Lubos

So, what do I need to do?

Please pardon my ignorance.

Just download the fixed file from http://download.opensuse.org/distribution/leap/15.2/iso/
and you shall get:

bruno@LT_B:~/Downloads> gpg --verify openSUSE-Leap-15.2-DVD-x86_64.iso.sha256
gpg: Signature made gio 02 lug 2020 17:17:06 CEST
gpg:                using RSA key B88B2FD43DBDC284
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: 22C0 7BA5 3417 8CD0 2EFE  22AA B88B 2FD4 3DBD C284
bruno@LT_B:~/Downloads>
  1. Explain why there is 15.1 in your first post, you confused Guillaume_G with it.
  2. Wait for it being fixed, or believe that the download is OK and use it.

I get:


% gpg --verify openSUSE-Leap-15.2-DVD-x86_64.iso.sha256
gpg: Signature made Tue 30 Jun 2020 10:52:45 AM CDT
gpg:                using RSA key 70AF9E8139DB7C82
gpg: Good signature from "SuSE Package Signing Key <build@suse.de>" [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: FEAB 5025 39D8 46DB 2C09  61CA 70AF 9E81 39DB 7C82

I think you need:


gpg --recv-key 70AF9E8139DB7C82

Neil, I think that is what Lubos referred to in posts #4 and #6.
Now there is an amended .sha256 file (signed 2nd July) with a different signature consistent with what the Wiki page reads, see my post #8.
So if you download and check NOW you find something consistent with the download and wiki pages.

Nice idea.

When I look at the download site, I see that the signature file has today’s date. But when I download with “wget”, I receive a file with a Jun 30 date. I guess the mirrors have not yet resynchronized on that file.

This won’t work as intended until the mirrors are synced. My “wget” output shows that I am downloading from “mirror.us.leaseweb.net”.

That was the contents of the “openSUSE-Leap-15.2-DVD-x86_64.iso.sha256” file as I downloaded it from multiple servers. Now that you are pointing out there was “15.1” in the “openSUSE-Leap-15.2-DVD-x86_64.iso.sha256” file, I’m a bit surprised I had not noticed that.

On my original download of “openSUSE-Leap-15.2-DVD-x86_64.iso.sha256”, I got the Jun 30 date too.

I just tried a fresh download. And this time, I got the new version of the file. It has the same sha256 checksum, but it is signed by the opensuse project key instead of the build system key.


% gpg --verify openSUSE-Leap-15.2-DVD-x86_64.iso.sha256
gpg: Signature made Thu 02 Jul 2020 10:17:06 AM CDT
gpg:                using RSA key B88B2FD43DBDC284
gpg: Good signature from "openSUSE Project Signing Key <opensuse@opensuse.org>" [full]

You might still see a message that the signing key is not trusted, depending on your gpg trust settings.

I checked all the “openSUSE-Leap-15.2-DVD-x86_64.iso.sha256” files on all the servers listed at:
https://download.opensuse.org/distribution/leap/15.2/iso/openSUSE-Leap-15.2-DVD-x86_64.iso?mirrorlist
and as of writing this message, they all have the correct file now, which is 628 bytes in length.

If you have the “openSUSE-Leap-15.2-DVD-x86_64.iso.sha256” file that is 630 bytes in length, you have the bad file and should download it again to get the correct file.

Thanks to everyone who helped in this thread. I wish to extend special gratitude to the openSUSE team that promptly replied to the first message I posted in this thread, and had the fix in place shortly thereafter. That fabulous level of support compels me to continue being an openSUSE user.

Thank You,
Max

I downloaded .iso. .sha256, and .asc files yesterday and would like to upgrade from 15.1 to 15.3, but I’m having a little trouble with 15.2:


randolph@linux-8wry:~/ISO> sha256sum -c openSUSE-Leap-15.2-DVD-x86_64.iso.sha256
openSUSE-Leap-15.2-DVD-x86_64.iso: OK
sha256sum: WARNING: 14 lines are improperly formatted
randolph@linux-8wry:~/ISO> gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284       gpg: keyserver receive failed: No name
randolph@linux-8wry:~/ISO> gpg --fingerprint "openSUSE Project Signing Key <opensuse@opensuse.org>"
gpg: error reading key: No public key
randolph@linux-8wry:~/ISO> gpg --recv-key 70AF9E8139DB7C82                                  gpg: keyserver receive failed: No name
randolph@linux-8wry:~/ISO> gpg --verify openSUSE-Leap-15.2-DVD-x86_64.iso.sha256            gpg: Signature made Thu 02 Jul 2020 08:17:06 AM PDT
gpg:                using RSA key B88B2FD43DBDC284
gpg: Can't check signature: No public key
randolph@linux-8wry:~/ISO> cat openSUSE-Leap-15.2-DVD-x86_64.iso.sha256-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

0fd2d4e630b6579b933b5cb4930a8100acca6b4e29cd2738c4b7a9b2f76d80e4  openSUSE-Leap-15.2-DVD-x86_64.iso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iQEVAwUBXv36criLL9Q9vcKEAQLo7AgAheoPUyw1dN3VlqN4m2icdonUUTiHvZ5b
4vDv1hcZxYNzh76HJudvRVODyx5SAytLRXsUfAnffLUqWTIg2p50nkIR0FZoY5y/
0BaVKe2SY+W35iLxZkBO5sszFz+mhtWwir8Vsi4Tq/u3/IO98BBO319c877SIKCt
JrJ//sajA2XXQrKgu9hxiVgWOl5Y2EOWllq9fBaGr3Rd4EdLbHhfDQ7IaWN7PW0U
hAqv9WDkTxRVSksUP/y/C9c8kZ4VXF4YXGMdZX9+5hKoz/iBWaRVMwsez13h8Eif
bNpN69bQCLBx2LMH1T3gknu1faD5xb808iWeZXi2jgs3vWXUWdRg3w==
=DTcJ
-----END PGP SIGNATURE-----
randolph@linux-8wry:~/ISO> 

Assuming that everyone gets that “WARNING: 14 lines are improperly formatted” message, would it be OK to just install 15.2, then go to 15.3?

Yes, you can safely ignore that warning. It is just telling you that the GPG signature is not a sha256 checksum.

THANKS!!!