Mastering Development System & Network

How can I check which apt repositories / packages are validated by certain keys?

I’ve inherited an Ubuntu 18.04 server which has had some custom repositories and keys added to it in the past. I’d like to ensure all keys are still in use, and see which packages each of them are validating. Is there a way to do this? I can list all keys by using apt-key list […]