-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comply with the new DID ABNF #8
Comments
The DID part looks unaffected. |
|
Hi, just wondering if this will be updated at some point? Seems like this project has been somewhat abandoned while the DID spec has been updated to 1.0. I've been using this lib to parse and validate my DIDs and it has been working great, except for when I encounter new characters that weren't in the ABNF before. I could submit a simple patch for my case if that helps as I prob wouldn't have time to work on completely updating the spec. This code works great otherwise, thanks! |
Hi @petersng. Glad you found the code useful ❤️ |
Hi @mrinalwadhwa. I'm not too far off from having a pull request for this, but I do have a couple of questions first:
Am I reading this wrong, or is there some other reason etc.? Please clarify.
Let me know what you think. I can finish up the current approach and push up and then decide if #2 is worth the effort. Thanks! |
Hey @hollyfeld that is awesome! I haven't read the did spec in a some months. I'll give it a quick refresher this afternoon and come back to you with answers. Thank you for working on a PR. |
Hi @mrinalwadhwa, I went ahead and generated a PR here. On the previous questions, I went ahead and removed the constraint on not allowing a fragment when a path or segments exist. The second item I would just ignore. I looked at it again and it didn't seem worth the trouble. |
Awesome. Thank you 🙏. I'll read through the changes tonight. |
1. modifies the DID struct and parser to handle the param rule addition 2. removes references to did-reference, and replaces them with did-url 3. removes a constraint on fragment existence in the parser String method requiring the existence of a path or path segments 4. adds test and example coverage For build-trust#8
1. modifies the DID struct and parser to handle the param rule addition 2. removes references to did-reference, and replaces them with did-url 3. removes a constraint on fragment existence in the parser String method requiring the existence of a path or path segments 4. adds test and example coverage For build-trust#8
@hollyfeld Thank you for sending the PR, it's merged! 🎉 |
There is ongoing discussion around updating the DID ABNF that we would need to update the parser for
w3c-ccg/did-spec#168
https://pr-preview.s3.amazonaws.com/w3c-ccg/did-spec/pull/168.html
The text was updated successfully, but these errors were encountered: