Re: failed to convert unprotected openpgp key: Checksum error

2018-01-24 Thread Daniel Kahn Gillmor
On Mon 2018-01-22 15:37:37 -0500, Phil Pennock wrote: > So at this point, it looks to me like it really is an incorrect > checksum, exposing unfortunate edge-case handling in GnuPG. Thanks for the diagnosis, Phil and Simon. Please file a bug report about this at https://dev.gnupg.org/ so that thi

Re: failed to convert unprotected openpgp key: Checksum error

2018-01-22 Thread Phil Pennock
On 2018-01-19 at 19:57 +1100, Simon Kissane wrote: > However, when I try to decrypt data encrypted with the private key, I > get a "failed to convert unprotected openpgp key: Checksum error" Simpler check: % gpg --export-secret-key gpg: key 4252EB6983CE74C44F549B6F8666715

Re: [OT] Re: failed to convert unprotected openpgp key: Checksum error

2018-01-22 Thread Daniele Nicolodi
On 1/22/18 12:30 PM, Kristian Fiskerstrand wrote: > On 01/22/2018 06:31 PM, Daniele Nicolodi wrote: >> On 1/22/18 5:31 AM, Kristian Fiskerstrand wrote: >>> On 01/22/2018 08:33 AM, Werner Koch wrote: That is an acceptable user-id. I would have used a dot as delimiter but that is a persona

Re: [OT] Re: failed to convert unprotected openpgp key: Checksum error

2018-01-22 Thread Kristian Fiskerstrand
On 01/22/2018 06:31 PM, Daniele Nicolodi wrote: > On 1/22/18 5:31 AM, Kristian Fiskerstrand wrote: >> On 01/22/2018 08:33 AM, Werner Koch wrote: >>> That is an acceptable user-id. I would have used a dot as delimiter but >>> that is a personal taste. >> >> Dot is a permitted part of username in PO

Re: [OT] Re: failed to convert unprotected openpgp key: Checksum error

2018-01-22 Thread Daniele Nicolodi
On 1/22/18 5:31 AM, Kristian Fiskerstrand wrote: > On 01/22/2018 08:33 AM, Werner Koch wrote: >> That is an acceptable user-id. I would have used a dot as delimiter but >> that is a personal taste. > > Dot is a permitted part of username in POSIX though, while : is not :) Uh? As far as I know, t

[OT] Re: failed to convert unprotected openpgp key: Checksum error

2018-01-22 Thread Kristian Fiskerstrand
On 01/22/2018 08:33 AM, Werner Koch wrote: > That is an acceptable user-id. I would have used a dot as delimiter but > that is a personal taste. Dot is a permitted part of username in POSIX though, while : is not :) -- Kristian Fiskerstrand Blog: https://blog.sumptu

Re: failed to convert unprotected openpgp key: Checksum error

2018-01-21 Thread Werner Koch
On Mon, 22 Jan 2018 03:40, skiss...@medallia.com said: > showing that problem (whatever it is) isn't the User ID. (My reading of > RFC4880 > section 5.11 is that having an email in the User ID is just a convention not > mandatory, so software should be robust in the face of User IDs breaking that

Re: failed to convert unprotected openpgp key: Checksum error

2018-01-21 Thread Simon Kissane
On Mon, Jan 22, 2018 at 11:36 AM, Zechariah Seth wrote: > Simon Kissane wrote: >> (This is just a test key generated for testing purposes, so it is fine >> to share it publicly.) > > Interesting "User ID" on that key: > "root:testGpg:key_54503F79_3794_456C_8725_8977A68B71C1" > > I hope no one is f

Re: failed to convert unprotected openpgp key: Checksum error

2018-01-21 Thread Zechariah Seth
Simon Kissane wrote: > (This is just a test key generated for testing purposes, so it is fine > to share it publicly.) Interesting "User ID" on that key: "root:testGpg:key_54503F79_3794_456C_8725_8977A68B71C1" I hope no one is foolish enough to import your key and run your script. __

failed to convert unprotected openpgp key: Checksum error

2018-01-19 Thread Simon Kissane
Hi I have written some code in Java to generate private/public keys, and export them in OpenPGP format (using BouncyCastle's OpenPGP classes). However, when I try to decrypt data encrypted with the private key, I get a "failed to convert unprotected openpgp key: Checksum error"