Max
1299e730a1
Merge pull request #20 from APTy/cert/inspect/stdin
...
Cert/inspect/stdin
2018-08-14 11:30:55 -07:00
Tyler Julian
a1a8d9fcf3
Allow certificate inspect command to read from stdin
...
errs: Fix error type coersion in FileError function
utils/read: Add ReadFile utility for reading a file or stdin
command/certificate/inspect: Allow for stdin ("-") as filename
utils: Move setStdin to test file
Add github.com/stretchr/testify to Gopkg.lock
2018-08-13 22:12:39 -07:00
max furman
a39f1d4659
add a bit of documentation describing cert/lint
2018-08-13 14:56:11 -07:00
max furman
85e55adbae
add --bundle option to certificate inspect
...
* fix #17
2018-08-10 18:20:56 -07:00
Tyler Julian
af6d35803c
command/certificate: Make file names in docs more consistent
2018-08-10 11:02:10 -07:00
max furman
a1c96fc7a5
fix ineff assign to err
2018-08-07 10:54:03 -07:00
Mariano Cano
81b64b0afa
Add missing dollar sign.
2018-08-07 10:08:34 -07:00
max furman
562481f975
switch to utils.ReadPassword and make getPass prompt consistent
2018-08-06 22:53:07 -07:00
max furman
dcd6bf33e2
fix certificate verify panic on bad/empty PEM
...
* return helpful errors instead of panicking
* update example in certificate/certificate for verify with required
flag
2018-08-06 18:07:28 -07:00
max furman
f50c910ea0
step certificates -> step certificate -- fix
2018-08-06 17:21:19 -07:00
max furman
d6bfbae400
fix syntax certificate create usage
2018-08-06 17:09:55 -07:00
Mariano Cano
d68fbd2ada
Change oauth usage.
2018-08-06 14:31:36 -07:00
Mariano Cano
e8190ce801
Replace JWT for JWS in step crypto jws sign help.
2018-08-06 12:21:27 -07:00
max furman
3e76ebb1d3
certificate sign check signature of CSR
...
* check the signature of the CSR before signing
* add integration test to fail for bad signature csr
2018-08-03 16:25:20 -07:00
max furman
ad4f362f71
pem CSR header "CSR" -> "CERTIFICATE REQUEST"
...
* allows us to play nicely with openssl
2018-08-02 18:46:48 -07:00
Mariano Cano
8e131a9065
Use 1 minute instead of 1 month in examples.
2018-08-02 15:53:46 -07:00
max furman
3e518ce770
rename pem and x509 subpkgs
...
* crypto/pem -> crypto/pemutil
* crypto/certificates/x509 -> crypto/x509util
2018-08-02 01:03:12 -07:00
Mariano Cano
2a6d7f46d9
Use a custom claim validator that returns all errors.
2018-08-01 18:23:43 -07:00
Mariano Cano
7b7ac53300
Validate exp and nbf only if they are provided
2018-08-01 16:27:30 -07:00
Mariano Cano
822130e3e4
Validate exp parameter in the future.
2018-08-01 16:26:43 -07:00
Mariano Cano
1aaf7c5006
Fix typos.
2018-08-01 12:51:11 -07:00
Mariano Cano
d428418edd
Fix required messages.
2018-08-01 12:48:22 -07:00
Mariano Cano
9064ddb6bd
Unify usage text for jwk command.
2018-08-01 12:47:43 -07:00
Mariano Cano
b37b0d5221
Add examples to step crypto jws.
2018-07-31 12:54:25 -07:00
Mariano Cano
9b7f44b8e8
Merge pull request #4 from smallstep/jws
...
Add support JWS commands
2018-07-31 12:11:04 -07:00
Mariano Cano
abce014c8e
Update kdf docs with argon2i and argon2id.
2018-07-31 12:09:01 -07:00
Mariano Cano
e6ea8a1b77
Merge pull request #3 from smallstep/argon2
...
Add support for argon2i and argon2id kdf
2018-07-31 11:46:12 -07:00
max furman
d756e31ba9
fix certificate create flag bug
...
need to check that the profile flag matches one of our preset values
before starting to do logic on it.
2018-07-30 18:42:37 -07:00
max furman
60339176b6
standardize readging key algos, curves, sizes from the CLI
2018-07-30 18:42:37 -07:00
max furman
1cf4b2982a
add examples and improve error messaging
2018-07-27 18:00:55 -07:00
max furman
5322445aa0
add examples for inspecting CSRs
2018-07-27 16:53:54 -07:00
Mariano Cano
77bba09b58
Move kdf logic to crypto.
2018-07-27 13:37:08 -07:00
max furman
03dde3cadd
Remove dep on zmap - use our own forks for zcrypto/zlint
...
* for interoperability w/ *25519
* fixes #8
2018-07-27 11:52:25 -07:00
max furman
14f5a9d5e8
fixes #9
2018-07-27 09:55:59 -07:00
Mariano Cano
1fb4a8b582
Use the new field names for PBES2 fields.
2018-07-26 22:26:00 -07:00
max furman
5697c85133
use smallstep forked version of certinfo that supports *25519 keys
2018-07-26 20:57:49 -07:00
max furman
9048bd3142
fixes #6 , fixes #7
2018-07-26 20:57:49 -07:00
max furman
3db01fd083
add zcrypto pkg for dumping certificates to json
...
* needed to make changes to zcrypto to support *25519
2018-07-26 20:57:49 -07:00
max furman
75e2f7f4ed
able to create x509 w/ *25519 keys
2018-07-26 20:57:48 -07:00
max furman
53dae80fa2
added kty,curve,size flags to certificate create
...
* laying down route for x509 with 25519 keys
2018-07-26 20:57:48 -07:00
max furman
7bc54029cd
used RequiredWith errors in certificate create
2018-07-26 20:57:48 -07:00
Mariano Cano
de94d0228d
Do not require a - to pass a payload using a pipe
2018-07-26 16:14:37 -07:00
Mariano Cano
cc29ec9acb
Remove my name from an example.
2018-07-26 15:46:33 -07:00
Mariano Cano
152b30ab0e
Add examples to step crypto otp.
2018-07-26 15:37:44 -07:00
Mariano Cano
3b6bd28ab4
Add examples to nacl commands.
2018-07-26 15:16:05 -07:00
Mariano Cano
dec69747d4
Use the proper command in jwx examples.
2018-07-26 15:15:03 -07:00
Mariano Cano
7e65e979ac
Add examples for step crypto kdf commands.
2018-07-26 12:14:02 -07:00
Mariano Cano
ad731e58eb
Add jwt sign examples with payload.
2018-07-25 17:17:19 -07:00
Mariano Cano
f75105bccf
Add examples for step crypto jose format.
2018-07-25 17:06:33 -07:00
Mariano Cano
043f6b09fb
Add examples for step crypto jwe.
2018-07-25 16:16:37 -07:00