SD-JWT Rust Reference Implementation
This is the reference implementation of the IETF SD-JWT specification written in Rust. Supported version: 6.
Note: while the project is started as a reference implementation, it is intended to be evolved to a production-ready, high-performance implementations in the long-run.
Usage
Include the crate in the [dependencies]
section of your Cargo.toml
:
sd-jwt-payload = "0.0.1"
API
Note: the current version of the crate is 0.0.x, so the API should be considered as experimental. Proposals about API improvements are highly appreciated.
See tests/demos.rs
for more details;
Repository structure
SD-JWT Rust crate
SD-JWT crate is the root of the repository.
To build the project simply perform:
cargo build
To run tests:
cargo test
Interoperability testing tool
TBD
External Dependencies
Dual license (MIT/Apache 2.0) dependencies: base64, lazy_static log, serde_json, sha2, rand, hmac. MIT license dependencies: jsonwebtoken.
Note: the list of dependencies may be changed in the future.
Initial Maintainers
To Be Completed by Maintainers
- Create MAINTAINERS.md file using the format documented on the TAC site.
- Create a CONTRIBUTING.md file that documents steps for contributing to the project
- Create a CODEOWNERS file
- Update the README.md file as necessary