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

Remove returning private keys #417

Merged
merged 7 commits into from
May 9, 2023
Merged

Remove returning private keys #417

merged 7 commits into from
May 9, 2023

Conversation

decentralgabe
Copy link
Member

Fixes #371

@codecov-commenter
Copy link

codecov-commenter commented May 9, 2023

Codecov Report

Merging #417 (ad9ce00) into main (e5f33f5) will increase coverage by 0.05%.
The diff coverage is 10.00%.

@@            Coverage Diff             @@
##             main     #417      +/-   ##
==========================================
+ Coverage   20.43%   20.48%   +0.05%     
==========================================
  Files          48       48              
  Lines        5423     5385      -38     
==========================================
- Hits         1108     1103       -5     
+ Misses       4140     4108      -32     
+ Partials      175      174       -1     
Impacted Files Coverage Δ
integration/common.go 0.00% <0.00%> (ø)
pkg/server/router/did.go 5.00% <0.00%> (+0.15%) ⬆️
pkg/service/did/key.go 0.00% <0.00%> (ø)
pkg/service/did/web.go 0.00% <0.00%> (ø)
pkg/service/did/ion.go 48.93% <100.00%> (-0.56%) ⬇️

KeyType: createDIDResponse.KeyType,
}

resp := CreateDIDByMethodResponse{DID: createDIDResponse.DID}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to:

  1. Remove the fields you deleted from the CreateDIDByMethodResponse?
  2. Update the documentation of this endpoint, particularly the description? From the perspective of a dev using ssi-service, it's important to understand what happens to the keys when this method is called.

Copy link
Member Author

Choose a reason for hiding this comment

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

  1. yes - done
  2. yes will update good call

@decentralgabe decentralgabe merged commit 24c8a7e into main May 9, 2023
@decentralgabe decentralgabe deleted the make-fully-custodail branch May 9, 2023 17:49
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.

Full custodial key support
3 participants