#1007971 Key location is deprecated? Show me!

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Harald Dunkel
Date:
2022-03-21 16:09:03 UTC
Severity:
wishlist
Tags:
#1007971#5
Date:
2022-03-19 19:46:17 UTC
From:
To:
apt update gives me several messages like

W: http://example.com/debian/dists/unstable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://download.something.com/linux/debian/dists/buster/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://updates.ohnonotagain.org/desktop/apt/dists/xenial/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

This could be much more helpful if it would actually show the key id
it was looking for. *All* warnings and errors about some key id should
show it.


Thank you very much in advance

Harri

#1007971#10
Date:
2022-03-21 16:07:44 UTC
From:
To:
Control: tag -1 wontfix

I don't think this is going to happen. It adds additional work,
keyid is the wrong thing to show (fpr would be the right thing),
and you really should not have to bother with GPG keys at all,
just files.

I think we should also hide from error messages which keys are
missing.

Showing key ids of any form just leads to people Googling for
key ids and finding weird instructions on how to add them.