Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change introduces support for UCAN-IPLD and canonical JWT encoding. UCAN-IPLD depends in part on modifications to the spec that were introduced in 0.9; so, this change also includes the parts of 0.9 that were necessary to implement UCAN-IPLD. However, this change does not transition us completely to conformance with 0.9. The following issues were filed to cover the remaining ground before we have fully implemented 0.9: #22, #23, #24, #25 and #27.
The changes introduced that bring us partially towards 0.9 include:
prf
field now uses CIDs instead of nested JWT token stringsnb
field is supported inUcanIpld
capabilities (even though it is ignored in theUcan
representation)In addition to support for UCAN-IPLD, some bugs have been fixed. Most notably, #18 was addressed by changing how we generate the
nnc
field value. Additionally, all tests now run in both native and web browser environments on CI (previously, only key support tests ran in a browser). Also, browser tests now run inside of headless Chrome in the Github Actions runner. This is both more reliable, and moves us away from using my personal Browser Stack account for those tests 😅Fixes #20
Fixes #18
Fixes #9