Hi, I want to report two bugs on the downloads page of the website, but I’m brand new to the community and not sure if this is an already known issue and exactly where to report it. Both are related to redirects to the mirror network.
**1. PGP Public Key Insecure
**
The gpg-pubkey.asc PGP signing public key is served over HTTP. This is insecure and could enable a MITM attack.
How To Repeat
- Go to https://get.opensuse.org/tumbleweed/
- Copy the link at the bottom of the page for the key, which currently is https://download.opensuse.org/tumbleweed/repo/oss/gpg-pubkey-3dbdc284-53674dd4.asc
- Examine the download with
curl -v https://download.opensuse.org/tumbleweed/repo/oss/gpg-pubkey-3dbdc284-53674dd4.asc
- Note the HTTP 302 response location is to an HTTP mirror < location: http://mirror.us.leaseweb.net/opensuse/tumbleweed/repo/oss/gpg-pubkey-3dbdc284-53674dd4.asc
** Expected behavior**
Serve PGP key over a secure connection.
Workaround
Not known.
** Suggested fix**
Host the .asc file directly on the web server, not on the mirror network. Or, have a flag which redirects to HTTPS mirrors only.
** 2. Checksum filename mismatch**
The SHA256 checksum file uses different file name than download, so sha256sum -c doesn’t work.
** How To Repeat**
- Go to https://get.opensuse.org/tumbleweed/
- Click Download link for the Offline Image ISO: https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso
- Click the Checksum link for the same ISO: https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.sha256
- Notice that the checksum link redirects to a file with a different name: https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Snapshot20220406-Media.iso.sha256
- Run
sha256sum -c openSUSE-Tumbleweed-DVD*.iso.sha256
, and it reports no file found.
** Workaround**
Rename the downloaded ISO from “Current” to “Snapshot20220406-Media”.
** Suggested fix**
Redirect to the “SnapshotYYYYMMDD-Media.iso” file name rather than the “Current.iso” name, the same as is done for the sha256 file already.
Regards,
Tim