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

fix: apt-key deprecation warning/errors #107

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Conversation

e-renna
Copy link
Contributor

@e-renna e-renna commented Nov 14, 2022

The use of apt-key has been deprecated for security reasons, and best practice is now to add keyrings to the directory /etc/apt/trusted.gpg.d/.
When adding the gpg key using the current method, the following error is being displayed:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Similar warning appears when running apt update:
Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
It should also be noted that apt-key(8) will last be available in Debian 11 and Ubuntu 22.04.

This PR edits one of the commands in the installation guide for Ubuntu-based distros, to use the new suggested method.

@CLAassistant
Copy link

CLAassistant commented Nov 14, 2022

CLA assistant check
All committers have signed the CLA.

@mlsmaycon
Copy link
Contributor

Thanks, @e-renna appreciate your contribution.

@mlsmaycon mlsmaycon merged commit 9127686 into netbirdio:main Nov 15, 2022
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.

3 participants