peer-did-method-spec
peer-did-method-spec copied to clipboard
error in method 2 ABNF?
Tagging @TelegramSam and @DenisRybas, who have each looked at this recently.
Example 2 in the spec shows ABNF for method 2. It shows that "S" is a purpose, but that services are also prefixed with an "S". Is this redundant? The regex recently submitted by Denis does not show that "S" is a valid purpose...
https://identity.foundation/peer-did-method-spec/index.html#example-2-abnf-for-peer-dids
I think there is a redundant "S" in the service section because if we add the "S" prefix before each service in the case of multiple services, we will not be able to decode them correctly. So I think the .S<encoded value of service header>
would be correct