summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-08-16 18:04:59 -0400
committerJesse Luehrs <doy@tozt.net>2013-08-16 18:05:14 -0400
commit359f1854677823132397e4bf2951e7504d5886d7 (patch)
tree207612e46246a6f8556b5c2e72cdc4f9d40b9897
parentf009465c1d10ecd95debc04c955cba811ba242e9 (diff)
downloadconf-359f1854677823132397e4bf2951e7504d5886d7.tar.gz
conf-359f1854677823132397e4bf2951e7504d5886d7.zip
add keychain wrappers for gpg too
-rwxr-xr-xbin/gpg7
l---------bin/gpg21
2 files changed, 8 insertions, 0 deletions
diff --git a/bin/gpg b/bin/gpg
new file mode 100755
index 0000000..2b49217
--- /dev/null
+++ b/bin/gpg
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+GPG=/usr/bin/$(basename $0)
+
+keychain -q --timeout 30
+. ~/.keychain/${HOSTNAME}-sh-gpg
+$GPG $*
diff --git a/bin/gpg2 b/bin/gpg2
new file mode 120000
index 0000000..a7506d6
--- /dev/null
+++ b/bin/gpg2
@@ -0,0 +1 @@
+gpg \ No newline at end of file