On 13 July 2016 at 13:13, Daniel Kahn Gillmor <d...@fifthhorseman.net> wrote: > Hi David-- > > On Tue 2016-07-12 16:46:53 +0200, David Matthews wrote: >> I can't get gpg-preset-passphrase to work with GnuPG 2.1.7. > > there have been significant changes to GnuPG between 2.1.7 and 2.1.13. > > can you try upgrading to 2.1.13?
I've compiled 2.1.13 on Fedora 23 and get the same result (test output below). According to issue 2015 this was caused by a change that went into release 2.1.5. Thanks, David ++ gpg-agent -vv --daemon --allow-preset-passphrase --debug-level 9 gpg-agent[12163]: enabled debug flags: command mpi crypto memory cache memstat ipc gpg-agent[12163]: listening on socket '/run/user/1000/gnupg/S.gpg-agent' gpg-agent[12164]: gpg-agent (GnuPG) 2.1.13 started + eval '' + /usr/local/libexec/gpg-preset-passphrase -vv --preset -P test myid gpg-agent[12164]: handler 0x7fc9c028a700 for fd 4 started gpg-agent[12164]: DBG: chan_4 -> OK Pleased to meet you, process 12165 gpg-agent[12164]: DBG: chan_4 <- OPTION ttyname=/dev/pts/0 gpg-agent[12164]: DBG: chan_4 -> OK gpg-agent[12164]: DBG: chan_4 <- OPTION ttytype=xterm gpg-agent[12164]: DBG: chan_4 -> OK gpg-agent[12164]: DBG: chan_4 <- OPTION lc-ctype=en_US.UTF-8 gpg-agent[12164]: DBG: chan_4 -> OK gpg-agent[12164]: DBG: chan_4 <- OPTION lc-messages=en_US.UTF-8 gpg-agent[12164]: DBG: chan_4 -> OK gpg-agent[12164]: DBG: chan_4 <- PRESET_PASSPHRASE myid -1 74657374 gpg-agent[12164]: DBG: agent_put_cache 'myid' (mode 1) requested ttl=-1 gpg-agent[12164]: DBG: chan_4 -> S PROGRESS need_entropy X 60 120 gpg-agent[12164]: DBG: chan_4 -> S PROGRESS need_entropy X 120 120 <snip> Removed lots of repeated lines </snip> gpg-agent[12164]: DBG: chan_4 -> S PROGRESS need_entropy X 60 120 gpg-agent[12164]: DBG: chan_4 -> S PROGRESS need_entropy X 120 120 gpg-agent[12164]: DBG: chan_4 -> OK gpg-agent[12164]: DBG: chan_4 <- [eof] gpg-agent[12164]: handler 0x7fc9c028a700 for fd 4 terminated + echo 'GET_PASSPHRASE --no-ask myid Err Pmt Des' + gpg-connect-agent -vv gpg-agent[12164]: handler 0x7fc9c028a700 for fd 4 started gpg-agent[12164]: DBG: chan_4 -> OK Pleased to meet you, process 12168 gpg-agent[12164]: DBG: chan_4 <- RESET gpg-agent[12164]: DBG: chan_4 -> OK gpg-agent[12164]: DBG: chan_4 <- OPTION ttytype=xterm gpg-agent[12164]: DBG: chan_4 -> OK gpg-agent[12164]: DBG: chan_4 <- GET_PASSPHRASE --no-ask myid Err Pmt Des gpg-agent[12164]: DBG: agent_get_cache 'myid' (mode 3) ... gpg-agent[12164]: DBG: ... miss gpg-agent[12164]: command 'GET_PASSPHRASE' failed: No data gpg-agent[12164]: DBG: chan_4 -> ERR 67108922 No data <GPG Agent> gpg-connect-agent: closing connection to agent ERR 67108922 No data <GPG Agent> gpg-agent[12164]: DBG: chan_4 <- [eof] gpg-agent[12164]: handler 0x7fc9c028a700 for fd 4 terminated _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users