decentralized-identity / decentralized-identity/did-dht

Change the serialization to CBOR

Open
#293 2 comments 0 reactions 0 assignees View on GitHub
discuss enhancement help wanted large
Dominant language
Go
Stars
42
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Inspired by https://github.com/TBD54566975/did-dht/pull/264

CBOR is much simpler and more efficient. There is wide support for it [across languages](https://cbor.io/impls.html).

We can also look into:

* [The Plain CBOR Representation v1.0](https://www.w3.org/TR/did-cbor-representation/) from the DID WG
* [CBOR-LD 1.0](https://json-ld.github.io/cbor-ld-spec/) from the JSON-LD org
* [dCBOR: A Deterministic CBOR Application Profile](https://datatracker.ietf.org/doc/draft-mcnally-deterministic-cbor/) representation in the IETF

I am tagging @msporny and @christophera both of whom I've spoken with about adopting CBOR. It would be great to hear your perspectives and considerations (Manu, I know you raised some great points about versioning and not conflicting with already registered terms).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.