Skip to content

Fix server pubkey verification#30

Merged
mkj merged 1 commit intomkj:mainfrom
korbin:fix-ssh-pubkey-auth
Aug 26, 2025
Merged

Fix server pubkey verification#30
mkj merged 1 commit intomkj:mainfrom
korbin:fix-ssh-pubkey-auth

Conversation

@korbin
Copy link
Copy Markdown
Contributor

@korbin korbin commented Aug 26, 2025

This sets force_sig to true in the ServAuth flow so that the verified message matches what the client is sending.

Presently, the server .take()s the value out of the Option, thus causing a mismatch in the signed message bytes.

@mkj
Copy link
Copy Markdown
Owner

mkj commented Aug 26, 2025

Thanks. Looks like this hasn't ever worked (or maybe before refactoring a while ago).
(Ignore the CI failure, that's some doc formatting I need to fix for nightly)

@mkj mkj merged commit 3f414c5 into mkj:main Aug 26, 2025
0 of 3 checks passed
@korbin korbin deleted the fix-ssh-pubkey-auth branch August 26, 2025 13:14
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.

2 participants