-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ws-proxy] use ecdsa private key for createKey fake api #19211
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I asserted that SSH CA is not broke, and still works as expected. I did not test various IDE scenarios shared here, as I'm not sure how.
@jeanp413 can you help review? I've added you as a reviewer.
For the future, @iQQBot can you share with me via Slack how we typically setup?
- JetBrains IDE with a related license Gitpodders use
- How to setup a branch version of extension for VS Code Desktop
This test is failing, it is frozen at:
How long does falling back take? 🤔 It seems like the fallback isn't kicking in for when testing on dogfood. |
I added and updated documentation for Experience team in Notion for both things, and pinged you as a reviewer ✅ |
Whether it can fallback is not the key point, the key point is that this PR can fix this situation. |
@iQQBot and I spoke about this particular test ☝️, it is only necessary to land gitpod-io/gitpod-vscode-desktop#101, which is not needed now. In other words, this test is not on the critical path / not a blocker for this PR. @iQQBot I will do a brief test in preview with the current vscode extension. So long as it works fine, I'll approve so we can land this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VS Code desktop with extension v0.0.163 still works. 🥳
/unhold |
Description
This PR change
/_supervisor/v1/ssh_keys/create
hook endpoint to use ecdsa key. It provides backward compatibility for vscode desktop becausedev-tunnel-ssh
does not support ed25519.This is just a change in the algorithm of the private key. Note that this endpoint does not have any substantive effect, and these keys will not be used for authentication.
Summary generated by Copilot
🤖[deprecated] Generated by Copilot at 39ca671
Use ECDSA keys for SSH authentication in ws-proxy. Update
routes.go
to generate and marshal ECDSA keys instead of Ed25519 keys.Related Issue(s)
Fixes #
How to test
Documentation
Preview status
Gitpod was successfully deployed to your preview environment.
Build Options
Build
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish
Installer
Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh
. If enabled,with-preview
andwith-large-vm
will be enabled./hold