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

fix: resolve dids following new endpoint rules #1863

Merged

Conversation

dbluhm
Copy link
Contributor

@dbluhm dbluhm commented Jul 18, 2022

Naive solution to the issue raised by @TimoGlastra in #1313.

Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
@codecov-commenter
Copy link

codecov-commenter commented Jul 18, 2022

Codecov Report

Merging #1863 (609f2e9) into main (2b4c307) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1863      +/-   ##
==========================================
+ Coverage   93.79%   93.80%   +0.01%     
==========================================
  Files         539      539              
  Lines       34081    34101      +20     
==========================================
+ Hits        31967    31990      +23     
+ Misses       2114     2111       -3     

TimoGlastra
TimoGlastra previously approved these changes Jul 19, 2022
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
service_endpoint=endpoint_url,
recipient_keys=[recipient_key.id],
routing_keys=routing_keys,
accept=["didcomm/v2"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it an issue that it resolves to accept only didcomm/v2, while we don't actually support that yet? Or does it not matter because this endpoint isn't examined anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think in this case, we're just constructing the DID Document as the DID Method spec outlines and whether we use the all of the services outlined in the doc is another question. We will be essentially ignoring them for now since we're only looking for the did-communication type.

@andrewwhitehead andrewwhitehead merged commit eeebb9d into openwallet-foundation:main Aug 5, 2022
@dbluhm dbluhm deleted the fix/did-sov-resolver branch September 17, 2022 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants