diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2023-01-10 17:38:46 +0100 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2023-01-10 14:39:33 +0100 |
commit | 0380f7f91c831af18e37414afcdf30935b4b4ee9 (patch) | |
tree | ea77ed196eccbef388dca34e936a428fb672b72b /ed25519.go | |
parent | d34a8ab26ec72ea5ac1d1b2cd39ea736eb5af014 (diff) |
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.
Diffstat (limited to 'ed25519.go')
-rw-r--r-- | ed25519.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,9 +45,9 @@ func LoadPrivateKeyEd25519(raw []byte) (*Ed25519PrivateKey, error) { return &Ed25519PrivateKey{pr_loaded}, nil } -// TODO implement the raw API for the private key +// PrivateKey returns the private key. func (pr *Ed25519PrivateKey) PrivateKey() crypto.PrivateKey { - return nil + return pr.private_key } // Return the public key for this private key. |