[Gnuk-users] gpg: signing failed: Zero prefix in S-expression

NIIBE Yutaka gniibe at fsij.org
Fri Mar 6 07:46:47 UTC 2015


On 03/02/2015 04:54 AM, Jonathan Schleifer wrote:
> were you able to reproduce this with the steps I posted?

No.  I tested in my environment (multiple Debian Jessie), but
it was not reproducible for me.

But today, with newest Gnuk of 2015-02-25, I encountered a problem
with SSH.  It's simple failure (not Zero prefix in S-expression).

I found another embarrassing bug, and I fixed that.  Perhaps, I need
some rest.

2015-03-06  Niibe Yutaka  <gniibe at fsij.org>

	* src/ecc-edwards.c (eddsa_sign_25519): Return 0.

No, I couldn't reproduce your signing failure at all (with this fix or
without this fix).  Authkey works fine with the fix above.

I ran a test program invoking gpg2.1 to sign by eddsa and connecting
localhost by eddsa authentication with OpenSSH.  I tried 96 times,
but no failure.

Now, my token is like:

----------------------
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!

Application ID ...: D276000124010200FFFE53FF70060000
Version ..........: 2.0
Manufacturer .....: unmanaged S/N range
Serial number ....: 53FF7006
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: 255? 4096R 255?
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 3 3
Signature counter : 96
Signature key ....: C4F6 BDCD 85DC A45D F3AC  BCCA BCF3 9612 A1E2 5828
      created ....: 2015-03-06 06:42:11
Encryption key....: D4AA 9920 17A7 3A1D 5A08  BEF6 3922 2040 E91D 84E9
      created ....: 2015-03-06 06:31:37
Authentication key: 66B8 2ABB F2F0 4283 F303  7115 5F99 D809 3D7E 802E
      created ....: 2015-03-06 06:42:52
General key info..: pub  ed25519/A1E25828 2015-03-06 KanU Uncho <kan-u at gniibe.org>
sec   rsa4096/D113E4E3  created: 2015-03-06  expires: never
ssb   rsa4096/E91D84E9  created: 2015-03-06  expires: never
ssb   ed25519/A1E25828  created: 2015-03-06  expires: never
ssb   ed25519/3D7E802E  created: 2015-03-06  expires: never
-- 



More information about the gnuk-users mailing list