]> gitweb.michael.orlitzky.com - bash.d.git/blobdiff - gpg.sh
gpg.sh: new file with a fix for busted GPG-over-SSH.
[bash.d.git] / gpg.sh
diff --git a/gpg.sh b/gpg.sh
new file mode 100644 (file)
index 0000000..ea6e1c4
--- /dev/null
+++ b/gpg.sh
@@ -0,0 +1,3 @@
+# For some reason this is required for pinentry-tty to work over SSH,
+# particularly when signing git commits.
+export GPG_TTY=$(tty)