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
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