Skip to content

Instantly share code, notes, and snippets.

@akemrir
Created January 18, 2012 06:50
Show Gist options
  • Save akemrir/1631544 to your computer and use it in GitHub Desktop.
Save akemrir/1631544 to your computer and use it in GitHub Desktop.

Revisions

  1. Karol created this gist Jan 18, 2012.
    8 changes: 8 additions & 0 deletions pacman-key-uzup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    #!/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