w3c-ccg / did-method-key

DID (Decentralized Identifier) did:key method for embedding keys in DID urls
https://w3c-ccg.github.io/did-method-key
Other
18 stars 12 forks source link

Future proofing #52

Open dlongley opened 2 years ago

dlongley commented 2 years ago

The Document Creation Algorithm currently says:

2) Using a colon (:) as the delimiter, split the identifier into its components: a scheme, a method, a version, and a multibaseValue. If there are only three components set the version to the string value 1 and use the last value as the multibaseValue.

We should be careful that our language allows a future version to have more components. If we find that nothing needs to change in the language today to allow for this, we should at least minimally say in a note that a future version could define additional components. It would be better for parsers to error with Unsupported version 'X' rather than Too many components.