After updating from 20.04 to 22.04, I stumbled upon the "apt-key deprecation". Thus, I've just followed this excellent answer about how to fix it. However, I've still not clearly understood which keys should be in my /etc/apt/trusted.gpg.d/
folder. Any reference?

- 93
1 Answers
According to the answer you listed, none of your keys should be included in /etc/apt/trusted.gpg.d/
to get rid of crossigning, i.e., the ability to sign a package from a (potentially maliceous) source with the key of another source.
According to the answer you listed, the approach is to move all keys that are there to another location, then refer to them in the /etc/apt/sources.list
file. When the newer, multiline Deb822
format is used, there is no need to maintain the keys into different files. They can directly be embedded in the /etc/apt/sources.list
.
As a desktop user, I would not be inclined to start managing this myself. The evolution is ongoing, and gradually, distribution developers will integrate more safe approach in the graphical tools to manage PPA's.

- 88,010
Ubuntu CD Image Automatic Signing Key (2012)
andUbuntu Archive Automatic Signing Key (2018)
... Should they stay there? – muratore Apr 23 '22 at 23:31