7 releases
0.11.0 | Dec 27, 2024 |
---|---|
0.10.0 | Sep 25, 2024 |
0.10.0-alpha.1 | Aug 24, 2024 |
0.9.1-alpha.4 | Mar 18, 2024 |
0.9.1-alpha.1 | Jan 11, 2024 |
#354 in Authentication
188 downloads per month
310KB
6.5K
SLoC
rdf-proofs
WORK IN PROGRESS
This library is designed to facilitate the attachment of BBS+ signatures to RDF graphs, enabling the issuance of Verifiable Credentials. It also supports the aggregation of multiple Verifiable Credentials and allows for selective disclosure of their components. This results in the creation of Verifiable Presentations in the form of RDF datasets. The library utilizes the BBS+ signature scheme and proof-system library from docknetwork/crypto.
⚠️ Experimental Phase: This library is currently in an experimental phase and is not recommended for use in production environments.
Using the Library
Ensure that Rust is installed on your system. Note: Starting with version 0.11.0, this crate requires Rust 1.81 or later due to updates in its dependencies, including Wasmer.
Add this crate to your project by running the following command:
cargo add rdf-proofs
Build
cargo build
or
cargo build --release
Test
cargo test
or
cargo test --release
Note: Some tests may fail with a stack overflow error, such as:
thread 'blind_signature::tests::blind_sign_and_unblind_and_verify_with_invalid_secret_failure' has overflowed its stack
fatal runtime error: stack overflow
To prevent this, you can increase the stack size. For example, setting it to 8MB, as suggested in the docknetwork/crypto README, works in most cases:
RUST_MIN_STACK=8388608 cargo test
Examples
TBD
Dependencies
~19–32MB
~504K SLoC