Repository navigation
Allow webauthn-sk-ecdsa signatures in jumphost - #81
Merged
Merged
Conversation
rthellend
force-pushed
the
webauthn-sk-ecdsa
branch
2 times, most recently
from
November 17, 2026 15:25
b811b57 to
b998d39
Compare
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>
rthellend
force-pushed
the
webauthn-sk-ecdsa
branch
from
November 17, 2026 15:26
b998d39 to
68d93a4
Compare
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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