Skip to content

Instantly share code, notes, and snippets.

@rjsocha
Created September 20, 2022 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjsocha/5b1b9ea361f7dc8473110f9c5781fcd7 to your computer and use it in GitHub Desktop.
Save rjsocha/5b1b9ea361f7dc8473110f9c5781fcd7 to your computer and use it in GitHub Desktop.
gpg / apt-get / trusted.gpg
gpg --list-keys --no-default-keyring --keyring /etc/apt/trusted.gpg
# For example Skype key
gpg --export --no-default-keyring --keyring /etc/apt/trusted.gpg D4040146BE3972509FD57FC71F3045A5DF7587C3 | sudo dd of=/etc/apt/trusted.gpg.d/skype.gpg status=none
# Delete (example)
sudo gpg --batch --no-autostart --no-options --delete-key --no-default-keyring --keyring /etc/apt/trusted.gpg FPR-OF-THE-KEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment