1
0
mirror of https://github.com/smallstep/cli.git synced 2025-08-09 03:22:43 +03:00

29 Commits

Author SHA1 Message Date
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
636acddec0 Upgrade go.step.sm/crypto to use go-jose/v3 2023-12-12 16:53:28 -08: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
Eng Zer Jun
312adcb0f8 crypto/jwt: remove redundant len check in verify
`len` returns 0 if the slice is nil. From the Go specification [1]:

  "1. For a nil slice, the number of iterations is 0."

Therefore, an additional `len(v) != 0` check for before the loop is
unnecessary.

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-09-28 01:12:16 +08:00
Mariano Cano
133357f8ea Merge branch 'master' into use/crypto 2022-10-06 17:12:04 -07:00
Josh Soref
4afe4cfb73 Spelling
* access
* adminclient
* ampersand
* and
* ascii
* associated
* auto-detected
* browser
* certificate
* certificates
* characters
* command
* compatibility
* consist
* decodes
* digital
* distinguished
* doesn't
* encoded
* encrypted
* encrypting
* entities
* error
* extension
* from the
* from
* github
* herd
* inspecting
* interchangeable
* interchangeably
* issuing
* json
* macos
* mixed
* onboarding
* outer
* parameter
* parses
* password
* preexisting
* processed
* publickey
* reference
* remaining
* renegotiate
* represents
* secrecy
* serialization
* smartypants
* smartypantsable
* subcommand
* subject
* subtle
* suppression
* the
* tidiness
* too-soon
* truststore
* unmarshaling
* use
* wrapping

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-06 18:25:44 -04:00
Mariano Cano
d63010ef16 Use go.step.sm/jose 2022-10-04 15:26:08 -07:00
max furman
b9b48800ea A bunch more sensible linters and fixes 2022-08-18 22:39:04 -07: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
Mariano Cano
7061940e7e Unify the way the flags are printed in markdown files. 2020-10-01 17:01:33 -07:00
Carl Tashian
e68e3a7004 Explain use of --subtle flag in step crypto jwt doc 2020-07-22 11:50:25 -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
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
2a6d7f46d9 Use a custom claim validator that returns all errors. 2018-08-01 18:23:43 -07:00
Mariano Cano
7b7ac53300 Validate exp and nbf only if they are provided 2018-08-01 16:27:30 -07:00
Mariano Cano
1aaf7c5006 Fix typos. 2018-08-01 12:51:11 -07:00
Mariano Cano
d428418edd Fix required messages. 2018-08-01 12:48:22 -07:00
Mariano Cano
4c2f686e53 Add jwt examples. 2018-07-25 15:41:12 -07:00
Mariano Cano
dd2c4105d5 Do not load default algorithm with verify. 2018-07-20 19:21:28 -07:00
Mariano Cano
3542f2f673 Use variadic args in jose.Parse methods. 2018-07-20 18:54:53 -07:00
Mariano Cano
f5659b05b9 Add missing TODO 2018-07-19 18:26:08 -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
6e49d3eb3f Use markdown in step crypto jwt verify 2018-07-19 11:31:39 -07:00
Mariano Cano
c58db6b98b Initial commit 2018-07-17 16:06:17 -07:00