Herman Slatman
de85fd0cef
Use github.com/smallstep/cli-utils
and reorder imports
2024-09-30 13:25:46 +02:00
Max
05f95e5b1e
Upgrade certificate 0.26.0 | fix linter warnings ( #1140 )
...
* Update certificates to 0.26.0
* Fix linter warnings
2024-03-28 19:12:36 -07:00
Mariano Cano
0f2ff58435
Sort step certificate create flags
...
This commit sorts the flags in step certificate create command. It also
adds flags for the hidden insecure and subtle and replaces them in other
commands.
2023-11-28 17:21:24 -08:00
Mariano Cano
d63010ef16
Use go.step.sm/jose
2022-10-04 15:26:08 -07:00
Mariano Cano
d7a542f920
Work in progress of using go.step.sm/crypto
2022-09-29 18:56:03 -07:00
Mariano Cano
5b37db8957
Add missing flag in help
2022-03-11 16:47:31 -08:00
Mariano Cano
07d13857d5
Allow to set the x5cInsecure header on step crypto jwt sign
2022-03-08 19:25:49 -08:00
max furman
e1ce7de736
Merge branch 'master' into max/steppath
2021-11-17 12:39:07 -08:00
max furman
e3d4f67527
Fixing linter warning errors
2021-11-16 11:39:14 -08:00
max furman
f816f1a621
move errs package to cli-utils
2021-10-27 15:55:18 -07:00
max furman
6407b1b75f
fixing gocritic linter feedback
2021-10-07 17:59:57 -04:00
max furman
70cebf51ab
A few fixes for admin workflow commands and ...
...
- <path> to <file> everywhere
2021-07-08 16:34:53 -07:00
Jonathan Giannuzzi
97f2ed457d
Make empty STDIN work for crypto jwt sign
when no input is specified
2021-06-16 22:29:23 +01:00
Mariano Cano
f4e601d227
Fix linter errors and do some documentation fixes.
2020-07-15 15:28:13 -07:00
Mariano Cano
863409cc54
Merge branch 'master' into sign_jwt_headers
2020-07-15 14:45:42 -07:00
max furman
efaf0d3dfe
x5t: Add unit tests and pull out some common validation ...
...
* enforce x5t and x5c mutually exclusive invariant
* add unit tests
* pull out common validation code in validatex5(c|t)
2020-04-30 13:45:13 -07:00
David Narayan
02158af07d
Add x5t header option
...
Adds option to create and sign a JWT with the x5t header (the
base64url-encoded fingerprint of the signing certificate).
2020-04-30 13:37:51 -07:00
Marcos Mendez
896e3219bc
renames set flag to header
2020-04-06 13:24:48 -04:00
Marcos Mendez
32c4acc072
adds set flag to allow arbitrary JWT headers for crypto jwt sign command
2020-04-05 11:59:34 -04:00
max furman
9b30694cc9
Add pwd-file to usage for jwt sign
2019-11-11 14:39:13 -08:00
max furman
323f7e11ab
Add x5c provisioner capabilities
...
* certificate create/sign with x5c token
* provisioner add/remove
* jwt/jws sign with x5c hdr
2019-10-14 15:01:46 -07:00
max furman
e49b733fbf
switch to golangci-lint and fix lots of linting errors
2019-08-26 19:04:54 -07:00
Mariano Cano
92122a6345
Fix reading from standard input in linux.
2019-06-11 18:25:36 -07:00
max furman
e44e88254d
Add revoke subcommand to step ca
...
* Access the CA /revoke API from the cli
2019-04-10 13:52:48 -07:00
Mariano Cano
2d5a5c509e
Update go-jose to 2.3.0.
...
This is a dependency for #105 , it will be solved once
square/go-jose#224 gets merged
2019-04-05 13:00:58 -07:00
Mariano Cano
cd714b1a8b
Fix TODO in jwx docs.
...
Fixes smallstep/ca-component#102
Fixes smallstep/ca-component#103
Fixes smallstep/ca-component#104
2018-10-31 15:55:58 -07:00
Mariano Cano
3b42211ced
Add password-file flag to jwt sign and verify
2018-09-28 15:42:39 -07:00
Mariano Cano
822130e3e4
Validate exp parameter in the future.
2018-08-01 16:26:43 -07:00
Mariano Cano
de94d0228d
Do not require a - to pass a payload using a pipe
2018-07-26 16:14:37 -07:00
Mariano Cano
4c2f686e53
Add jwt examples.
2018-07-25 15:41:12 -07:00
Mariano Cano
3542f2f673
Use variadic args in jose.Parse methods.
2018-07-20 18:54:53 -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
642fb9c28f
Move internal jose package
2018-07-19 12:52:20 -07:00
Mariano Cano
93ea130784
Move internal crypto and utils packages.
2018-07-19 12:51:14 -07:00
Mariano Cano
e44378eaab
Use markdown in step crypto jwt sign command
2018-07-18 19:21:01 -07:00
Mariano Cano
d6eed1e387
Fix numeric lists.
2018-07-18 16:26:22 -07:00
Mariano Cano
c58db6b98b
Initial commit
2018-07-17 16:06:17 -07:00