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

Canonicalize UCANs by default #89

Open
expede opened this issue Sep 15, 2022 · 1 comment
Open

Canonicalize UCANs by default #89

expede opened this issue Sep 15, 2022 · 1 comment

Comments

@expede
Copy link
Member

expede commented Sep 15, 2022

IMO (feel free to disagree), following Postel's Law, UCAN libraries should be rigid in what they produce, and liberal in what they accept. To this end, it would be amazing if this library produced canonicalized UCANs compatible with ucan-ipld.

This gets us a few things:

  • Slick tooling (over time)
  • Storage savings form content addressing / deduplication / binary data
  • Convert UCANs into arbitrary formats (e.g. machine friendly, PB, CBOR, Arrow, etc)

We will still need to read in arbitrary JWTs, but the more canonicalized UCANs that exist, the better a world we live in 😉

@matheus23
Copy link
Member

Solving this issue would be a superset of #73 I think.

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

No branches or pull requests

2 participants