From: Jonathan McDowell Date: Sat, 15 Aug 2015 09:24:58 +0000 (+0100) Subject: Fix keysize for Ed25519 to 255 bits X-Git-Tag: onak-0.4.6~8 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=7a8915ce650bf0e5ea0c7f83c11979d6a9c549e4;p=onak.git Fix keysize for Ed25519 to 255 bits --- diff --git a/keyindex.c b/keyindex.c index ae1bcf8..bef41f4 100644 --- a/keyindex.c +++ b/keyindex.c @@ -107,7 +107,7 @@ unsigned int keylength(struct openpgp_packet *keydata) (keydata->data[13] == 0x47) && (keydata->data[14] == 0x0F) && (keydata->data[15] == 0x01)) { - length = 256; + length = 255; /* nistp256 / 1.2.840.10045.3.1.7 */ } else if ((keydata->data[6] == 8) && (keydata->data[7] == 0x2A) &&