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

70 Commits

Author SHA1 Message Date
Mariano Cano
da4d3628ee Use certificates master branch 2019-03-25 15:52:47 -07:00
Mariano Cano
de740bc707 Remove alias. 2019-03-20 17:08:39 -07:00
Mariano Cano
9d1dca6fc3 Alias internal x509 package to stepx509 2019-03-20 17:02:19 -07:00
Mariano Cano
400901ad74 Use standard x509 as much as possible in x509util. 2019-03-20 16:51:16 -07:00
max furman
a078cb6e67 step certificate create: Added subject as SAN if empty 2019-02-26 14:15:52 -08:00
Mariano Cano
c95f1d3c1b Show error if --short is used with --format json 2019-02-21 14:50:50 -08:00
Mariano Cano
b3a4af9bf7 Reformat output for fingerprint when --bundle is used. 2019-02-21 14:39:52 -08:00
Mariano Cano
8171678aaa Print certificate information on install/uninstall
Fixes smallstep/step#149
2019-02-21 12:05:43 -08:00
Mariano Cano
6490846fb0 Add support for certificate fingerprints on bundles.
Fixes #79
2019-02-21 11:43:51 -08:00
Mariano Cano
1db8a48dee Add support for short flag in step certificate inspect.
Fixes smallstep/certificates#30
2019-02-20 18:51:20 -08:00
Sebastian Tiedtke
d060a67346 Fixed typo 2019-02-18 09:55:18 -08:00
Mariano Cano
d0261e2dad PR review changes. 2019-02-06 18:25:51 -08:00
Mariano Cano
f9983e8b35 Add examples and fix typo. 2019-02-06 18:23:34 -08:00
Mariano Cano
e7da71c720 Check for root certificate.
Fixes #59
2019-02-06 18:15:57 -08:00
Mariano Cano
57a9d7ca50 Merge branch 'master' into truststore 2019-02-05 20:37:50 -08:00
max furman
1379a62e0c Add SAN support to step certificate create 2019-02-05 18:32:13 -08:00
Mariano Cano
2369018b7c Add step certificate uninstall command
Fixes #59
2019-02-05 13:33:29 -08:00
Mariano Cano
01f076c26a Add command to install a certificate in the system truststore.
Fixes #59
2019-02-04 18:18:01 -08:00
Sebastian Tiedtke
36df74fa6e Fix typo 2019-01-29 10:12:46 -06:00
Mariano Cano
e9052f6819 Add a command to get the public key of a certificate or CSR
Fixes #68
2019-01-23 19:09:44 -08:00
Mariano Cano
4e0979b96b Fix typo. 2019-01-16 17:55:06 -08:00
Mariano Cano
e0fac8fa60 Add support for inspecting DER certificates.
Fixes #54
2019-01-16 15:20:22 -08:00
max furman
574b8b8a86 gofmt 2019-01-16 13:21:07 -08:00
max furman
941b30efc2 remote fingerprint improvements
* lowercase URL before checking prefixes
* don't overwrite error stack for step errors
* add trimURLPrefix test
2019-01-16 13:15:24 -08:00
max furman
4018ecd784 pull out common remote peer methods 2019-01-16 10:55:00 -08:00
max furman
911aac9c85 Fingerprint certificate of remote server
* addresses #56
2019-01-15 17:49:47 -08:00
Mariano Cano
6adc5b19be Use pemutil.Options on the Serialize method. 2018-12-27 16:23:36 -08:00
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