[webauthn] Merged Pull Request: Add scripts used to generate test vectors

emlun has just merged emlun's pull request 2289 for https://github.com/w3c/webauthn:

== Add scripts used to generate 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.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/w3c/webauthn/pull/2289.html" title="Last updated on May 6, 2025, 2:37 PM UTC (00542a6)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/webauthn/2289/43b55de...00542a6.html" title="Last updated on May 6, 2025, 2:37 PM UTC (00542a6)">Diff</a>

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 Wednesday, 7 May 2025 19:34:25 UTC