Hello out there, I ask myself why is nothing mentioned on the web, since apt-key is deprecated.
I want to get the asc file from a gpg key, for which I only have to key-ID. For example, if I download the gpg key from Kali Linux I put in
Code: Select all
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6
and the gpg key is fetched, imported to the public keyring and written into my trustedb.gpg. But if want to use the Kali Linux repository I need the gpg-File. Whenever I see a tutorial about how to deal with the lack of apt-key the asc file is getting downloaded and written to /etc/apt/trusted.gpg.d but I don't know where can I get the ASC-file in the first place. So how can I "extract" a ASC file from the public keyring?
Thanks in advance
BR /Chris