3

On Debian Stretch (testing) last aptitude update noticed that I have expired keys, so I've decided to remove them, but running apt-key list doesn't show key IDs and apt-key update is deprecated and does nothig, how can I get the ID of expired key then?

# apt-key list   
/etc/apt/trusted.gpg
--------------------
pub   rsa4096 2013-10-10 [SC] [expired: 2016-10-01]
uid           [ expired] I2P Debian Package Repository         <killyourtv@i2pmail.org>

pub   rsa4096 2013-04-06 [SC] [expired: 2016-04-10]
uid           [ expired] KillYourTV Debian repository signing key <killyourtv@mail.i2p>
...
Pavlus
  • 538
  • 5
  • 10

1 Answers1

1

You need to install the debian-archive-keyring:

The Debian project digitally signs its Release files. This package contains the archive keys used for that.

sudo apt-get install debian-archive-keyring
GAD3R
  • 3,702
  • 2
  • 18
  • 32