update pki dependency
This fixes an issue with generating certificates with ed25519 private keys.
This commit is contained in:
parent
c53a88baf7
commit
9e87cea1b0
2
go.mod
2
go.mod
|
@ -2,4 +2,4 @@ module git.zero-knowledge.org/gibheer/pkictl
|
||||||
|
|
||||||
go 1.19
|
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
|
||||||
|
|
4
go.sum
4
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-20230110133346-1165bbf13dd2 h1:P7hLO1pClVd051wVVelSI8Cgbp70/Tj1z33keGj7FPk=
|
||||||
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/go.mod h1:N0SOjUNlgYkDYBadg/Q5NjyA0Ee2w0rLf8bfsX3kzyE=
|
||||||
|
|
|
@ -45,9 +45,9 @@ func LoadPrivateKeyEd25519(raw []byte) (*Ed25519PrivateKey, error) {
|
||||||
return &Ed25519PrivateKey{pr_loaded}, nil
|
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 {
|
func (pr *Ed25519PrivateKey) PrivateKey() crypto.PrivateKey {
|
||||||
return nil
|
return pr.private_key
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return the public key for this private key.
|
// Return the public key for this private key.
|
||||||
|
|
|
@ -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
|
## explicit; go 1.19
|
||||||
git.zero-knowledge.org/gibheer/pki
|
git.zero-knowledge.org/gibheer/pki
|
||||||
|
|
Loading…
Reference in New Issue