Mariano Cano
b8817ad648
Add proxycommand and new lines to templates.
2020-01-28 13:28:16 -08:00
Mariano Cano
c7e4cc96a4
Change default user duration to 16h.
2020-01-28 13:28:16 -08:00
Mariano Cano
c729c5f925
Fix list of user ssh public keys.
2020-01-28 13:28:16 -08:00
Mariano Cano
ec90c41de6
Use nosql version with go mod.
2020-01-28 13:28:16 -08:00
Mariano Cano
d59a07ad89
Upgrade cli version.
2020-01-28 13:28:16 -08:00
Mariano Cano
bceb12a169
Upgrade go-jose to 2.4.0.
2020-01-28 13:28:16 -08:00
Mariano Cano
ee22778264
Fix lint error.
2020-01-28 13:28:16 -08:00
Mariano Cano
6489c26d4c
Use github.com/Masterminds/sprig/v3
2020-01-28 13:28:16 -08:00
Mariano Cano
4b68f1611f
Add tests for templates and some fixes.
2020-01-28 13:28:16 -08:00
Mariano Cano
8939caace4
Add tests for ssh authority methods.
2020-01-28 13:28:16 -08:00
Mariano Cano
e0bfbc4b62
Fix known_host path.
2020-01-28 13:28:16 -08:00
Mariano Cano
4f06f3901e
Add some ssh related tests.
2020-01-28 13:28:16 -08:00
Mariano Cano
385bf0a14a
Fix lint, add keys to fields.
2020-01-28 13:28:16 -08:00
Mariano Cano
d880a98295
Add tests for ssh api methods.
2020-01-28 13:28:16 -08:00
Mariano Cano
08850d5334
Add support for federated keys.
2020-01-28 13:28:16 -08:00
Mariano Cano
a713277453
Fix return of host configurations.
2020-01-28 13:28:16 -08:00
Mariano Cano
1b0d05097b
Add Write method to templates.Output.
2020-01-28 13:28:16 -08:00
Mariano Cano
b792d5c07d
Add first version of ssh templates.
2020-01-28 13:28:16 -08:00
Mariano Cano
019f679189
Create templates path, and remove unnecessary arguments.
2020-01-28 13:28:16 -08:00
Mariano Cano
37f17213bb
Add initial support for check-host endpoint.
2020-01-28 13:28:16 -08:00
Mariano Cano
d08db4df23
Rename SSH methods.
2020-01-28 13:28:16 -08:00
Mariano Cano
b5bc249e1c
Add support for multiple ssh roots.
...
Fixes #125
2020-01-28 13:28:16 -08:00
Mariano Cano
91130b9c3f
Add support for user data in templates.
2020-01-28 13:28:16 -08:00
Mariano Cano
a35988ff08
Add initial support for ssh config.
...
Related to smallstep/cli#170
2020-01-28 13:28:16 -08:00
Mariano Cano
b000b59ee6
Fix HTTP method for /ssh/sign
2020-01-28 13:28:16 -08:00
Mariano Cano
d4c47cf3e1
Fix tests.
2020-01-28 13:28:16 -08:00
Alan Christopher Thomas
8f08b47a9c
Rough wiring for basics of connecting to onboarding flow
2020-01-28 13:28:16 -08:00
Mariano Cano
961be1fbc7
Add endpoint to return the SSH public keys.
...
Related to smallstep/ca-component#195
2020-01-28 13:28:16 -08:00
Mariano Cano
a197158426
Add initial implementation of ssh config.
2020-01-28 13:28:16 -08:00
Mariano Cano
69a1b68283
Merge branch 'ssh' into kms
2020-01-27 15:41:14 -08:00
Max
f3f8ee4207
Merge pull request #161 from smallstep/unittests
...
Introduce generalized statusCoder errors and loads of ssh unit tests.
2020-01-24 16:16:00 -08:00
max furman
92c48949d7
Remove test that is no longer implemented by the method.
2020-01-24 13:47:15 -08:00
max furman
1e5763031b
Add backdate validation to sshCertValidityValidator.
2020-01-24 13:46:54 -08:00
Mariano Cano
f21f07689e
Fix a couple of race conditions in the renewal of certificates.
2020-01-24 13:46:54 -08:00
max furman
99e5bf4782
Remove all references to old apiError.
2020-01-24 13:46:41 -08:00
max furman
b265877050
Simplify statuscoder error generators.
2020-01-24 13:46:11 -08:00
max furman
c387b21808
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.
2020-01-22 17:25:23 -08:00
Mariano Cano
fa8116497c
Make Signer public and add contructor NewCloudKMS.
2020-01-21 19:09:21 -08:00
Mariano Cano
5d5ee68d88
Make GCP client public to facilitate extensibility.
2020-01-21 12:50:21 -08:00
Mariano Cano
dff498f17f
Add tests for cloudkms.
2020-01-15 19:32:26 -08:00
Mariano Cano
264179cda3
Add tests for kms and kms/apiv1 packages.
2020-01-15 17:56:50 -08:00
Mariano Cano
c250c6ad91
Add unit tests for softkms.
2020-01-15 17:30:17 -08:00
Mariano Cano
a773977a81
Fix interface change.
2020-01-15 17:29:34 -08:00
Mariano Cano
927a3b3a86
Return crypto.PublicKey on kms.GetPublicKey.
2020-01-15 17:27:21 -08:00
Mariano Cano
ec2046bba8
Add grpc dependency.
2020-01-14 18:51:05 -08:00
Mariano Cano
9021951f1a
Fix types.
2020-01-14 18:47:05 -08:00
Mariano Cano
a9c2db8f98
Add close method and fix types in softkms.
2020-01-14 18:46:18 -08:00
Mariano Cano
a3128a26bb
Add Close method to the key manager interface.
2020-01-14 18:46:01 -08:00
Mariano Cano
e60beeb7fc
Make cloudkms more robust.
...
* Automatically create key rings if needed.
* User CryptoKeyVersions if needed.
* Add support to close the client.
* Add new pareters to CreateKey responses to make things easier.
2020-01-14 18:43:39 -08:00
Mariano Cano
3f8de17a40
Cleanup types and add initial support for the options required for PKCS11.
2020-01-14 18:42:14 -08:00