5 releases (3 breaking)

0.4.0 Nov 10, 2025
0.3.0 Sep 11, 2025
0.2.1 Sep 8, 2025
0.2.0 Jun 18, 2025
0.1.0 Jun 10, 2025

#1008 in Authentication

Download history 19/week @ 2025-07-30 69/week @ 2025-08-06 45/week @ 2025-08-13 33/week @ 2025-08-20 54/week @ 2025-08-27 192/week @ 2025-09-03 223/week @ 2025-09-10 110/week @ 2025-09-17 141/week @ 2025-09-24 150/week @ 2025-10-01 218/week @ 2025-10-08 144/week @ 2025-10-15 83/week @ 2025-10-22 70/week @ 2025-10-29 40/week @ 2025-11-05 26/week @ 2025-11-12

231 downloads per month

Custom license

575KB
9K SLoC

bh-sd-jwt

This library provides functionality for working with the SD-JWT format for Verifiable Credentials as defined in the IETF SD-JWT-based Verifiable Credentials specification and the mechanism that allows for selective disclosure of individual elements of JSON data structure as defined in the IETF Selective Disclosure for JWTs specification.

Details

The primary way to use this library is to use the IssuerJwt struct to issue JWTs, Holder to store an issued JWT and Verifier to verify an SD-JWT presentation.

For additional documentation & examples, take a look at the crate documentation and the examples in the source code.

Changelog

The changelog can be found here.

License

Licensed under GNU Affero General Public License, Version 3.

Dependencies

~13–30MB
~410K SLoC