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

Warning: apt-key is deprecated in Ubuntu 22.04.1 LTS #179

Open
FX-Muesli opened this issue Nov 23, 2022 · 1 comment
Open

Warning: apt-key is deprecated in Ubuntu 22.04.1 LTS #179

FX-Muesli opened this issue Nov 23, 2022 · 1 comment

Comments

@FX-Muesli
Copy link

Manage keyring files in trusted.gpg.d instead.

I would suggest the following enhancement:
Changing line 65 from:
print_pgp_key | apt-key add -
to:
print_pgp_key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/metasploit-framework.gpg
Maybe omit the tee, as the output is not really usefull.
See also: https://opensource.com/article/22/9/deprecated-linux-apt-key

@Crazyhead90
Copy link
Contributor

Created a pull request to solve this issue (in ubuntu 22.04):
#192

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

No branches or pull requests

2 participants