From 40c3b0741e593d0658dda0c707c4f32e80648dd1 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 8 Apr 2014 11:59:39 +0900 Subject: g10: EdDSA support. * g10/keyid.c (keygrip_from_pk): Compute keygrip of EdDSA key. * g10/keygen.c (generate_subkeypair): Ed25519 is for EdDSA. * common/openpgp-oid.c (oid_ed25519): Update. --- common/openpgp-oid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/openpgp-oid.c') diff --git a/common/openpgp-oid.c b/common/openpgp-oid.c index a2a3617b6..94a2296b6 100644 --- a/common/openpgp-oid.c +++ b/common/openpgp-oid.c @@ -39,7 +39,7 @@ /* The OID for Curve Ed25519 in OpenPGP format. */ static const char oid_ed25519[] = - { 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x97, 0x55, 0x01, 0x05, 0x01 }; + { 0x09, 0x2b, 0x06, 0x01, 0x04, 0x01, 0xda, 0x47, 0x0f, 0x01 }; /* Helper for openpgp_oid_from_str. */ -- cgit v1.2.3