diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2023-01-10 14:36:56 +0100 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2023-01-10 14:43:53 +0100 |
commit | 9e87cea1b0329e1e8db669a68d49371fadfdd7b1 (patch) | |
tree | 8e1f3cec5bd403511d9c984cc5eb52f20df3120e /vendor/git.zero-knowledge.org | |
parent | c53a88baf72f81a3db60cc2d5a2579f29ad2872b (diff) |
This fixes an issue with generating certificates with ed25519 private
keys.
Diffstat (limited to 'vendor/git.zero-knowledge.org')
-rw-r--r-- | vendor/git.zero-knowledge.org/gibheer/pki/ed25519.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/git.zero-knowledge.org/gibheer/pki/ed25519.go b/vendor/git.zero-knowledge.org/gibheer/pki/ed25519.go index 0104beb..c616e70 100644 --- a/vendor/git.zero-knowledge.org/gibheer/pki/ed25519.go +++ b/vendor/git.zero-knowledge.org/gibheer/pki/ed25519.go @@ -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. |