storacha/specs

accounts spec uses dids with invalid syntax ('@' char)

gobengo opened this issue · 1 comments

Context

Problem

  • both the specs document using DIDs like did:mailto:alice@web.mail, and this string is not a valid did because it contains the '@' char in the method-specific-id section

Possible Solutions:

  • we acknowledge that @ is not allowed in DIDs, and that it must be percent-encoded (to %40) when in a did string
    • we update our specs to use this form of valid did string

@Gozala wdyt. If you agree this is a concern, I can prepare a PR to specs to have examples only use DIDs with a percent-encoded @ char