fix: verify_server_keys_response fails on non-standard json fields #2415

Open
hexchen wants to merge 1 commit from hexchen/continuwuity:push-wkvumosuykpx into main

2026-10-26

fix: verify_server_keys_response fails on non-standard json fields
All checks were successful
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 7s
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Check changed files (pull_request) Successful in 7s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m22s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 9m25s
Previously `verify_server_keys_response` would work with re-serialized 
ServerSigningKeys, which drops any extra, non-standard fields from the
origin server response. The signature is made over the whole response
though, meaning that any response including extra fields will not pass
signature verification.
2026-10-26 16:04:43 +00:00