Timmy Welch
4de02548c1
Add pre-commit
2023-05-24 17:40:52 -07:00
Timmy Welch
fbca16fc9a
Improve username extraction
2023-05-24 17:40:23 -07:00
Timmy Welch
d504f22925
Return error if connection to OIDC server fails
2023-01-16 19:46:34 -08:00
Timmy Welch
3e77c30ed3
goimports
2023-01-16 19:46:04 -08:00
Timmy Welch
0276f52b49
Show current CA key on login
2023-01-14 18:30:28 -08:00
Timmy Welch
a9a40622ca
Add compatibility with Zitadel
...
Expand ~ to HOME in Agent.Socket
Add url override for gcloud functions v2
Add logging for parsing the principals
go fmt
2023-01-14 10:49:39 -08:00
Timmy Welch
bcb5789044
Make it "better"
2022-10-07 17:43:18 -07:00
lordwelch
be7e7d8541
Revert "replace github.com/stoggi/aws-oidc with internal/aws-oidc"
...
Replace github.com/stoggi/aws-oidc with git.narnian.us/lordwelch/aws-oidc
Update import paths to git.narnian.us/lordwelch/sshrimp
Remove unnecessary logging
This reverts commit 2ae68a7e316f6f692a4773ba4d2702bf144d5155.
2020-12-05 22:21:55 -08:00
lordwelch
2ae68a7e31
replace github.com/stoggi/aws-oidc with internal/aws-oidc
2020-08-07 14:49:29 -07:00
lordwelch
72834083a2
Account for invalid RSA key type from google kms and validate signature
2020-08-07 14:45:12 -07:00
lordwelch
6a43060cce
Improve GCP error handling
2020-08-07 14:43:44 -07:00
lordwelch
f63cef91d4
Use time utilities
2020-08-07 14:38:49 -07:00
lordwelch
c0cc9a787e
Add trace logging and remove kong
2020-08-07 14:36:27 -07:00
lordwelch
21da2d9b32
Implement the ExtendedAgent interface
...
This allows ssh to request sha256 and sha512 signatures
2020-05-04 04:09:52 -07:00
lordwelch
04122127c2
Add initial support for GCP
...
I've never used cloud SDK's before so no terraform files.
To make this work I had to use the Go 1.11 runtime as the go 1.13
runtime did not have the correct environment variables set.
I also had to use the key with PKCS#1 v1.5 padding the PSS Padding
did not work.
2020-05-04 04:09:35 -07:00
Jeremy Stott
6c3e3ad912
Fix validate for region.
...
* survey.Required already ensures at least one selection.
2020-02-19 00:08:21 +13:00
Jeremy Stott
6b8e6fc2c2
Initial commit of sshrimp.
...
* sshrimp-agent and sshrimp-ca building and deploying.
* mage build system working.
* successful deploy and SSH to host.
* need to tidy up and add tests.
2020-02-18 23:45:55 +13:00