Closed UMR1352 closed 4 months ago
Also tests::test_jwk_storage::write_to_disk
(in identity_stronghold
) runs into an error on my machine:
$ cargo test tests::test_jwk_storage::write_to_disk -- --exact
Finished test [unoptimized + debuginfo] target(s) in 0.15s
Running unittests src/lib.rs (/Users/swo/projects/iota/identity.rs-2/target/debug/deps/identity_stronghold-2e61cbd91c5befb5)
running 1 test
test tests::test_jwk_storage::write_to_disk ... FAILED
failures:
---- tests::test_jwk_storage::write_to_disk stdout ----
thread 'tests::test_jwk_storage::write_to_disk' panicked at identity_stronghold/src/tests/test_jwk_storage.rs:97:3:
assertion failed: exists
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
tests::test_jwk_storage::write_to_disk
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 12 filtered out; finished in 0.02s
CI errors looks like to fail due to feature "bbs-plus" not being enabled in identity_stronghold
.
Works locally if I start the tests with cargo test --features "bbs-plus"
. ^^
Description of change
Implement zero knowledge JPT encoded selectively disclosable credential following IETF's specification.
Links to any relevant issues
Closes #144 Closes #1324
Type of change
How the change has been tested
Added unit and integration tests, examples for both WASM and Rust targets.
Change checklist