Closed TelegramSam closed 4 years ago
I think, on balance, that the b64 encoding is the right answer. This fits with other parts of what's already in the spec, as for example the change
member of a delta
(https://openssi.github.io/peer-did-method-spec/#example-5-delta-structure).
@kdenhartog or @swcurran or @tplooker , what do you think?
I'm in favor of option 2. While it has the downsides that @TelegramSam mentioned, I believe that it keeps us close to how ION is handling this. I need to find the documentation that describes this, but in the DIF chat @csuwildcat described that this is the format used in some situations with ION to pass an unanchored DID Doc.
This issue will be addressed by using initial-state
as a DID parameter. Thus, the general need is being tracked in https://github.com/decentralized-identity/peer-did-method-spec/issues/1. It's not exactly described the same way, but it gets at the same requirement. Closing the issue in this superseded repo.
In order to validate signatures and peer did identifiers, the documents must be transferred in a canonicalized format. If we just pass the structure inside a DIDComm message, different parsers will present different bytestreams.
Two options I see:
Thoughts