Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support BBS+ and JWP #1285

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
12722a3
mapping from Jwk (JwkExt) from json-proof-token to Jwk from identity_…
AlbertoSvg Nov 14, 2023
b012e97
implemented JwpDocumentExt for IotaDocument and CoreDocument
AlbertoSvg Nov 15, 2023
b170249
generate_method_extended that handles both JWS and JWP algorithm
AlbertoSvg Nov 16, 2023
7d9fee0
new trait JwpDocumentExt separated from JwkDocumentExt using macros d…
AlbertoSvg Nov 16, 2023
d948aea
json-proof-token dependency update
AlbertoSvg Nov 16, 2023
db46722
From<CredentialJwtClaims> trait for JptClaims and create_credential_j…
AlbertoSvg Nov 29, 2023
21b9588
new JwpOptions
AlbertoSvg Nov 29, 2023
fb8e303
successful issuing of a jpt VC
AlbertoSvg Nov 30, 2023
732e4c6
fix stronhold path
AlbertoSvg Nov 30, 2023
234843f
fix JPT type
AlbertoSvg Nov 30, 2023
e783430
update to latest version of json-proof-token library
AlbertoSvg Dec 14, 2023
55749ca
Merge branch 'iotaledger:main' into jwp-integration
AlbertoSvg Dec 14, 2023
53051fe
fix key conversion
AlbertoSvg Dec 15, 2023
4b9a199
alternative selective disclosure method
AlbertoSvg Dec 22, 2023
a7fbe6b
Jwp Presentation creation
AlbertoSvg Jan 3, 2024
9e5a595
remove JwpOptions and introduce JptCredentialValidationOptions and Jp…
AlbertoSvg Jan 8, 2024
217a754
JWP Presentation verification
AlbertoSvg Jan 8, 2024
b33a604
removed multiple issuers during JWP verification since only one Crede…
AlbertoSvg Jan 8, 2024
6429817
extract_issuer_from_presented_jpt util and remove identity_zk module
AlbertoSvg Jan 9, 2024
820672f
add some comments
AlbertoSvg Jan 11, 2024
1fea3be
fix jti undisclose
AlbertoSvg Jan 12, 2024
ef77d68
comments and fix nbf undisclosing
AlbertoSvg Jan 15, 2024
4becafb
new RevocationTimeframeStatus and revocation check
AlbertoSvg Jan 25, 2024
b03bdc1
remove unused 'use' statements
AlbertoSvg Jan 25, 2024
f274243
remove ValidityTimeframeGranularity::SECOND
AlbertoSvg Jan 26, 2024
b7c71e5
Merge remote-tracking branch 'origin/main' into jwp-integration-tmp
AlbertoSvg Jan 26, 2024
2e4ad45
Merge remote-tracking branch 'origin/main' into zk-revocation-integra…
AlbertoSvg Jan 26, 2024
8fb569b
rename example 9_zkp
AlbertoSvg Jan 26, 2024
9f3a5d9
rename examples and minor fix
AlbertoSvg Jan 26, 2024
fe23be7
remove unused TODOs and 'use' statements and minor fixes
AlbertoSvg Jan 30, 2024
4a13956
fix endpoint
AlbertoSvg Jan 30, 2024
a74f5aa
add RevocationTimeframeStatus
AlbertoSvg Feb 1, 2024
23938a7
revocation in credential and presentation validation
AlbertoSvg Feb 1, 2024
071e6b8
add TimeframeRevocationExtension for Core/IotaDocument
AlbertoSvg Feb 1, 2024
1992b28
update 10_zkp_revocation example
AlbertoSvg Feb 1, 2024
23239ab
fix format and other minor fixes
AlbertoSvg Feb 1, 2024
c37fad8
holder authentication during revocation update
AlbertoSvg Feb 12, 2024
744c51b
fix update
AlbertoSvg Feb 12, 2024
a4b6d77
check validity timeframes utility function
AlbertoSvg Feb 12, 2024
7b1c82c
fix presentation validation
AlbertoSvg Feb 19, 2024
eb19417
Merge remote-tracking branch 'origin/main' into tmp
AlbertoSvg Feb 19, 2024
f9a07fb
Merge remote-tracking branch 'origin/zk-revocation-integration' into tmp
AlbertoSvg Feb 19, 2024
b5a035f
removed some TODOs and unused 'use' statements
AlbertoSvg Feb 19, 2024
1244c48
fix endpoint
AlbertoSvg Feb 19, 2024
929dbf7
fix doc
AlbertoSvg Feb 19, 2024
6f4a488
fix format and clippy warnings
AlbertoSvg Feb 19, 2024
957981e
fix json-proof-token and zkryptium dep
AlbertoSvg Feb 19, 2024
affa45a
Merge branch 'iotaledger:main' into jwp-integration
AlbertoSvg Mar 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading