17

Yesterday, I received signature expired:

Err:24 https://repo.skype.com/deb stable InRelease                             
  The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]>

Today the same problem, solutions?

I'm on Linux Mint 20.1.

Vlastimil Burián
  • 27,586
  • 56
  • 179
  • 309

2 Answers2

25

The solution is pretty simple, Microsoft keeps their updated GPG signing key in this file: https://repo.skype.com/data/SKYPE-GPG-KEY

So, one can do for example:

curl -s https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -

Note: You should not implicitly trust any key (or file for that matter) and inspect the file thoroughly, see this answer for more info. Credit: Stephen Kitt.


UPDATE

You should see and go about with this answer of mine instead of this simple one.

Vlastimil Burián
  • 27,586
  • 56
  • 179
  • 309
-1

I would propose to use the following command if you have Linux Mint Vera (21.1) and above:

wget -qO- https://repo.skype.com/data/SKYPE-GPG-KEY  | sudo tee /etc/apt/trusted.gpg.d/skype.asc
  • I should update my answer... Nevertheless, your answer is wrong. The correct procedure is to dearmor the asc file, save it as gpg file first, second to place it to `/usr/share/keyrings/skypeforlinux.gpg`, and finally edit the apt list file so that it contains: `deb [arch=amd64 signed-by=/usr/share/keyrings/skypeforlinux.gpg] https://repo.skype.com/deb stable main` – Vlastimil Burián Jul 22 '23 at 16:29
  • I wouldn’t recommend if I didn’t use the command from above on my Linux Mint 21.2 Victoria. – Stas Bidenko Jul 27 '23 at 11:10