Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:
dag-jose
implementation using IPLD schema/code generation (#23)
* feat: `dag-jose` implementation using IPLD schema/code generation * cleanup * support for "flattened" JOSE objects * updates from review * comments and renaming * validate (then ignore) `link` when encoding * updates and test fixes * first pass of unit tests * update dependencies * test fixes * Introduce tests using fixtures from the ipld/ipld repo. (#24) * Introduce tests using fixtures from the ipld/ipld repo. * tweak some fixture hunk names. See commit message in the linked commit in the ipld/ipld submodule. (Calling both the dagjose and the dagjson hunks "data", as it was previously, suggested incorrect things: they are not that similar. The dagjson is the datamodel view, and that is *not* the same thing as a transliteration of the tokens that you'd get if you parsed the dag-jose as dag-cbor.) * test fixes * test fixes * test fixes * test fixes * cleanup docs * remove `link` from encoded JWS * fix up tests * minor updates and add TODOs * add CID matching to spec tests * remove travis.yml file and add TODOs to README.md * Update spec_test.go Remove redundant code * updates from review * update to latest ipld repo * use newest go-ipld-prime * check err from traversal Co-authored-by: Eric Myhre <hash@exultant.us>
- Loading branch information