Skip to content

Allow webauthn-sk-ecdsa signatures in jumphost - #81

Merged
rthellend merged 2 commits into
mainfrom
webauthn-sk-ecdsa
Nov 22, 2026
Merged

rthellend merged 2 commits into
mainfrom
webauthn-sk-ecdsa

Conversation

@rthellend

@rthellend rthellend commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

The ssh package doesn't support webauthn-sk-ecdsa-sha2-nistp256@openssh.com signatures yet. When it does, the jumphost will now support it too.

Depends on golang/go#69999
And https://go-review.googlesource.com/c/crypto/+/860801

@rthellend
rthellend force-pushed the webauthn-sk-ecdsa branch 2 times, most recently from b811b57 to b998d39 Compare November 17, 2026 15:25
The ssh package now verifies webauthn-sk-ecdsa-sha2-nistp256@openssh.com
signatures itself. Use its exported SigAlgoWebAuthnSKECDSA256 constant,
and test that a key parsed by the standard package verifies the WebAuthn
signatures produced here, with and without extensions, and that the
standard client and server authenticate with them. Until the change is
merged upstream, point golang.org/x/crypto at the fork that carries it.

That version of x/crypto also rejects certificates without principals,
in SignCert and in CheckCert. Give the certificates issued by the test
server and by the tests a principal, and sign the certificates that a
test intentionally issues without one by hand. checkCertificate also
rejects a certificate without a signature key up front instead of
dereferencing it.

Depends on golang/go#69999
And https://go-review.googlesource.com/c/crypto/+/860801

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The code is ready to support webauthn keys in the jumphost. It will
start working when the go ssh library supports it too.

The functionality depends on https://go-review.googlesource.com/c/crypto/+/860801
@rthellend rthellend changed the title Use the webauthn-sk-ecdsa signature support of golang.org/x/crypto/ssh Allow webauthn-sk-ecdsa signatures in jumphost Nov 22, 2026
@rthellend
rthellend merged commit 7dc36a2 into main Nov 22, 2026
5 checks passed
@rthellend
rthellend deleted the webauthn-sk-ecdsa branch November 22, 2026 15:21
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

Successfully merging this pull request may close these issues.

1 participant