Last active
January 9, 2025 11:55
-
-
Save Justman100/26679e545ec4ef4afcca9b69fe2dd72e to your computer and use it in GitHub Desktop.
Import public keys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
touch /etc/apt/keyrings/GPG.gpg | |
gpg --keyserver keyserver.ubuntu.com --no-default-keyring --keyring /etc/apt/keyrings/GPG.gpg --receive-keys $@ | |
# To rename | |
# Change NEW_GPG | |
# mv /usr/share/keyrings/GPG.gpg /usr/share/keyrings/NEW_GPG.gpg | |
# Adding after the `deb` `[signed-by=/etc/apt/keyrings/NEW_GPG.gpg]` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment