Kaleb Elwert
3f556400e7
Avoid setting TMPDIR and make sure all modules handle that properly
...
Fixes #1206
7 years ago
Benjamin Chrétien
db48a22c74
gpg: fix enable-ssh-support detection
...
That line may be commented in the config file.
8 years ago
Andrew Schwartzmeyer
2ad1b2f5b1
Load add-zsh-hook in GPG module
...
Fixes this error:
~/.zprezto/modules/gpg/init.zsh:43: command not found: add-zsh-hook
9 years ago
Sorin Ionescu
88aee30ae8
[ Fix #762 ] Use $LOGNAME instead of $USER
...
$USER is deprecated.
10 years ago
Mathias Fussenegger
0148ee6a4d
Check for S.gpg-agent to see if gpg-agent is running
...
From GnuPG changelog:
> Removed the GPG_AGENT_INFO related code. GnuPG does now
> always use a fixed socket name in its home directory.
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Grégoire Détrez
fc3f8025ea
Add a preexec hook to set the GPG-Agent TTY
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
nfnty
13d1ed160e
Use $GNUPGHOME if it exists
10 years ago
Sorin Ionescu
a84ac5b002
Only one newline at end of file
10 years ago
Sorin Ionescu
657e8a16f4
[ Fix #689 ] Use GPG_AGENT_INFO instead of GPG_AGENT_PID
...
GPG_AGENT_PID may not be defined. Also, source gpg-agent.env before
checking the PID.
10 years ago
Sorin Ionescu
ea25ccf62c
Set default GPG_AGENT_PID for grep
...
If `GPG_AGENT_PID` is unset, grep will succeed if another gpg-agent is
running as it will match the string `gpg-agent` where the PID was an
empty string. Set a default value for grep to a value that will never
match if unset, i.e. -1.
10 years ago
Sorin Ionescu
57b283facd
[ Fix #514 ] Use /tmp when $TMPDIR is undefined
11 years ago
Sorin Ionescu
1622abb830
Make gpg-agent and ssh-agent work with each other
12 years ago
Sorin Ionescu
2e64f7ed64
[ Fix #419 ] Rewrite module gpg-agent; rename it to gpg
12 years ago