summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/55-create-tails-keyring
blob: 2037d4fe8cac9da7dbf9a5d1a9309f44f1623372 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

set -e

echo "Creating system-wide Tails GnuPG keyring"

gpg --batch --no-default-keyring --keyring /usr/share/keyrings/tails-keyring.gpg --import /usr/share/doc/tails/website/*.key
chmod a+r /usr/share/keyrings/tails-keyring.gpg