Skip to content
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

No support for ed25519-sk ssh key #141

Open
timhorn1 opened this issue Feb 20, 2024 · 0 comments
Open

No support for ed25519-sk ssh key #141

timhorn1 opened this issue Feb 20, 2024 · 0 comments

Comments

@timhorn1
Copy link

timhorn1 commented Feb 20, 2024

Hello,
using ssh keys with a passphrase are working fine but not with a passphrase and a yubikey, which needs to be touched.
In the terminal I can login without any problems. I am entering the passphrase and after that confirming my user presence with a touch on the yubikey, what the console asked for.
In VSCodium, there is no way to confirm the user presence via a touch on the yubikey. I assume this is the reason it fails.
The following error output is as follows:

[Info  - 17:05:54.225] Resolving ssh remote authority 'ssh-remote+tr3' (attemp #1)
[Error  - 17:05:54.236] Error while parsing SSH public key /home/timh/.ssh/timh_sk:
Error: Unsupported key format
	at Object.ee [as parseKey] (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:367023)
	at /home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:442957
	at Array.map (<anonymous>)
	at t.gatherIdentityFiles (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:442896)
	at async /home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:403197
[Trace  - 17:05:54.237] Identity keys:
None
[Info  - 17:05:54.405] Trying no-auth authentication
[Error  - 17:05:54.469] Error resolving authority
Error: All configured authentication methods failed
	at me (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:155838)
	at /home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:409472
	at authHandler (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:404849)
	at Se (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:159056)
	at USERAUTH_FAILURE (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:147859)
	at 51 (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:311872)
	at e.exports.M (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:178401)
	at H.decrypt (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:274737)
	at e.exports.F [as _parse] (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:177925)
	at e.exports.parse (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:182312)
	at Socket.<anonymous> (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:154578)
	at Socket.emit (node:events:513:28)
	at Socket.emit (node:domain:489:12)
	at addChunk (node:internal/streams/readable:324:12)
	at readableAddChunk (node:internal/streams/readable:297:9)
	at Readable.push (node:internal/streams/readable:234:10)
	at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

I would be very glad if it would be possible to use my ssh key in combination with my yubikey also for vscode!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant