iotaledger / iotaledger/sd-jwt-payload

Attach KB-JWT with a single SD-JWT presentation

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9
Forks
3
PR merge metrics
No merged PRs in 30d

Description

### Feature description

When wanting to attach a KB-JWT to an SD-JWT that has some claims undisclosed two presentations are required:
- the first to remove the disclosures associated with the claims that should be concealed;
- the second to attach the KB-JWT computed over the SD-JWT resulting from the first presentation;

This API is awkward and might lead to misinterpretation as happened in #16 .
Provide a new API that allows to attach a KB-JWT computed over the SD-JWT encapsulated in a `SdJwtPresentationBuilder`, hence removing the need for two presentations.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.