31 Commits

Author SHA1 Message Date
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 v0.0.8 2023-01-16 19:46:34 -08:00
Timmy Welch
3e77c30ed3
goimports 2023-01-16 19:46:04 -08:00
Timmy Welch
9573438f75
Open the socket before opening the log 2023-01-16 19:45:32 -08:00
Timmy Welch
d9b0b2e21a
go mod tidy v0.0.7 2023-01-14 19:54:06 -08:00
Timmy Welch
78559f0bc7
Remove replace directive v0.0.6 2023-01-14 19:35:47 -08:00
Timmy Welch
0276f52b49
Show current CA key on login v0.0.5 2023-01-14 18:30:28 -08:00
Timmy Welch
5d7886db40
go get -u && go mod tidy 2023-01-14 10:57:24 -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
da6ba96063 Bump aws-oidc version
Ignore SIGHUP on unix systems
v0.0.4
2020-12-06 12:11:18 -08:00
lordwelch
20c5cf00ea Bump aws-oidc version v0.0.3 2020-12-06 11:15:51 -08:00
lordwelch
5ba301f051 Update dependencies v0.0.2 2020-12-05 23:13:49 -08: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.
v0.0.1
2020-12-05 22:21:55 -08:00
lordwelch
761b329841 go get -u ./... 2020-08-07 14:54:11 -07:00
lordwelch
ec70ee81d8 go mod tidy 2020-08-07 14:50:27 -07:00
lordwelch
2ae68a7e31 replace github.com/stoggi/aws-oidc with internal/aws-oidc 2020-08-07 14:49:29 -07:00
lordwelch
6d3a7a0d10 Remove sighup 2020-08-07 14:46:34 -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
edd7a9ddc9 Improve the agent signal handling and error handling
There is probably a better way to make the list of signals to catch

I also noticed that the agent kept dying on me when the CA was not setup
correctly with an EOF error from the ssh client
2020-05-04 04:09:57 -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
Jeremy Stott
3a4b6b4c96
Update README.md 2020-01-17 14:32:44 +10:00
Jeremy Stott
c3cd9f0254
Update README.md 2020-01-17 14:26:39 +10:00
Jeremy Stott
4594e16994
Initial commit 2020-01-17 14:25:21 +10:00