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