[webauthn] Pull Request: Gen test vectors

emlun has just submitted a new pull request for https://github.com/w3c/webauthn:

== Gen test vectors ==
This replaces PR #2281.

#2209 added test vectors, and I said that:

>I plan to also share the code used to generate these, but I needed to patch some of the libraries I used, so I need to resolve that first.

Most of this upstreaming is now resolved, so this PR adds a cleaned-up version of the scripts used to generate test vectors.

This also revealed a mistake in the documentation of how the `salt_enc` IV values were generated: the were generated with seed suffixes `0x06` and `0x07`, not `0x07` and `0x08`. Commit 946490376a44df546c6745f2d17d5dbe5aa3089c first fixes the description to match the test vectors, and commit 87cab44efad607ee370416f4cf517eb77f28d632 then reverts to the original description and instead updates the test vectors to match.


See https://github.com/w3c/webauthn/pull/2289


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 6 May 2025 12:08:19 UTC