Description
Somewhat orthogonal to the CBOR representation issue #339, but related:
Blockchain Commons is also now encoding keys and other important cryptographic primitives natively and compactly using CBOR, and I hope to be sharing this proposal soon.
However, this one item in particular that @selfissued might be able to help with. At times we want to be able to include a CRC-32 tag for when the transport is less reliable, but optionally be able to exclude it when we know it is reliable. For instance, right we are using an encoded CBOR 25519 public key on .onion addresses for an TorV3 future DID method (see https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-006-urtypes.md for some of the CBOR type tags we are considering). Currently custom CBOR tags are the 3-byte range, making it a total of 5 bytes. However, if we could get this be one of the 1-byte reserved tags, it reduces the size for use by QR codes and other constrained transport purposes (mnemonics, etc.). However, adding to the reserved 1-byte CBOR tags are can only be added to with standards activities.
Are there other CBOR tags that we could propose to officially register at IANA that would make doing CBOR representations easier, more self-describable, and more compact?
-- Christopher Allen