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

#439 - Turned authorization property from a JWS into a container object #518

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

thehenrytsai
Copy link
Contributor

This is the first PR for #439, where the authorization property in a DWN message is becoming an object with potentially multiple JWS.

Calling out that this wrapping will be useful for the likes of RecordsWrite but useless for ~dozen interface methods as they will just have author and not have retainer/tenant property in the authorization. Not necessarily a deal breaker, but just want to call out for awareness for reviewers.

Also as I worked on this PR, I can't help yet again having doubts on the scope of "independent verifiability" and its impact on the DWN design throughout, specifically on the reliance of being able to verify signatures of others, but that's something requiring further articulation!

@codesandbox
Copy link

codesandbox bot commented Sep 26, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@thehenrytsai thehenrytsai merged commit 13eb608 into main Sep 28, 2023
3 checks passed
@thehenrytsai thehenrytsai deleted the henrytsai/439 branch September 28, 2023 17:43
diehuxx pushed a commit to flothjl/dwn-sdk-js that referenced this pull request Sep 29, 2023
* main:
  decentralized-identity#439 - Return `authorization` in queries and reads (decentralized-identity#523)
  decentralized-identity#439 - Turned `authorization` property from a JWS into a container object (decentralized-identity#518)
  npm audit fix get-func-name (decentralized-identity#521)
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.

2 participants