On Wed, Dec 30, 2020 at 09:48:26PM +0000, Julian Gilbey wrote: > On Thu, Sep 03, 2020 at 09:33:07AM +0200, Vincent van Adrighem wrote: > > Package: apt > > Followup-For: Bug #968148 > > > > Dear Maintainer, > > > > Replacing the command is not what we want to achieve here, but a few > > changes in the documentation would go a long way in resolving this. > > Dear Maintainers, > > I'd like to second this: I wanted to add a local key, and could not > find out how to do so now that apt-key is deprecated. I looked in > apt-secure(8), but the /etc/apt/trusted.gpg.d/ directory is not even > mentioned. > > In the end, with some web searching, the only reference I found to the > "correct" way to do it was this bug report! > > Please do update the manpages for apt-key and apt-secure in the way > that Vincent has suggested - ideally, in time for the bullseye freeze, > so that it is in the upcoming Debian stable. This makes it obvious > what to do instead of using apt-key: "just add/remove GPG keys to/from > the directory /etc/apt/trusted.gpg.d as desired". > > Best wishes, > > Julian
Dear maintainers, I just stumbled upon an "Ask Ubuntu" discussion, which has a very clear explanation of (at least some of) the reasons for the deprecation of apt-key and what to do instead: https://askubuntu.com/questions/1286545/what-commands-exactly-should-replace-the-deprecated-apt-key/1300076#1300076 Logging it here in the hope that it will be of use to others. Best wishes, Julian