summaryrefslogtreecommitdiff
path: root/make-keyring
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-01-01 13:30:32 +0200
committerLars Wirzenius <liw@liw.fi>2017-01-01 13:30:32 +0200
commitba6690a66e98714f7e0c4170ccdd48e1bd6f6c04 (patch)
treea497645fa2c5f09b51f600ba408f82378b61a0c5 /make-keyring
parent8716270cd2b1e9c2499e2a23bae373a2d5ebc884 (diff)
downloadcode.liw.fi-keyring-ba6690a66e98714f7e0c4170ccdd48e1bd6f6c04.tar.gz
Add pub key and Debian packaging
Diffstat (limited to 'make-keyring')
-rwxr-xr-xmake-keyring9
1 files changed, 9 insertions, 0 deletions
diff --git a/make-keyring b/make-keyring
new file mode 100755
index 0000000..8e2781e
--- /dev/null
+++ b/make-keyring
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -eu
+
+export GNUPGHOME="$(mktemp -d)"
+trap 'rm -rf "$GNUPGHOME"' EXIT
+
+gpg --quiet --import "$@"
+gpg --export