-
Notifications
You must be signed in to change notification settings - Fork 515
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
Reuse credential offers and requests when possible #242
Reuse credential offers and requests when possible #242
Conversation
…asses Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
…tion Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #242 +/- ##
==========================================
+ Coverage 73.66% 74.74% +1.07%
==========================================
Files 219 219
Lines 10045 10103 +58
==========================================
+ Hits 7400 7551 +151
+ Misses 2645 2552 -93 |
…to manager class Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
aries_cloudagent/messaging/issue_credential/v1_0/messages/credential_issue.py
Outdated
Show resolved
Hide resolved
@@ -73,6 +63,12 @@ def context(self) -> InjectionContext: | |||
|
|||
""" | |||
|
|||
credential_definition_id = credential_proposal.cred_def_id |
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.
The proposal will not include a cred def id in future - rather, an issuer and schema id - so this will need some touching up at that time. Until then, it's fine.
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.
Look good, but we will need to merge in the change from cred-stored to cred-ack, in PR#233. Likely easy in any case.
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.
Tested on my local, working as advertised
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.
Reviewed by others; run by Ian
Also adds tests and type info to the CredentialManager class, and allows create_offer to be called without a credential proposal.