Skip to content

ucan 0.10#510

Open
chunningham wants to merge 42 commits into
mainfrom
feat/ucan-0.10
Open

ucan 0.10#510
chunningham wants to merge 42 commits into
mainfrom
feat/ucan-0.10

Conversation

@chunningham

@chunningham chunningham commented Apr 17, 2023

Copy link
Copy Markdown
Contributor

Updates the ucan impl to match the upcoming 0.10 version of the spec. This pr also removes a lot of the IPLD stuff as that will be covered by the cacao crate. Because of this, it removes tracking of the codec and implements verification in tandem with deserialisation so that it can have the original serialisation to verify. It also depends on the as-yet unreleased ucan-capabilities-object crate.

probable TODOs:

  • tests, there are currently no independent 0.10 ucan test vectors that I'm aware of
  • ucan-capabilities-object has to be released

@sbihel sbihel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I didn't review in detail, but it's mostly just removing code.

Could you rebase on latest main?

Comment thread ssi-ucan/Cargo.toml Outdated
Comment thread ssi-ucan/src/lib.rs Outdated
@sbihel

sbihel commented May 4, 2023

Copy link
Copy Markdown
Member

Looks like some tests are failing

@chunningham

Copy link
Copy Markdown
Contributor Author

There's no test vectors anywhere for ucan 0.10, so I wasn't sure which to use. I will generate some.

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