<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">
<pre wrap="">.gpg-agent-info is deprecated in newer versions of GnuPG, so that should propably not end up there?
<a class="moz-txt-link-freetext" href="https://www.gnupg.org/faq/whats-new-in-2.1.html">https://www.gnupg.org/faq/whats-new-in-2.1.html</a>
> With GnuPG 2.1 the need of <code>GPG_AGENT_INFO</code> has been completely
> removed and the variable is ignored. Instead a fixed Unix domain
> socket named <code>S.gpg-agent</code> in the GnuPG home directory (by default
<code>> ~/.gnupg</code>) is used. The agent is also started on demand by all tools
> requiring services from the agent.
</pre>
<br>
<br>
Am 19.06.2015 um 13:27 schrieb Steffen Vogel:<br>
</div>
<blockquote
cite="mid:1434713275-24931-1-git-send-email-post@steffenvogel.de"
type="cite">
<pre wrap="">---
contrib/pass.applescript | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/pass.applescript b/contrib/pass.applescript
index 4720fff..1b9a16d 100644
--- a/contrib/pass.applescript
+++ b/contrib/pass.applescript
@@ -45,7 +45,7 @@ end if
try
set entity to the text returned of (display dialog nPrompt default answer defPass buttons {"OK"} with title nTitle default button 1)
- set pw to do shell script "export PATH=" & shellPath & "; pass " & entity
+ set pw to do shell script "export PATH=" & shellPath & "; source ~/.gpg-agent-info; pass " & entity & " | head -n1"
set the clipboard to pw
</pre>
</blockquote>
<br>
</body>
</html>