Skip to content

zkp-ld/rdf-proofs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages