-
Notifications
You must be signed in to change notification settings - Fork 515
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
Endpoints ATTRIB json is spec divergent #1928
Comments
Quick transcription of the thread:
|
Took a closer look at AFJ which supports endpoint attrib data like the following: {
"endpoint": "https://example.com",
"types": ["did-communication", ...],
"routingKeys": [...],
"profile": "https://example.com/profile",
"linked_domains": "https://example.com/linked-domains",
} We'll prepare a fix for ACA-Py to have it behave the same way. Should be pretty quick. cc @swcurran |
Fixed by #1934 |
This is a quick issue to document some discussion that took place on discord. I'll provide a summary and a copy-paste of the conversation so we can track the issue here.
Recently, I opened PR #1863 (addressing #1313) that contained some misunderstandings on my part of what the endpoint attirb should look like.
Prior to this PR, ACA-Py expected to receive endpoint attrib data that looked like this:
I'm not sure where the profile and linked_domains convention is defined but these were being included as separate service endpoints in the constructed DID document. According to the new rules for did:sov, the endpoint attrib should look like:
I made a misguided attempt to combine the two, which resulted in this structure:
The resolution of a structure looking like the above was merged in with #1863 and then a follow up PR from @cjhowland #1899 added the registration (again, mislead by my misunderstanding of the endpoint attrib structure). This lead to some errors in both the VON network browser and Indy Scan on ledgers where these changes were tested out, alerting us to the fact that this endpoint data doesn't look right.
We have a couple of questions to answer:
profile
andlinked_domains
fit into the new endpoint attrib json?The text was updated successfully, but these errors were encountered: