Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use /etc/apt/trusted.gpg.d/ for GPG key to support apt >= 2.4.0 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaelweghorn
Copy link

Use a file apt-repos.gpg inside of the /etc/apt/trusted.gpg.d
directory for the GPG keyring instead of the legacy
/etc/apt/trusted.gpg.

Related Debian NEWS entry:

apt (2.4.0) unstable; urgency=medium

GPG verification now first tries only the trusted.gpg.d keys, before
then falling back to the legacy trusted.gpg keyring and issuing a
warning to migrate keys if verification succeeded in the fallback.

-- Julian Andres Klode [email protected] Tue, 22 Feb 2022 20:01:00 +0100

In my case, on Debian testing with apt 2.4.1, no fallback was
automatically used and GPG verification just failed when
running make tests without this change in place.

Use a file `apt-repos.gpg` inside of the `/etc/apt/trusted.gpg.d`
directory for the GPG keyring instead of the legacy
`/etc/apt/trusted.gpg`.

Related Debian NEWS entry:

> apt (2.4.0) unstable; urgency=medium
>
>   GPG verification now first tries only the trusted.gpg.d keys, before
>   then falling back to the legacy trusted.gpg keyring and issuing a
>   warning to migrate keys if verification succeeded in the fallback.
>
>  -- Julian Andres Klode <[email protected]>  Tue, 22 Feb 2022 20:01:00 +0100

In my case, on Debian testing with apt 2.4.1, no fallback was
automatically used and GPG verification just failed when
running `make tests` without this change in place.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant