Skip to content

Commit

Permalink
Support BBS+ and JWP (#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoSvg authored Mar 4, 2024
1 parent 28cc8c6 commit 6003cf0
Show file tree
Hide file tree
Showing 47 changed files with 3,446 additions and 8 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ serde = { version = "1.0", default-features = false, features = ["alloc", "deriv
thiserror = { version = "1.0", default-features = false }
strum = { version = "0.25", default-features = false, features = ["std", "derive"] }
serde_json = { version = "1.0", default-features = false }
json-proof-token = { version = "0.3.3" }
zkryptium = { version = "0.1.9", default-features = false, features = ["bbsplus"] }

[workspace.package]
authors = ["IOTA Stiftung"]
Expand Down
2 changes: 2 additions & 0 deletions examples/0_basic/7_revoke_vc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ async fn main() -> anyhow::Result<()> {
// Publish the updated Alias Output.
issuer_document = client.publish_did_output(&secret_manager_issuer, alias_output).await?;

println!("DID Document > {issuer_document:#}");

// Create a credential subject indicating the degree earned by Alice.
let subject: Subject = Subject::from_json_value(json!({
"id": alice_document.id().as_str(),
Expand Down
Loading

0 comments on commit 6003cf0

Please sign in to comment.