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

74 Commits

Author SHA1 Message Date
Max
60a4eef3de Fix linter warnings (#1450)
* Remove unnecessary utils files in favor of cli-utils package
* Remove nolint:revive directive from bcrypt-pbkdf file
2025-07-10 11:15:28 -07:00
Mariano Cano
bbc2f41f69 Add support for KMS in the ca renew and rekey commands
This commit adds support for using a key present in a KMS when renewing
or rekeying an X.509 certificate.

Fixes #1314
2025-01-27 17:49:33 -08:00
Herman Slatman
de85fd0cef Use github.com/smallstep/cli-utils and reorder imports 2024-09-30 13:25:46 +02:00
Herman Slatman
a6a421459f Fix linter issues 2024-08-21 12:55:59 +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
Carl Tashian
be5b552cff Tweak proxy restriction 2022-11-15 17:46:08 -08:00
Carl Tashian
bd42c045a7 Note RA mode restriction around mTLS renewal 2022-11-15 17:44:28 -08:00
Carl Tashian
381dff276d Update renew docs to clarify when mTLS is and is not used for renewal 2022-11-15 17:25:42 -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
Mariano Cano
d7a542f920 Work in progress of using go.step.sm/crypto 2022-09-29 18:56:03 -07:00
max furman
a62a7fa71c nolinlint 2022-08-18 19:22:46 -07:00
max furman
85fa03947f Fix or ignore gosec issues
* fix a few other linting issues
2022-08-18 18:55:38 -07:00
Mariano Cano
d9388c99cf Rename method to RenewWithToken to clarify current usage 2022-07-15 16:24:03 -07:00
Mariano Cano
d2463ab957 Modify help per review 2022-07-15 16:15:25 -07:00
Mariano Cano
eb4dd7e3e5 Remove token flag. 2022-07-15 16:09:05 -07:00
Mariano Cano
a34efbc914 Allow to use the token flow on step ca renew
Using --mtls=false will force the token authorization flow instead
of mTLS.
2022-07-15 15:06:44 -07:00
Mariano Cano
30fd1592b7 Clarify error message. 2022-04-13 12:25:35 -07:00
Mariano Cano
ef532b6872 Use a fixed string as an issuer.
Instead of using the provisioner name as an issuer, the renew and
admin tokens generated by the cli will have a fixed string because
in specific cases, like an RA mode there's no guarantee that the RA
will have a provisioner with the same name configured.
2022-04-13 12:20:24 -07:00
Mariano Cano
eb1d58f411 Add support for the --x5c-insecure flag in step ca token 2022-03-11 16:54:03 -08:00
Mariano Cano
c2e4d29bab Add support for renew after expiry in step ca renew 2022-03-11 16:47:56 -08:00
max furman
2881ea481e Remove internal ui package 2021-12-19 11:27:07 -05:00
max furman
a73a4b0517 Remove duplicate --expires-in flag in usage 2021-12-07 17:57:56 -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
2eccb2be3d Fixing a load of errors from the PR review 2021-11-10 23:18:33 -08:00
max furman
f816f1a621 move errs package to cli-utils 2021-10-27 15:55:18 -07:00
max furman
a8c2310160 Add context flag to all relevant commands 2021-10-27 15:55:17 -07:00
max furman
860c213b97 Initial step path contexts commit
- move config and command packages to cli-utils
2021-10-27 15:55:16 -07:00
max furman
5fc9180fb1 Added a few for linters and fixed a few more warnings 2021-10-07 20:14:35 -04:00
max furman
6407b1b75f fixing gocritic linter feedback 2021-10-07 17:59:57 -04:00
max furman
ea26436d93 Thread CA password decryption into offline CA bootstrap 2021-09-08 14:54:09 -07:00
max furman
3e90b775ed rekey selectively write private key 2021-08-17 13:48:38 -07:00
TommyA56Code
e836d920cb Formatting Fixes 2021-08-17 11:01:36 -07:00
TommyA56Code
01d8684986 Formatting / Cleaning up
Co-Authored-By: Megan Malone <84212651+cookie-annihilator@users.noreply.github.com>
2021-08-17 11:01:36 -07:00
TommyA56Code
7fdec1de99 Changed how privateKey is written to file
Still same functionality new function to do it
2021-08-17 11:01:36 -07:00
TommyA56Code
c8c6dadb89 Changed flags 2021-08-17 11:01:36 -07:00
TommyA56Code
1e803ab0a2 Fixed type error with CertificateRequests 2021-08-17 11:01:35 -07:00
TommyA56Code
8f20aebb38 Rekey function put in renew.go 2021-08-17 11:01:30 -07:00
max furman
fc5172c79f lint fix for next param 2021-08-09 19:52:03 -07:00
max furman
a0eca7b9cd compact switch statement and add missing next param in daemon 2021-08-09 19:45:49 -07:00
max furman
8b08cd1c9b error for invalid expires-in and fix renew daemon 2021-08-09 19:16:35 -07: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
6a7e35e26e Specify always a Proxy in all custom transports.
Related to smallstep/certificates#535
2021-04-14 19:31:39 -07:00
max furman
4f29ce74e2 Odds and ends from PR review 2020-12-22 15:25:00 -05:00
max furman
2f4bb2d5e2 Add --pid-file flag to step ca renew
- Fixes #397
2020-12-22 15:08:05 -05:00
Mariano Cano
7061940e7e Unify the way the flags are printed in markdown files. 2020-10-01 17:01:33 -07:00
max furman
6bab49a31a change cmd to flags.ParseCaURL and flags.ParseCaURLIfExists 2020-08-02 11:46:38 -07:00
max furman
c3f499e3ef Implicitly require https scheme for ca-url cmd line arg
Fixes #336
2020-08-02 11:46:38 -07:00