sd-jwt-js icon indicating copy to clipboard operation
sd-jwt-js copied to clipboard

A JavaScript implementation of the Selective Disclosure JWT (SD-JWT) spec.

Results 13 sd-jwt-js issues
Sort by recently updated
recently updated
newest added

closes #242 Since the general serialization function allows to add multiple signature, we need a new internal structure to store the information in an sd-jwt instance (right now it is...

In [sd-jwt draft 09 section 9](https://www.ietf.org/archive/id/draft-ietf-oauth-selective-disclosure-jwt-09.html#name-jws-json-serialization.), JSON Serialization method is added. Let's support this feature in our library

feature

Right now the schema behind vct is only validated when the credential is verified. To make sure only valid credentials are created, we also should validate the schema during issuance...

Such as the `exp`, `iss`, et.. fields. I would expect these fields to be validated when using an SD-JWT library. It seems that verifying an SD-JWT VC mainly focuses on...

e.g. if you have a status list with 4 status, and bit size 1, you encode this and then decode it, the decoded status list will have 8 entries, as...

Sometimes we need to find out which error was thrown. To avoid a break of our application when we change the string of the error message, we should use constants...

Using [zod](https://www.npmjs.com/package/zod) could help to validate objects before dealing with them. This should be implemented for all packages where required

@berendsliedrecht and Timo came up with the wish that the verification functions will not throw errors and break up the function call, but rather return a list of validation with...

When decoding an sd-jwt-vc credential with ``` const sdjwtvc = await sdjwt.decode(credential.credential as string); console.log(sdjwtvc.jwt!.payload!.jti); ``` it will throw an error that jti comes from an index signature. It would...

Section [3.5](https://www.ietf.org/archive/id/draft-ietf-oauth-sd-jwt-vc-03.html#section-3.5) lists 3 options to receive the key of an issuer: - JWT VC Issuer Metadata - X.509 Certificates - DID Document resolution Right now the library defines "bring...