Compare commits
2 Commits
c07b174d42
...
31b081c06e
Author | SHA1 | Date |
---|---|---|
Gibheer | 31b081c06e | |
Gibheer | c2115003a1 |
|
@ -7,7 +7,7 @@ import (
|
||||||
"math/big"
|
"math/big"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/gibheer/pki"
|
"git.zero-knowledge.org/gibheer/pki"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/gibheer/pki"
|
"git.zero-knowledge.org/gibheer/pki"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/gibheer/pki"
|
"git.zero-knowledge.org/gibheer/pki"
|
||||||
)
|
)
|
||||||
|
|
||||||
func CreateSignRequest(args []string) error {
|
func CreateSignRequest(args []string) error {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/gibheer/pki"
|
"git.zero-knowledge.org/gibheer/pki"
|
||||||
)
|
)
|
||||||
|
|
||||||
func loadPrivateKey(path string) (pki.PrivateKey, error) {
|
func loadPrivateKey(path string) (pki.PrivateKey, error) {
|
||||||
|
|
1
main.go
1
main.go
|
@ -51,6 +51,5 @@ where 'command' is one of:
|
||||||
verify-input verify a message using a signature and a public key
|
verify-input verify a message using a signature and a public key
|
||||||
create-sign-request create a certificate sign request
|
create-sign-request create a certificate sign request
|
||||||
create-cert create a certificate from a certificate sign request
|
create-cert create a certificate from a certificate sign request
|
||||||
diff show the differences between two certificates
|
|
||||||
`, COMMAND)
|
`, COMMAND)
|
||||||
}
|
}
|
||||||
|
|
2
pem.go
2
pem.go
|
@ -8,7 +8,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
||||||
"github.com/gibheer/pki"
|
"git.zero-knowledge.org/gibheer/pki"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
||||||
"github.com/gibheer/pki"
|
"git.zero-knowledge.org/gibheer/pki"
|
||||||
)
|
)
|
||||||
|
|
||||||
func VerifyInput(args []string) error {
|
func VerifyInput(args []string) error {
|
||||||
|
|
Loading…
Reference in New Issue