Last active
May 3, 2019 06:59
-
-
Save travnewmatic/253bbb7fa435a03e2d081d6c89b581d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on computer that works: | |
tnewman@host0:~$ ./go-jira-bash | |
++ '[' -f /home/tnewman/.gpg-agent-info ']' | |
++ '[' '!' -f /home/tnewman/.gpg-agent.conf ']' | |
++ '[' -n '' ']' | |
+++ tty | |
++ export GPG_TTY=/dev/pts/1 | |
++ GPG_TTY=/dev/pts/1 | |
on computer that does not work: | |
tnewman@lanyu:~$ ./go-jira-bash | |
+ ./go-jira-bash | |
++ '[' -f /home/tnewman/.gpg-agent-info ']' | |
++ '[' '!' -f /home/tnewman/.gpg-agent.conf ']' | |
++ '[' -n /run/user/1000/gnupg/S.gpg-agent:0:1 ']' | |
++ nc -U /run/user/1000/gnupg/S.gpg-agent | |
change to #nc -U "${GPG_AGENT_INFO%%:*}" >/dev/null </dev/null | |
nc -Uz "${GPG_AGENT_INFO%%:*}" | |
tnewman@lanyu:~$ ./go-jira-bash | |
+ ./go-jira-bash | |
+ '[' -f /home/tnewman/.gpg-agent-info ']' | |
+ '[' '!' -f /home/tnewman/.gpg-agent.conf ']' | |
+ '[' -n /run/user/1000/gnupg/S.gpg-agent:0:1 ']' | |
+ nc -Uz /run/user/1000/gnupg/S.gpg-agent | |
+ '[' '!' -S /run/user/1000/gnupg/S.gpg-agent -o 0 '!=' 0 ']' | |
++ tty | |
+ export GPG_TTY=/dev/pts/8 | |
+ GPG_TTY=/dev/pts/8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment