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 877: Connection Requests with empty DIDDoc pubkey controller #878

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

gmulhearn-anonyome
Copy link
Contributor

Fixes #877 , pls see ticket for more info.

i can write a test if desired, but I've tested this fix against ACA-py 0.8.1 and confirmed the problem is resolved. this bug was likely just an oversight, as all other AriesDidDoc constructions (exception this one) involved setting the id first.

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
@gmulhearn-anonyome gmulhearn-anonyome requested a review from a team June 8, 2023 23:10
@codecov-commenter
Copy link

codecov-commenter commented Jun 8, 2023

Codecov Report

Merging #878 (b7bd4c3) into main (8b1eb3e) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #878      +/-   ##
==========================================
- Coverage   48.89%   48.88%   -0.01%     
==========================================
  Files         432      432              
  Lines       34324    34324              
  Branches     7609     7609              
==========================================
- Hits        16782    16781       -1     
- Misses      12266    12267       +1     
  Partials     5276     5276              
Flag Coverage Δ
unittests-aries-vcx 48.85% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
aries_vcx/src/protocols/connection/invitee/mod.rs 69.44% <100.00%> (ø)

... and 1 file with indirect coverage changes

@Patrik-Stas
Copy link
Contributor

Thanks for investigation and fix!

I find it pretty bad that the order of those calls matter within the legacy diddoc crate, but not worthy attention as it's on track to be deprecated.

Lgtm ✅

@mirgee mirgee merged commit dd8e039 into main Jun 9, 2023
@mirgee mirgee deleted the gm/877-conn-req-empty-controller branch June 9, 2023 09: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.

Typestate Connection sends an empty string for it's publickey controller in the Invitee Request message
4 participants