-
Notifications
You must be signed in to change notification settings - Fork 513
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
DIF Presentation Exchange and present-proof-v2 Updates #1125
DIF Presentation Exchange and present-proof-v2 Updates #1125
Conversation
shaangill025
commented
Apr 29, 2021
•
edited
Loading
edited
- https://www.w3.org/TR/vc-data-model/
- https://identity.foundation/presentation-exchange/
- https://github.com/hyperledger/aries-rfcs/tree/master/features/0510-dif-pres-exch-attach
- https://github.com/hyperledger/aries-rfcs/tree/master/features/0454-present-proof-v2
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
ready to review? :) |
Yes |
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/handler.py
Show resolved
Hide resolved
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
If I issue a credential with no
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Timo Glastra <timo@animo.id>
OK found the issue. The blank node id transformation script was not handling nesting... This was also a problem in the MATTR libs, where we based our implementation on. I pushed a commit that fixes this. Sorry about that. See mattrglobal/jsonld-signatures-bbs#128 and mattrglobal/jsonld-signatures-bbs#129 The tests is still not passing, but now has to do with the |
Also, some of the tests are not using the local context from the injected document loader. Mainly from the test setup scripts I believe (I could at least find |
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
…t-python into dif-pres-exch Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
100% of tests pass not bad!!! |
I mean the one in the tests, e.g. (may be others): |
This comment has been minimized.
This comment has been minimized.
… expanded type incl, test updates Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
…t-python into dif-pres-exch Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
Currently the whole proof object is always disclosed. This is the same in the MATTR library. The framing is applied to the credential without the proof object, so that's also why you get an empty object besides proofs:
The frame is applied to the credential without the proof object. Therefore the framing is unsuccessful, because of the I want to verify with the AFGO team what they think should happen, but I think we shouldn't allow paths on the |
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
Would be nice if there was a standard (unique) id attribute that was added to each w3c credential (by aca-py) when saved to the wallet, for example
When the holder/prover is presenting, this would give them a standard way of selecting a single credential. Thoughts? Or else we could allow |
I think
|
Signed-off-by: Shaanjot Gill <shaangill025@users.noreply.github.com>
For me this PR looks good, it passes the basic test scenarios and I like @shaangill025 's recent addition to specify credential(s) to present based on credential record_id (similar to how we can do this for Indy credentials). @TimoGlastra anything outstanding here? I suspect there may be some fixes/changes etc we will need to do but for me it's good enough to merge now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay! 🎉
w00t!!! Well done, Shaanjot @shaangill025 !! Awesome work. |