Closed ugjka closed 1 year ago
(FYI you can run spotify-launcher --skip-update
to launch in the meantime.)
I can reproduce this, according to the install instructions it's still the old key:
https://web.archive.org/web/20230117135535/https://www.spotify.com/de/download/linux/
It links to:
Following the install instructions with apt currently prints errors too:
root@33d8a1a48a32:/# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Get:4 http://repository.spotify.com stable InRelease [3316 B]
Err:4 http://repository.spotify.com stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7A3A762FAFD4A51F
Reading package lists... Done
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7A3A762FAFD4A51F
E: The repository 'http://repository.spotify.com stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@33d8a1a48a32:/#
Steps to reproduce:
% docker run -i --rm debian:bullseye <<EOF
apt update
apt install -y curl gnupg
curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | apt-key add -
echo "deb http://repository.spotify.com stable non-free" | tee /etc/apt/sources.list.d/spotify.list
apt update
EOF
Ok it seems the new key is available here:
https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg
The old key was about to expire:
/etc/apt/trusted.gpg
--------------------
pub rsa4096 2021-10-27 [SC] [expires: 2023-01-20]
F9A2 1197 6ED6 62F0 0E59 361E 5E3C 45D7 B312 C643
uid [ unknown] Spotify Public Repository Signing Key <tux@spotify.com>
pub rsa4096 2022-11-14 [SC] [expires: 2024-02-07]
E274 09F5 1D1B 6633 7F2D 2F41 7A3A 762F AFD4 A51F
uid [ unknown] Spotify Public Repository Signing Key <tux@spotify.com>
Great, thanks for the quick info! Pastable quick fix (as root):
# gpg key epiring on 2023-01-20 was exchanged
mv /usr/share/spotify-launcher/keyring.pgp /usr/share/spotify-launcher/keyring.pgp.old
wget https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg \
-O /usr/share/spotify-launcher/keyring.pgp
Thanks for reporting this and posting workarounds, I've uploaded a 0.4.2
release with the new key.
The official page has been updated in the meantime and points to the new key:
https://web.archive.org/web/20230117171543/https://www.spotify.com/de/download/linux/