aboutsummaryrefslogtreecommitdiff
path: root/ed25519.go
AgeCommit message (Collapse)AuthorFilesLines
2023-01-10fix ed25519 key functionHEADmasterGibheer1-2/+2
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.
2022-08-15fix upstream source of ed25519Gibheer1-14/+14
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.
2017-05-12Add ToPem() to public keysGibheer1-1/+9
This was missing before from all public keys.
2017-05-12add proper pem interfaceGibheer1-1/+8
This should finally resolve the completely broken and wrong API to get a pem representation of a resource.
2015-07-12add ed25519 implementationGibheer1-0/+104
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.