[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VirtualBox key is store in deprecated legacy keyring




On Mon, Jun 19, 2023, at 8:27 PM, Jeffrey Walton wrote:
> On Mon, Jun 19, 2023 at 11:15 PM Rick Thomas <rick.thomas@pobox.com> wrote:
>>
>> Now when I do "apt update" I get this message:
>>     .W: https://download.virtualbox.org/virtualbox/debian/dists/bullseye/InRelease: Key is stored in legacy trusted.gpg
>>                keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
>> Has anybody else seen this?  If so, what did you do?  And did it help?

> I _think_ the key should be stored in its own file under
> /etc/apt/trusted.gpg.d. Maybe something like
> /etc/apt/trusted.gpg.d/virtual-box.gpg.

This squares with what I get from RTFM, and I'm glad to hear the confirmation, but...
Where can I get the text to put into /etc/apt/trusted.gpg.d/virtual-box.gpg ?  Currently the key seems to be part of /etc/apt/trusted.gpg.  Is there some way to use apt-key to extract that part of it?  If not, I forget where I got the original from (somewhere on the Oracle website, I guess?)  Can someone point me in the right direction?

> Also see https://wiki.debian.org/SecureApt:

Thanks!
Rick


Reply to: