Commit Graph

2298 Commits (9d38a170310bf6f1dd00b8061beeda7043056f3e)
 

Author SHA1 Message Date
Mariano Cano 9d38a17031 Disable logs on tests.
These logs are only useful to debug data, but it makes hard to
find the errors when tests are failing.
3 years ago
Mariano Cano d35848f7a9 Fix unit tests. 3 years ago
Mariano Cano c3f98fd04d Change some bad requests to forbidded.
Change in the sign options bad requests to forbidded if is the
provisioner the one adding a restriction, e.g. list of dns names,
validity, ...
3 years ago
Mariano Cano ff04873a2a Change the default error type to forbidden in Sign.
The errors will also be propagated from sign options.
3 years ago
Mariano Cano b9beab071d Fix unit tests. 3 years ago
Mariano Cano 507a272b4d Return always http errors in sign options. 3 years ago
Mariano Cano a33709ce8d Fix sign ssh options tests. 3 years ago
Mariano Cano 1da7ea6646 Return always http errors in sign ssh options. 3 years ago
Mariano Cano 031d4d7000 Return BadRequest when validating sign options. 3 years ago
Mariano Cano bb26799583 Modify errs.Wrap with forbidden errors. 3 years ago
Mariano Cano b5db3f5706 Modify errs.ForbiddenErr to always return an error to the cli. 3 years ago
Mariano Cano 4f84cef0cf
Merge pull request #752 from smallstep/errors-bad-request
Bad request errors
3 years ago
Carl Tashian d925bc6ba9 Fix systemd renewer to use sh 3 years ago
Mariano Cano aa3fdf8fb9 Do not overwrite errors. 3 years ago
Mariano Cano b6ebd118fc Update temporal solution for sending message to users 3 years ago
Mariano Cano 668d3ea6c7 Modify errs.Wrap() with bad request to send messages to users. 3 years ago
Mariano Cano 8c8db0d4b7 Modify errs.BadRequestErr() to always return an error to the client. 3 years ago
Mariano Cano 8ce807a6cb Modify errs.BadRequest() calls to always send an error to the client. 3 years ago
max furman 8d229b9a60 update commented template names to match reality 3 years ago
Mariano Cano 91878051c1
Merge pull request #741 from gdbelvin/ssh
Support CSR Requests from PKCS11
3 years ago
Mariano Cano febb619882 Add some extra validation and print certificate objects
This commit also changes the following flags for consistency:
  - --crt-cert to --crt-cert-obj
  - --crt-key to --crt-key-obj
3 years ago
max furman fca7de6696 changelog update for 0.18.0 3 years ago
Max de2ce5cf9f
Merge pull request #692 from smallstep/max/context
Context management
3 years ago
Mariano Cano 440616cffa
Merge pull request #750 from smallstep/duration-errors
Report duration errors directly to the cli.
3 years ago
Mariano Cano acd0bac025 Remove extra and in comment. 3 years ago
Mariano Cano 1aadd63cef Use always badRequest on duration errors. 3 years ago
max furman df2843657f [action] only run codecov for go 1.17 3 years ago
Mariano Cano 41fec1577d Report duration errors directly to the cli. 3 years ago
max furman 7fac8c96c3 Merge branch 'master' into max/context 3 years ago
Max 0a53af9efc
Merge pull request #742 from hslatman/hs/fix-golangci-lint-1.43.0
Pin golangci-lint to v1.43.0 and fix issues
3 years ago
max furman 196f6b45c9 bump cli-utils to 0.7.0 3 years ago
max furman b5bf79b84e bump nosql library 3 years ago
max furman 555431448c bump version ofcli-utils 3 years ago
max furman 922d239171 Simplify conditional 3 years ago
max furman a7d144996f SSH backwards compat updates
- use existence of new value in data map as boolean
- add tests for backwards and forwards compatibility
- fix old tests that used static dir locations
3 years ago
max furman d37313bef4 Use 0600 for profile defaults file. 3 years ago
max furman 507be61e8c Use a more distint map key to indicate template version
- make the key a variable that can be reused on the CLI side.
3 years ago
max furman f426c152a9 backwards compatibility for version of cli older than v0.18.0 3 years ago
max furman c80a64d0e6 ssh/step_config.tpl context flag in wrong spot 3 years ago
max furman fcc15174ea Rename templates and create profileConfig dir ahead of time. 3 years ago
max furman 43cba993bb PR fixes
- Line -> PrependLine
- dont' overwrite profileDefaults
- update ssh/config.tpl to always include includes file
3 years ago
max furman 3e9830e363 Use profileDefaults in PKI
- write profile defaults at the same time as authority defaults
3 years ago
max furman c8560b4854 updated method name in cli-utils 3 years ago
max furman 9d4a7cf9fc Update includes template to use STEPPATH as the replace var 3 years ago
max furman 74eea88343 Replace Fragment template with Line 3 years ago
max furman da74fa2eb9 Rename FullSnippet to Fragment and remove unused replace in go.mod 3 years ago
max furman b080b7582b Template updates to support multiple SSH include snippets 3 years ago
max furman d777fc23c2 Add ca.WithInsecure and use methods for file names 3 years ago
max furman e5951fd84c Use methods in the step package
* rather than variables set at execution time, which may not match the
actual current context
3 years ago
max furman ed4b56732e updates after rebase to keep up with master 3 years ago