Commit Graph

28 Commits (master)

Author SHA1 Message Date
max furman 8b256f0351
address linter warning for go 1.19 1 year ago
max furman ab0d2503ae
Standardize linting file and fix or ignore lots of linting errors 2 years ago
Mariano Cano 23b8f45b37 Address gosec warnings
Most if not all false positives
2 years ago
Mariano Cano f1aabaa99c Use functions from os instead of io/ioutil 2 years ago
Mariano Cano ad8a813abe Fix linter errors 2 years ago
max furman 7fac8c96c3 Merge branch 'master' into max/context 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 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 7eeebca529 Enable step path contexts in identity and pki paths 3 years ago
max furman 741ac64c61 change name of package cli-utils/config to cli-utils/step 3 years ago
Herman Slatman e7a988b2cd
Pin golangci-lint to v1.43.0 and fix issues 3 years ago
max furman 933b40a02a Introduce gocritic linter and address warnings 3 years ago
max furman 8c709fe3c2 Init config on load | Add wrapper for cli 3 years ago
Mariano Cano 1328aa3e47 Fix review comments. 3 years ago
Mariano Cano 50b9aaec57 Add new identity tests. 3 years ago
Mariano Cano c5234e9c61 Refactor tls tunnel connections.
New method will use an identity-like file with the configuration
used to create the (m)TLS connection to the tunnel.
3 years ago
Mariano Cano 5be86691c1 Fix unit tests in Go 1.16. 3 years ago
Mariano Cano 40d0596b71 Use smallstep/cli-utils instead of smallstep/cli 4 years ago
Mariano Cano d30a95236d Use always go.step.sm/crypto 4 years ago
Mariano Cano f5d2f92099 Load identity certificate from disk in each connection. 4 years ago
Ivan Bertona 9052da66a3 Fix linter, tidy go.mod file. 4 years ago
max furman dccbdf3a90 Introduce generalized statusCoder errors and loads of ssh unit tests.
* StatusCoder api errors that have friendly user messages.
* Unit tests for SSH sign/renew/rekey/revoke across all provisioners.
4 years ago
Mariano Cano 47f4ac1b53 Add method to just write the identity certificate. 4 years ago
Mariano Cano 14e59775bd Add method to renew the identity. 4 years ago
Mariano Cano 524c221c61 Add mTLS test for identity client. 4 years ago
Mariano Cano 25144539f8 Improve identity tests. 4 years ago
Mariano Cano d85386d0b4 Add identity client and move identity to a new package. 4 years ago