Skip to content

Instantly share code, notes, and snippets.

@akemrir
Created January 18, 2012 06:50
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 akemrir/1631544 to your computer and use it in GitHub Desktop.
Save akemrir/1631544 to your computer and use it in GitHub Desktop.
#!/bin/bash
for key in FFF979E7 CDFD6BB0 4C7EA887 6AC6A4C2 824B18E8; do
pacman-key --recv-keys $key
pacman-key --lsign-key $key
printf 'trust\n3\nquit\n' | gpg --homedir /etc/pacman.d/gnupg/ \
--no-permission-warning --command-fd 0 --edit-key $key
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment