On 7 September 2016 at 18:07, Daniel Kahn Gillmor <[email protected]> 
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
gpg-agent[38031]: DBG: chan_5 -> OK
gpg-agent[38031]: DBG: chan_5 <- AGENT_ID
gpg-agent[38031]: DBG: chan_5 -> ERR 67109139 Unknown IPC command <GPG Agent>
gpg-agent[38031]: DBG: chan_5 <- HAVEKEY [[recipient1]]
gpg-agent[38031]: DBG: chan_5 -> ERR 67108881 No secret key <GPG Agent>
gpg-agent[38031]: DBG: chan_5 <- HAVEKEY [[recipient2]]
gpg-agent[38031]: DBG: chan_5 -> ERR 67108881 No secret key <GPG Agent>
gpg-agent[38031]: DBG: chan_5 <- HAVEKEY [[me]]
gpg-agent[38031]: DBG: chan_5 -> OK
gpg-agent[38031]: DBG: chan_5 <- HAVEKEY aaaa bbbb cccc dddd eeee ffff
gggg hhhh iiii jjjj [[me]]
gpg-agent[38031]: DBG: chan_5 -> OK
gpg-agent[38031]: DBG: chan_5 <- HAVEKEY [[me]]
gpg-agent[38031]: DBG: chan_5 -> OK
gpg-agent[38031]: DBG: chan_5 <- RESET
gpg-agent[38031]: DBG: chan_5 -> OK
gpg-agent[38031]: DBG: chan_5 <- SETKEY [[me]]
gpg-agent[38031]: DBG: chan_5 -> OK
gpg-agent[38031]: DBG: chan_5 <- SETKEYDESC
Please+enter+the+passphrase+to+unlock+the+OpenPGP+secret+key:%0A%22Tom+Ritter+<[email protected]>%22%0A4096-bit+RSA+key,+ID+03FFC8624E256AB8,%0Acreated+2016-08-15+(main+key+ID+66A109189B79658F).%0A
gpg-agent[38031]: DBG: chan_5 -> OK
gpg-agent[38031]: DBG: chan_5 <- PKDECRYPT
gpg-agent[38031]: DBG: chan_5 -> S INQUIRE_MAXLEN 4096
gpg-agent[38031]: DBG: chan_5 -> INQUIRE CIPHERTEXT
gpg-agent[38031]: DBG: chan_5 <- [ 11 22 33 44 55 66 77 88 99 00 11 22
33 44 55 66 ...(531 byte(s) skipped) ]
gpg-agent[38031]: DBG: chan_5 <- END
gpg-agent[38031]: DBG: agent_get_cache '[[me]]' (mode 2) ...
gpg-agent[38031]: DBG: ... miss
gpg-agent[38031]: DBG: chan_5 -> S INQUIRE_MAXLEN 255
gpg-agent[38031]: DBG: chan_5 -> [[Confidential data not shown]]
gpg-agent[38031]: DBG: chan_5 <- [eof]
gpg-agent[38031]: failed to unprotect the secret key: End of file
gpg-agent[38031]: failed to read the secret key
gpg-agent[38031]: command 'PKDECRYPT' failed: End of file
gpg-agent[38031]: DBG: chan_5 -> ERR 67125247 End of file <GPG Agent>
gpg-agent[38031]: Assuan processing failed: Broken pipe
gpg-agent[38031]: handler 0x700000081000 for fd 5 terminated


The aaa, bbb, ccc etc are because I lot of subkeys.

-tom

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

Reply via email to