On 8 September 2016 at 09:56, Patrick Brunschwig <patr...@enigmail.net> wrote:
> On 08.09.16 16:31, Tom Ritter wrote:
>> On 7 September 2016 at 18:07, Daniel Kahn Gillmor <d...@fifthhorseman.net> 
>> wrote:
>>> On Wed 2016-09-07 20:47:59 +0200, Tom Ritter wrote:
>>>> Strangely, all the items I replaced with AAAA etc are not in my
>>>> keyring.  Checked by doing gpg --fingerprint --fingerprint --list-keys
>>>> | grep AAAA (with the first 4 octets of each key).
>>>
>>> are you sure about that?  pinentry refers to a key by its "keygrip",
>>> which is distinct from the OpenPGP fingerprint.  iirc, the keygrip
>>> calculated over just the raw public key info, while the OpenPGP
>>> fingerprint includes some additional OpenPGP-specific boilerplate as
>>> well as the key creation time.
>>>
>>> If you try --with-keygrip do the values make any more sense?
>>
>> I'm sure it didn't match any fingerprints, but it did indeed match keygrips. 
>> =)
>>
>> With the debugging output (it didn't seem to add anything though...),
>> I now have:
>>
>> gpg-agent[38031]: handler 0x700000081000 for fd 5 started
>> gpg-agent[38031]: DBG: chan_5 -> OK Pleased to meet you
>> gpg-agent[38031]: DBG: chan_5 <- RESET
>> gpg-agent[38031]: DBG: chan_5 -> OK
>> gpg-agent[38031]: DBG: chan_5 <- GETINFO version
>> gpg-agent[38031]: DBG: chan_5 -> D 2.1.13
>> gpg-agent[38031]: DBG: chan_5 -> OK
>> gpg-agent[38031]: DBG: chan_5 <- OPTION allow-pinentry-notify
>> gpg-agent[38031]: DBG: chan_5 -> OK
>> gpg-agent[38031]: DBG: chan_5 <- OPTION agent-awareness=2.1.0
>> gpg-agent[38031]: DBG: chan_5 -> OK
>> gpg-agent[38031]: DBG: chan_5 <- OPTION pinentry-mode=loopback
>
> I think the problem is here: pinentry-mode=loopback.
>
> If I'm not mistaken, this means that no pinentry GUI is called, but the
> passphrase query is redirected to the caller (gpg), which would need to
> provide the passphrase somehow differently.



That was the problem. I found a line enabling that in my gpg.conf and
removing it fixed it.  Thank you both for the help!

-tom

_______________________________________________
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to