1
0
mirror of https://github.com/smallstep/cli.git synced 2026-10-29 00:17:23 +03:00

43 Commits

Author SHA1 Message Date
Mariano Cano
1496671a88 Allow to add custom validity in step certificate create
Fixes #51
2018-12-21 16:48:35 -08:00
max furman
6703c03c3e differentiate between output types for --csr 2018-12-05 12:12:07 -08:00
Mariano Cano
2d096e3134 Merge pull request #42 from smallstep/ui-improvements
UI improvements
2018-11-30 18:50:28 -08:00
Mariano Cano
1ff3910951 Add output to certificate commands 2018-11-30 17:04:27 -08:00
max furman
edb0afcb7f remove incorrect documentation 2018-11-30 11:09:35 -08:00
Mariano Cano
1db806f317 Use ui instead of ssh/terminal package.
Fixes #33
2018-11-29 20:08:35 -08:00
Sebastian Tiedtke
51791a4ee3 No closing period for consistency 2018-11-29 16:51:27 -08:00
Mariano Cano
e3e5cc1b62 Make sure all the short help uses the first person
Fixes #37
2018-11-28 12:41:55 -08:00
Mariano Cano
c99c9b0ec0 Fix integration tests. 2018-11-27 17:53:36 -08:00
Mariano Cano
0cface6e9b Add flag --force on all commands using utils.WriteFile
Fixes smallstep/ca-component#121
2018-11-27 17:53:36 -08:00
max furman
93aa6d61c5 Add tools for reformatting certificate and keys
* for switching between different formats - der, pem, etc.
* fix bug in change-pass
2018-11-15 22:57:19 -08:00
Mariano Cano
d08c043794 Add output in fingerprint example. 2018-10-22 16:06:49 -07:00
Mariano Cano
de60e67e1f Add command to get a certificate fingerprint.
Fixes smallstep/ca-component#77
2018-10-22 16:00:36 -07:00
max furman
aa541f0cfc add certificate verify for remote certificates 2018-09-05 21:32:19 -07:00
max furman
7628145e6a fix #28 2018-09-05 20:57:56 -07:00
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
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
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
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
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
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
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
max furman
20c4a9aea4 Add support for OKP Ed25519 in **step crypto keypair** 2018-07-23 18:29:27 -07:00
max furman
396b587b01 break long lines in examples for certificate and keypair 2018-07-19 16:51:13 -07:00
max furman
8d079778d5 markdown formatting | deadcode removal from errs 2018-07-19 16:27:44 -07:00