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

DagJose JSON payload support #326

Merged
merged 2 commits into from
May 20, 2024
Merged

DagJose JSON payload support #326

merged 2 commits into from
May 20, 2024

Conversation

oed
Copy link
Contributor

@oed oed commented May 17, 2024

Currently dag-jose only support payloads that are base64url encoded CIDs. This is a problem since most JOSE tools only support signing over JSON payloads. This PR extends the dag-jose codec to support arbitrary JSON payloads.

Copy link
Member

@vmx vmx left a comment

Choose a reason for hiding this comment

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

I'm not deep enough into DagJose, but it sounds like it's just describing what it's doing and it sounds reasonable. Though if someone who knows more about it (@rvagg maybe?) could have a look that would be great.

So I'd appreciate one more pair of eyes, I'll approve it though in case no one else finds the time time have a look.

@rvagg rvagg merged commit 84a5cc6 into ipld:master May 20, 2024
2 checks passed
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.

None yet

3 participants