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

Switch apt::key from apt-key to trusted.gpg.d #1099

Closed
LirionOSS opened this issue Apr 4, 2023 · 2 comments
Closed

Switch apt::key from apt-key to trusted.gpg.d #1099

LirionOSS opened this issue Apr 4, 2023 · 2 comments

Comments

@LirionOSS
Copy link

Use Case

From Debian 11 and Ubuntu 22.04 on, apt-key throws a deprecation warning whenever being used, as apt-key stores keys in /etc/apt/trusted.gpg altogether. The new paradigm tells us to use separate files in /etc/apt/trusted.gpg.d/*.gpg.
Also, apt update on Ubuntu 22.04 also now throws warnings whenever somebody or something, e.g. our apt::key, continues to manage apt keys in that very file.

Describe the Solution You Would Like

Change apt::key to populate files in /etc/apt/trusted.gpg.d (e.g. <title>.gpg), which should be treated as keyrings with one or multiple keys inside.

Describe Alternatives You've Considered

Continuing the module as is so far as long as we only get deprecation warnings.

@kenyon
Copy link

kenyon commented Apr 4, 2023

I think this is a duplicate of #1034.

@LirionOSS
Copy link
Author

Duplicate is correct. Feature request can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants