-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian repo key expired #16960
Comments
Same error for buster: https://paste.debian.net/1193805/ |
theory is the gpg key may have expired from 2019, finally: https://matrix.org/blog/2019/04/11/we-have-discovered-and-addressed-a-security-breach-updated-2019-04-12 (would have rotated it around this time) |
I see the error too! gpg -v /usr/share/keyrings/riot-im-archive-keyring.gpg |
Repo should be fixed now. There's an updated key that will have to be acquired: see the steps on https://element.io/get-started under the Linux link for details. If people run into problems, please visit https://matrix.to/#/#element-web:matrix.org for support |
sudo ls -la /usr/share/keyrings/ Then update keyring https://element.io/get-started Debian / Ubuntu (64-bit) sudo apt install -y wget apt-transport-https sudo wget -O /usr/share/keyrings/riot-im-archive-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/riot-im-archive-keyring.gpg] https://packages.riot.im/debian/ default main" | sudo tee /etc/apt/sources.list.d/riot-im.list sudo apt update sudo apt install element-desktop |
You missed an URL on your 4th step (sudo wget...), here is the corrected and complete procedure : #### Remove old key first : ###
sudo ls -la /usr/share/keyrings/ # check for key existence
sudo rm /usr/share/keyrings/riot-im-archive-keyring.gpg # remove
### Now get back the updated one : ###
sudo apt install -y wget apt-transport-https # should already be OK.
sudo wget -O /usr/share/keyrings/riot-im-archive-keyring.gpg https://packages.riot.im/debian/riot-im-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/riot-im-archive-keyring.gpg] https://packages.riot.im/debian/ default main" | sudo tee /etc/apt/sources.list.d/riot-im.list
sudo apt update # should probably find an element-desktop upgrade |
I am so sorry. Thank you for fix. |
AFAICT, the new key isn't signed by anyone. Can someone confirm for me that this is the fingerprint of the new key?
In the future, before changing keys, can you have the old key sign the new key? |
The key is unchanged. Only the expiry date has been updated.
That is the fingerprint of the master key, yes, and has been for the last two years. The fingerprint of the signing subkey (which is the one that expired) was, and still is, |
So weird, I don't have that subkey locally (see it on keyservers though)
Sorry about that, thank you! |
This is probably the signing subkey, together with its signature by the master key. Try |
Ah, learn something new every day! That worked, thanks! |
Hi
|
HI there. I got this issue today, I have followed the steps above shared by @ashed and @DanieLoche but I keep getting the same error when I do
|
@msoutopico see pinned issue element-hq/element-desktop#807 |
Solution
#16960 (comment)
Original description
The text was updated successfully, but these errors were encountered: