-
Notifications
You must be signed in to change notification settings - Fork 1
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
Draft: Adding ability for vcdi presentation proof #7
Draft: Adding ability for vcdi presentation proof #7
Conversation
…nicwisd1/aries-cloudagent-python into feat/vcdi-implementation
Signed-off-by: Orjiene Kenechukwu <[email protected]>
@@ -54,6 +54,13 @@ class Format(Enum): | |||
".formats.dif.handler.DIFPresFormatHandler" | |||
), | |||
) | |||
VCDI = FormatSpec( | |||
"dif/", |
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.
are we sure this should be identical to DIF above? if they are identical then why do we have separate one?
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.
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.
For presentation we are using the DIF Presentation Exchange from https://github.com/hyperledger/aries-rfcs/blob/main/features/0510-dif-pres-exch-attach/README.md. I was following the attachment format.
@@ -127,6 +127,11 @@ class V20PresProposalByFormatSchema(OpenAPISchema): | |||
required=False, | |||
metadata={"description": "Presentation proposal for DIF"}, | |||
) | |||
vc_di = fields.Nested( | |||
DIFProofProposalSchema, |
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.
shouldn't this be VCDI?
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.
I didn't want to write another proposal schema since DIFProofProposalSchema already exist to avoid redundancy
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.
}, | ||
PRES_20: { | ||
V20PresFormat.Format.INDY.api: "hlindy/[email protected]", | ||
V20PresFormat.Format.DIF.api: "dif/presentation-exchange/[email protected]", | ||
V20PresFormat.Format.VCDI.api: "dif/presentation-exchange/[email protected]" |
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.
@supersonicwisd1 do we still need this, do you want to do a fresh PR into clean-base with the needed things?
No description provided.