w3c / vc-di-bbs-test-suite

Interoperability Test Suite for Data Integrity BBS Signatures
https://w3c.github.io/vc-di-bbs-test-suite
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

(5) Invalid hmac test #38

Closed aljones15 closed 2 months ago

aljones15 commented 2 months ago

Adds a test for this statement: Per the recommendations of [RFC2104], the HMAC key MUST be the same length as the digest size; for SHA-256, this is 256 bits or 32 bytes.

Features:

  1. a new test for invalid hmac
  2. better naming for the stub generators (previous PRs conflated mock and stub)
  3. support for stubbing derive
aljones15 commented 2 months ago

@TallTed awaiting you re-review on this one.