Herman Slatman
6a18ddaf61
Fix deprecation of testscript.RunMain
2025-06-25 18:57:29 +02:00
Herman Slatman
279e638d2b
Allow changing the app name at compile time through AppName
2025-06-17 16:58:08 +02:00
Herman Slatman
f338d80d64
Refactor CLI to make it testable using testscript
2025-06-12 15:24:13 +02:00
Herman Slatman
cdb6e0157a
Fix linter issues by updating linters and ignoring some issues
2025-05-29 19:20:12 +02:00
Herman Slatman
24f94b03a4
Add basic tests for CLI app initialization and execution
2024-09-30 13:26:38 +02:00
Herman Slatman
177f391fb7
Use github.com/smallstep/cli-utils in CLI main
2024-09-30 13:26:36 +02:00
Herman Slatman
2ee14c5af0
Improve error message when a known plugin is not found
2024-03-29 12:16:10 +01:00
Mariano Cano
0b51ad0f70
Upgrade go-pkcs12 and use modern encoders
...
This PR upgrades go-pkcs12 and switches the default encoder to a modern
version PBES2 with PBKDF2-HMAC-SHA-256 and AES-256-CBC. It also adds
a legacy flag to use the previous version.
This PR also fixes some linter issues.
Fixes #1061
2023-11-28 18:01:27 -08:00
Max
6020d95ace
PEM format check should query whole file for expected header ( #1006 )
...
* rand.Seed(SEED) deprecated and unnecessary since golang 1.20
2023-08-17 15:44:44 -07:00
Mariano Cano
a05d039ab5
Remove automatic initialization of the STEPPATH
...
This commit upgrades cli-utils and crypto packages that remove the
automatic initialization of the STEPPATH.
2023-07-26 14:51:10 -07:00
max furman
1e0fbc4253
Remove duplicated usage package. Real one lives in cli-utils
2023-04-11 09:49:06 -07:00
max furman
6f825269e7
Remove nolint causing linter warning
2023-02-27 09:17:28 -08:00
Andrew Reed
26e2b891e2
Add step api token create command ( #842 )
2023-02-16 10:16:18 -06:00
max furman
07f0dcfaa4
Ignore rand.Seed deprecation.
...
- we still compile and test with go 1.19 so we won't remove the newly
deprecated code yet.
2023-02-15 14:03:57 -08:00
Mariano Cano
3d71135155
Define go.step.sm/crypto globals
2022-10-04 13:57:05 -07:00
max furman
2d96380899
Fix unused linter warnings
...
* use errors.As with interface{} correctly
2022-09-21 18:19:24 -07:00
max furman
cd69a29fbc
Knock out a few more golang linter warnings
2022-08-22 09:34:15 -07:00
max furman
b9b48800ea
A bunch more sensible linters and fixes
2022-08-18 22:39:04 -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
36e2d2929a
Add string to install known plugins
2022-07-07 11:43:40 -07:00
Mariano Cano
1143f5dfcf
Do not ignore ShowAppHelp return value
2022-07-07 11:13:05 -07:00
Mariano Cano
3b128ec403
Add initial support for executing command plugins
...
Commands with names like `step-kms-plugin` can be executed using
`step kms <command>`
2022-07-06 11:39:25 -07:00
max furman
929ee225f7
PR comment updates and fixes
2022-05-19 23:21:21 -07:00
Herman Slatman
d0d7ad221d
Make copyright year dynamic
2022-02-25 11:49:36 +01:00
Omar Aloraini
fb2ca6cde7
Add completion command
...
Fixes #622
2022-02-10 01:26:12 +03:00
Mariano Cano
cede6e2a35
Add initial implementation of step crl inspect.
...
Current functionality supports to inspect a local crl or one a
remote one server by HTTP(s) and print it in json, pem or a human
representation.
2022-01-07 16:43:04 -08:00
max furman
f816f1a621
move errs package to cli-utils
2021-10-27 15:55:18 -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
b124e13c0b
Fixing of comments related to PR
2021-10-07 18:53:17 -04:00
max furman
3816bd2d86
Add //nolint for exitAfterDefer in well known locations
2021-10-07 18:14:21 -04:00
max furman
6407b1b75f
fixing gocritic linter feedback
2021-10-07 17:59:57 -04:00
Mariano Cano
25c39a7723
Add initial support for StepCAS RAs
2021-07-28 19:24:57 -07:00
max furman
cce2ea8ef2
Admin workflow CLI v1
2021-07-08 16:31:37 -07:00
Mariano Cano
1dd9c2a130
Add support for cloud CAS in step ca init.
2020-10-19 18:59:58 -07:00
Sebastian Tiedtke
e050b985e0
Use date range in copyright
2020-02-10 09:54:06 -08:00
max furman
a8754c1c4b
Add a few graceful errors to checkHost
2020-01-28 13:34:00 -08:00
Mariano Cano
95a8e5bfe1
Set CA UserAgent
2020-01-28 13:34:00 -08:00
Mariano Cano
0759276702
Refactor common code between ssh and ca to cautils and flags.
2019-08-14 15:46:05 -07:00
Mariano Cano
1138ceb396
Remove extra line.
2019-08-01 13:06:52 -07:00
Mariano Cano
fca3278137
Do not show value on boolean flags help.
2019-08-01 13:05:41 -07:00
Mariano Cano
92122a6345
Fix reading from standard input in linux.
2019-06-11 18:25:36 -07:00
Mariano Cano
b419a4f8e8
Add test command step fileserver.
2019-05-17 11:36:05 -07:00
Mariano Cano
8c90d5fc32
Allow to use version command with multiple tools.
2019-04-10 18:23:45 -07:00
Mariano Cano
12669ef3b3
Add a panic handler.
2019-03-12 12:13:15 -07:00
Sebastian Tiedtke
7cc6e20aae
it's 2019
2019-01-14 15:03:20 -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
Mariano Cano
79d7944728
Move --steppath flag to the command step path
...
Fixes smallstep/step#133
2018-11-21 15:53:19 -08:00
Mariano Cano
7642eca9b7
Add flag to print the steppath.
2018-11-16 11:29:58 -08:00
Mariano Cano
c717bc1395
Allow to get flag values from a configuration file.
2018-10-11 17:04:19 -07:00