0
0
Fork 0
Commit Graph

5 Commits

Author SHA1 Message Date
Gibheer 0380f7f91c fix ed25519 key function
The private key for ed25519 never returned crypto.PrivateKey. This
caused the generation of certificates to not work and may also have
resulted in other issues.
2023-01-10 14:39:33 +01:00
Gibheer 9fcfb1009c fix upstream source of ed25519
Back when this file was created, ed25519 wasn't available as it is
today, 8 years later.
Now ed25519 is implemented in go directly, so use their work instead of
an upstream project that is now gone.
2022-08-15 22:35:00 +02:00
Gibheer e95929ed26 Add ToPem() to public keys
This was missing before from all public keys.
2017-05-12 22:19:25 +02:00
Gibheer b6c44317f5 add proper pem interface
This should finally resolve the completely broken and wrong API to get a
pem representation of a resource.
2017-05-12 15:27:44 +02:00
Gibheer 2cfb28a0ce add ed25519 implementation
This adds the ed25519 implementation. It implements most of the API,
apart from three functions.

Both MarshalPem methods write the raw bytes to the channel instead of
exporting it into ASN.1. Maybe this needs to be fixed.
The PrivateKey() function does not return a crypto.PrivateKey at the
moment, as the ed25519 private key does not implement that interface.
2015-07-12 17:46:28 +02:00