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 <email@example.com> pub rsa4096 2013-04-06 [SC] [expired: 2016-04-10] uid [ expired] KillYourTV Debian repository signing key <firstname.lastname@example.org> ...