[pass] [PATCH 1/2] only use first line for clipboard
Lenz Weber
mail at lenzw.de
Fri Jun 19 19:11:32 CEST 2015
.gpg-agent-info is deprecated in newer versions of GnuPG, so that should propably not end up there?
https://www.gnupg.org/faq/whats-new-in-2.1.html
> With GnuPG 2.1 the need of |GPG_AGENT_INFO| has been completely
> removed and the variable is ignored. Instead a fixed Unix domain
> socket named |S.gpg-agent| in the GnuPG home directory (by default
|> ~/.gnupg|) is used. The agent is also started on demand by all tools
> requiring services from the agent.
Am 19.06.2015 um 13:27 schrieb Steffen Vogel:
> ---
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150619/c81842ac/attachment.html>
More information about the Password-Store
mailing list