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

(2) Unset proof type cryptosuite #35

Closed aljones15 closed 2 months ago

aljones15 commented 2 months ago

Features:

  1. adds a new function to stub methods on an object.
  2. stubs createVerifyData so that canonize can be done unsafely with empty string values.
  3. adds a test for "The proof options MUST contain a type identifier for the cryptographic suite (type) and MUST contain a cryptosuite identifier (cryptosuite). A proof configuration object is produced as output."
PatStLouis commented 2 months ago

36 says The proof options MUST contain a type identifier for the cryptographic suite (type) and MAY contain a cryptosuite identifier (cryptosuite).

Is this meant to overwrite that statement? If so, how does this affect the overwriting of the function noProofTypeOrCryptosuite with allowUnsafeCanonize from PR #36 ?