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

27 Commits

Author SHA1 Message Date
Mariano Cano
79b66c93d1 Fix error message. 2019-03-20 11:28:28 -07:00
Mariano Cano
a13cc638e2 Add unit test for FileExists. 2019-02-26 16:23:16 -08:00
Mariano Cano
85a7e0b319 Add utils.FileExists method. 2019-02-25 19:07:21 -08:00
Mariano Cano
7dd55c2ec9 Add unit test 2019-01-18 16:42:53 -08:00
Mariano Cano
dd0ffc87f4 Add --password-file flag when keys are created.
Allow non-interactive flows.
2019-01-18 16:19:44 -08:00
Mariano Cano
8f209c3a0f Use Ed25519 as default curve for OKP keys. 2018-12-26 12:50:22 -08:00
Mariano Cano
ad50506e1b Convert overwrite prompt to use the ui package. 2018-11-30 17:29:52 -08:00
Mariano Cano
6567e6f85e Remove old ReadPassword methods. 2018-11-29 20:09:22 -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
Mariano Cano
4e5669c191 Add flag to overwrite flags in step ca renew
This commit only adds the flag to one command but it adds a new
method to be able to easily support it in other commands.

Fixes smallstep/step#129
2018-11-15 16:11:31 -08:00
max furman
abbe05d58b remove promts and utils/reader unused code 2018-10-12 20:44:28 -07:00
Mariano Cano
9edc53eb00 Remove unnecessary errors.WithStack. 2018-10-02 12:28:15 -07:00
Mariano Cano
3b42211ced Add password-file flag to jwt sign and verify 2018-09-28 15:42:39 -07:00
max furman
11acc429d3 remove extra new line char 2018-08-18 11:42:32 -07:00
max furman
84835f1e8c add ReadPasswordGenerate 2018-08-18 11:38:43 -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
e4b52fa0a2 fix broken identity test AND Test_... -> Test... 2018-08-06 23:17:54 -07:00
Mariano Cano
287190d733 Add missing comment. 2018-08-01 16:33:02 -07:00
Mariano Cano
233c47889b Use default RSA size and EC curve. 2018-08-01 11:42:49 -07:00
Mariano Cano
59d6e8ef87 Fix typo in P-521 curve name 2018-08-01 11:23:29 -07:00
max furman
60339176b6 standardize readging key algos, curves, sizes from the CLI 2018-07-30 18:42:37 -07:00
max furman
20c4a9aea4 Add support for OKP Ed25519 in **step crypto keypair** 2018-07-23 18:29:27 -07:00
Mariano Cano
c78db17870 Rename randutil methods. 2018-07-19 15:28:31 -07:00
Mariano Cano
38b40b83cb Move random utilities to crypto/randutil package. 2018-07-19 14:56:36 -07:00
Mariano Cano
27c1246c4c Move rand methods from utils to crypto 2018-07-19 13:18:20 -07:00
Mariano Cano
93ea130784 Move internal crypto and utils packages. 2018-07-19 12:51:14 -07:00
Mariano Cano
c58db6b98b Initial commit 2018-07-17 16:06:17 -07:00