File tree 3 files changed +469
-8
lines changed
3 files changed +469
-8
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import (
13
13
"github.com/smallstep/assert"
14
14
"github.com/smallstep/cli/crypto/pemutil"
15
15
"github.com/smallstep/cli/crypto/x509util"
16
- stepx509 "github.com/smallstep/cli/pkg/x509"
17
16
)
18
17
19
18
func Test_emailOnlyIdentity_Valid (t * testing.T ) {
@@ -64,9 +63,9 @@ func Test_defaultPublicKeyValidator_Valid(t *testing.T) {
64
63
ecdsaCSR , ok := _ecdsa .(* x509.CertificateRequest )
65
64
assert .Fatal (t , ok )
66
65
67
- _ed25519 , err := pemutil .Read ("./testdata/ed25519.csr" , pemutil . WithStepCrypto () )
66
+ _ed25519 , err := pemutil .Read ("./testdata/ed25519.csr" )
68
67
assert .FatalError (t , err )
69
- ed25519CSR , ok := _ed25519 .(* stepx509 .CertificateRequest )
68
+ ed25519CSR , ok := _ed25519 .(* x509 .CertificateRequest )
70
69
assert .Fatal (t , ok )
71
70
72
71
v := defaultPublicKeyValidator {}
@@ -97,7 +96,7 @@ func Test_defaultPublicKeyValidator_Valid(t *testing.T) {
97
96
},
98
97
{
99
98
"ok/ed25519" ,
100
- x509util . ToX509CertificateRequest ( ed25519CSR ) ,
99
+ ed25519CSR ,
101
100
nil ,
102
101
},
103
102
}
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ require (
10
10
github.com/rs/xid v1.2.1
11
11
github.com/sirupsen/logrus v1.4.2
12
12
github.com/smallstep/assert v0.0.0-20200103212524-b99dc1097b15
13
- github.com/smallstep/cli v0.14.0-rc.1.0.20191218000521-3e7348324838
13
+ github.com/smallstep/cli v0.14.0-rc.1.0.20200110185014-8a0d0cd3202e
14
14
github.com/smallstep/nosql v0.2.0
15
- github.com/urfave/cli v1.20.1-0.20181029213200-b67dcf995b6a
16
- golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550
17
- golang.org/x/net v0.0.0-20190620200207-3b0461eec859
15
+ github.com/urfave/cli v1.22.2
16
+ golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876
17
+ golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553
18
18
gopkg.in/square/go-jose.v2 v2.4.0
19
19
)
20
20
You can’t perform that action at this time.
0 commit comments