Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #245964

Re: apt-key deprecation.

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: apt-key deprecation.
Date 2022-03-05 21:00 +0100
Message-ID <DXIJj-66am-1@gated-at.bofh.it> (permalink)
References <DXHDz-65yH-3@gated-at.bofh.it> <DXHWV-65UP-1@gated-at.bofh.it> <DXIpX-6643-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Mar 05, 2022 at 08:31:46PM +0100, Erwan David wrote:
> Le 05/03/2022 à 20:04, Cindy Sue Causey a écrit :
> > On 3/5/22, Erwan David <erwan@rail.eu.org> wrote:
> > > Hi,
> > > 
> > > When I update my packages I get the warning :
> > > 
> > > W:
> > > https://download.virtualbox.org/virtualbox/debian/dists/buster/InRelease:
> > > Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see
> > > the DEPRECATION section in apt-key(8) for details.
> > > 
> > > I looked at section DEPRECATION in apt-key, but did not find how I can
> > > extract those keys from /etc/apt/trusted.gpg and put them in trusted.gpg.d
> > > 
> > > What would be the easier way ?
> > 
> 
> Yes I already saw this but
> 
> 1) How do I extract keys from /etc/apt/trusted.gpg ?

This is a gpg keyring. You can list the keys therein like so:

  gpg --list-keys --no-default-keyring --keyring /etc/apt/trusted.gpg

You can export some or all with --export; if you want them in
their ASCII "flavour", you also add --armor.

  gpg --armor --no-default-keyring --keyring /etc/apt/trusted.gpg --export dev@jitsi.org > keys.out

(where this `dev@jitsi.org' stands for one of the IDs you have
seen above, with --list).

As to your other questions... I'll leave them to those who know
more :)

Cheers
-- 
t

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

apt-key deprecation. Erwan David <erwan@rail.eu.org> - 2022-03-05 19:50 +0100
  Re: apt-key deprecation. Cindy Sue Causey <butterflybytes@gmail.com> - 2022-03-05 20:10 +0100
    Re: apt-key deprecation. Erwan David <erwan@rail.eu.org> - 2022-03-05 20:40 +0100
      Re: apt-key deprecation. <tomas@tuxteam.de> - 2022-03-05 21:00 +0100
  Re: apt-key deprecation. Marcelo Laia <marcelolaia@gmail.com> - 2022-03-06 00:40 +0100

csiph-web