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

501 Commits

Author SHA1 Message Date
Mariano Cano
299c65ade7 Add method to Parse a DER-encoded file. 2018-12-27 20:04:32 -08:00
Mariano Cano
1d65ab59f8 Add support to format to PKCS#8 form.
Fixes #47
2018-12-27 16:51:06 -08:00
Mariano Cano
6adc5b19be Use pemutil.Options on the Serialize method. 2018-12-27 16:23:36 -08:00
Mariano Cano
01ade37439 Fix bit length on public keys. 2018-12-27 15:44:24 -08:00
Mariano Cano
990c175ba6 Add --pkcs8 flag to step crypto key format.
Convert to DER pkcs1/sec1/pkcs8.
2018-12-27 15:32:22 -08:00
Mariano Cano
c4a78150cb Add missing change with commands to generate der files. 2018-12-27 13:22:57 -08:00
Mariano Cano
079e548abf Add MarshalPKIXPublicKey with ed25519 support. 2018-12-27 13:21:10 -08:00
Mariano Cano
b8cc206c3a Add support for encrypting PKCS#8 data.
Related to #47
2018-12-26 18:16:01 -08:00
Mariano Cano
8f209c3a0f Use Ed25519 as default curve for OKP keys. 2018-12-26 12:50:22 -08:00
Mariano Cano
8a9a1937b5 Update certificates version. v0.8.2 2018-12-21 17:32:36 -08:00
Mariano Cano
9ce795466f Merge pull request #52 from smallstep/mariano/validity
Allow to add custom validity in `step certificate create`
2018-12-21 17:19:25 -08:00
Mariano Cano
1496671a88 Allow to add custom validity in step certificate create
Fixes #51
2018-12-21 16:48:35 -08:00
Sebastian Tiedtke
b3e0774e29 Move license to APL-2.0 as per smallstep/cli/issues/34 2018-12-20 15:01:47 -08:00
Mariano Cano
efebc9c536 Merge pull request #45 from smallstep/renew-service
Renew daemon
2018-12-19 14:07:23 -08:00
max furman
e66f6dbda3 bump smallstep/certificates v0.8.2-rc.1 2018-12-11 20:38:15 -08:00
max furman
0248d66ddd add context to renew-period error msg 2018-12-11 20:31:35 -08:00
max furman
0bb83a1bcb white space and don't wrap error 2018-12-11 20:22:36 -08:00
max furman
1df747d276 documentation adjustments and use ReadCertPool 2018-12-11 17:42:39 -08:00
Mariano Cano
35e3906f73 Add support for running custom commands after a renewal.
Fixes #44
2018-12-11 17:01:02 -08:00
Mariano Cano
25e7bc2a0e Add support for running a custom command after the renew.
Fixes #44
2018-12-11 16:51:46 -08:00
max furman
09d47c447f fix ReadCertPool function
* document acceptable input
* don't fail if input is not either a file or directory
* trim space in comma delineated file list
2018-12-11 16:33:59 -08:00
Mariano Cano
7a3b673341 Remove extra character. 2018-12-11 14:15:13 -08:00
Mariano Cano
2df142c43d Add examples and some checks for the --renew-period flag.
Fixes #44
2018-12-11 12:01:55 -08:00
max furman
a633fd7f7e bump certificates version and update COMPONENT version for brew v0.8.1 2018-12-10 23:02:40 -08:00
max furman
b95666b511 fix makefile dependency ordering 2018-12-10 22:52:31 -08:00
Mariano Cano
df75da5fe7 Add fixed period to run the renewal every x duration. 2018-12-10 19:33:21 -08:00
Mariano Cano
53677e0481 Add initial version of renewal daemon.
Fixes #44
2018-12-10 18:27:16 -08:00
Mariano Cano
d1a5dc4946 Remove debug statement. 2018-12-10 11:16:35 -08:00
Mariano Cano
be93be7ae4 Move step ca renew to a new file. 2018-12-10 11:02:07 -08:00
Mariano Cano
37b4df9ab7 Initialize rand seed.
step ca renew jitter was always producing the same output.
2018-12-10 10:59:28 -08:00
Max
76ba3f3d4e Merge pull request #43 from smallstep/make
Split Makefile into common and repo specific sections
2018-12-07 14:13:09 -08:00
max furman
967eadfc04 Split Makefile into common and repo specific sections
* Other repos with their own docker build targets can inlcude common.mk
without overwriting their own docker targets.
* Normally we could achieve a similar result by placing wildcard symbols
(%) in the target names. However, because there is already a
sub-directory named 'docker', placing a wildcard in the 'docke%' target
name will cause the target to always be secondary to the directory
(regardless of .PHONY target) and therefore never meet constraints for
being rebuilt.
2018-12-07 13:57:37 -08:00
max furman
6703c03c3e differentiate between output types for --csr v0.8.1-rc.3 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
3d70e7f1c5 Fix review comments. 2018-11-30 18:47:55 -08:00
Mariano Cano
122b7a6063 Fix integration tests. 2018-11-30 18:36:31 -08:00
Mariano Cano
468334a635 Get rid of golang.org/x/crypto/ssh/terminal 2018-11-30 17:37:13 -08:00
Mariano Cano
0b01262dd7 Add simple option to use the simple prompt templates. 2018-11-30 17:36:07 -08:00
Mariano Cano
ad50506e1b Convert overwrite prompt to use the ui package. 2018-11-30 17:29:52 -08:00
Mariano Cano
93dcc89764 Add output to step crypto change-pass. 2018-11-30 17:10:28 -08:00
Mariano Cano
e579eb737f Print output in step crypto key format. 2018-11-30 17:06:34 -08:00
Mariano Cano
1ff3910951 Add output to certificate commands 2018-11-30 17:04:27 -08:00
Mariano Cano
97986167b7 Added output to nacl * keypair commands. 2018-11-30 13:06:12 -08:00
Mariano Cano
a235659fe9 Add ouput to step crypto keypair. 2018-11-30 12:47:40 -08:00
Mariano Cano
c0bc937908 Fix name of file. 2018-11-30 12:47:31 -08:00
Mariano Cano
1d56f77950 Fix message. 2018-11-30 12:44:44 -08:00
Mariano Cano
e4b9382a63 Add output to step crypto jwk create. 2018-11-30 12:43:10 -08:00
Mariano Cano
67007f70c9 Add output to step ca root 2018-11-30 12:29:22 -08:00
Mariano Cano
f2762043d6 Improve UI in step ca init. 2018-11-30 12:27:31 -08:00
Mariano Cano
4798e56521 Add informative output to step ca bootstrap. 2018-11-30 12:12:14 -08:00