aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2023-01-10 14:36:56 +0100
committerGibheer <gibheer+git@zero-knowledge.org>2023-01-10 14:43:53 +0100
commit9e87cea1b0329e1e8db669a68d49371fadfdd7b1 (patch)
tree8e1f3cec5bd403511d9c984cc5eb52f20df3120e
parentc53a88baf72f81a3db60cc2d5a2579f29ad2872b (diff)
update pki dependencyHEADmaster
This fixes an issue with generating certificates with ed25519 private keys.
-rw-r--r--go.mod2
-rw-r--r--go.sum4
-rw-r--r--vendor/git.zero-knowledge.org/gibheer/pki/ed25519.go4
-rw-r--r--vendor/modules.txt2
4 files changed, 6 insertions, 6 deletions
diff --git a/go.mod b/go.mod
index 5734b01..3055800 100644
--- a/go.mod
+++ b/go.mod
@@ -2,4 +2,4 @@ module git.zero-knowledge.org/gibheer/pkictl
go 1.19
-require git.zero-knowledge.org/gibheer/pki v0.0.0-20220815203810-d34a8ab26ec7
+require git.zero-knowledge.org/gibheer/pki v0.0.0-20230110133346-1165bbf13dd2
diff --git a/go.sum b/go.sum
index e73db6a..d987320 100644
--- a/go.sum
+++ b/go.sum
@@ -1,2 +1,2 @@
-git.zero-knowledge.org/gibheer/pki v0.0.0-20220815203810-d34a8ab26ec7 h1:SFuERGJkxqBaWO+eNl4OuTsMNOoQjsC9OWKnTbOUkD4=
-git.zero-knowledge.org/gibheer/pki v0.0.0-20220815203810-d34a8ab26ec7/go.mod h1:N0SOjUNlgYkDYBadg/Q5NjyA0Ee2w0rLf8bfsX3kzyE=
+git.zero-knowledge.org/gibheer/pki v0.0.0-20230110133346-1165bbf13dd2 h1:P7hLO1pClVd051wVVelSI8Cgbp70/Tj1z33keGj7FPk=
+git.zero-knowledge.org/gibheer/pki v0.0.0-20230110133346-1165bbf13dd2/go.mod h1:N0SOjUNlgYkDYBadg/Q5NjyA0Ee2w0rLf8bfsX3kzyE=
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