From 9e87cea1b0329e1e8db669a68d49371fadfdd7b1 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Tue, 10 Jan 2023 14:36:56 +0100 Subject: update pki dependency This fixes an issue with generating certificates with ed25519 private keys. --- vendor/git.zero-knowledge.org/gibheer/pki/ed25519.go | 4 ++-- vendor/modules.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor') 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. diff --git a/vendor/modules.txt b/vendor/modules.txt index 42f4cea..c947b58 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,3 +1,3 @@ -# git.zero-knowledge.org/gibheer/pki v0.0.0-20220815203810-d34a8ab26ec7 +# git.zero-knowledge.org/gibheer/pki v0.0.0-20230110133346-1165bbf13dd2 ## explicit; go 1.19 git.zero-knowledge.org/gibheer/pki -- cgit v1.2.3-70-g09d2