openwallet-foundation / sd-jwt-js

A JavaScript implementation of the Selective Disclosure JWT (SD-JWT) spec.
https://sdjwt.js.org/
Apache License 2.0
44 stars 13 forks source link

fix: check if the header includes the string #244

Closed cre8 closed 4 months ago

cre8 commented 4 months ago

Before we checked for equal, ignoring that the charset will be added. Using include solves this problem

Signed-off-by: Mirko Mollik mirkomollik@gmail.com