Skip to content
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

Please remove or clearly mark all resolvers or example DIDs that are using deprecated or invalid structures or are just broken #330

Open
letmaik opened this issue Oct 14, 2022 · 5 comments

Comments

@letmaik
Copy link

letmaik commented Oct 14, 2022

It confuses the heck out of people and is just not a good look. Nearly all DIDs listed in the examples dropdown of https://dev.uniresolver.io/ return DID documents that are either not following the current spec, using deprecated things, or are broken (no response). I'm assuming this is because some resolvers haven't been updated in a long time, or because the examples are just outdated (for methods that store an actual DID document), or because the DID methods themselves are outdated.

did:ace:0xf81c16a78b257c10fddf87ed4324d433317169a005ddf36a3a1ba937ba9788e3

Contains deprecated "publicKey".

did:ala:quor:redT:3729a1872356dd5c5ac377c85d539fe63cb561d8

Contains deprecated "publicKey".

did:bba:47ef0798566073ea302b8178943aaa83f227614d6f36a4d2bcd92993bbed6044

Contains deprecated "publicKey".

did:bba:t:45e6df15dc0a7d91dcccd24fda3b52c3983a214fb0eed0938321c11ec99403cf

Contains "publicKeyPem", lacks "controller" within verification method. I found https://w3c-ccg.github.io/ld-cryptosuite-registry/#rsasignature2018 but clearly this is not how it should be done today.

did:btcr:x705-jznz-q3nl-srs

Returns nothing. Completely broken?

did:ccp:3CzQLF3qfFVQ1CjGVzVRZaFXrjAd

Uses deprecated "publicKey".

did:cheqd:mainnet:zF7rhDBfUt9d1gJPjx7s1JXfUY7oVWkY

Uses "Ed25519VerificationKey2020" without including "https://w3id.org/security/suites/ed25519-2020/v1" in "@context".

did:com:17rhmdzlv0zjuahw4mvpfhf3u5tuwyjhr4m06dr

Uses uppercase fields, e.g., "ID" and "Type".

did:dns:danubetech.com

Uses "Ed25519VerificationKey2020" without including "https://w3id.org/security/suites/ed25519-2020/v1" in "@context".

did:dock:5CDsD8HZa6TeSfgmMcxAkbSXYWeob4jFQmtU6sxr4XWTZzUA

Uses deprecated "publicKey".

did:dyne:controller:DwPLgTPBjVwDqoLQV8gbuCiTVEHrHMPmufn8T2DZwjRQ

Wraps the DID document in a "DID" property.

did:elem:ropsten:EiCtwD11AV9e1oISQRHnMJsBC3OBdYDmx8xeKeASrKaw6A

No response, broken?

did:emtrust:0x242a5ac36676462bd58a

Uses deprecated "publicKey". Also, doesn't actually include a public key, weird.

did:ethr:0x03fdd57adec3d438ea237fe46b33ee1e016eda6b585c3e27ea66686c2ea5358479

Uses deprecated "publicKeyHex".

did:everscale:47325e80e3cef5922d3a3583ae5c405ded7bda781cb069f2bc932a6c3d6ec62e

No response, broken?

did:factom:testnet:6aa7d4afe4932885b5b6e93accb5f4f6c14bd1827733e05e3324ae392c0b2764

No response, broken?

did:gatc:2xtSori9UQZdTqzxrkp7zqKM4Kj5B4C7

No response, broken?

did:github:gjgd

No response, broken?

did:hcr:0f674e7e-4b49-4898-85f6-96176c1e30de

No response, broken?

did:icon:01:64aa0a2a479cb47afbf2d18d6f9f216bcdcbecdda27ccba3

Uses deprecated "publicKey", and "publicKeyBase64" without any reference in "@context".

did:io:0x476c81C27036D05cB5ebfe30ae58C23351a61C4A

Uses deprecated "publicKeyHex".

did:ion:EiClkZMDxPKqC9c-umQfTkR8vvZ9JPhl_xLDI9Nfk38w5w

"id" values are not absolute.

did:jolo:e76fb4b4900e43891f613066b9afca366c6d22f7d87fc9f78a91515be24dfb21

No response, broken?

did:jwk:eyJraWQiOiJ1cm46aWV0ZjpwYXJhbXM6b2F1dGg6andrLXRodW1icHJpbnQ6c2hhLTI1NjpGZk1iek9qTW1RNGVmVDZrdndUSUpqZWxUcWpsMHhqRUlXUTJxb2JzUk1NIiwia3R5IjoiT0tQIiwiY3J2IjoiRWQyNTUxOSIsImFsZyI6IkVkRFNBIiwieCI6IkFOUmpIX3p4Y0tCeHNqUlBVdHpSYnA3RlNWTEtKWFE5QVBYOU1QMWo3azQifQ

"id" values are not absolute.

did:lit:AEZ87t1bi5bRxmVh3ksMUi

No response, broken?

did:meta:0000000000000000000000000000000000000000000000000000000000005e65

Uses deprecated "publicKey" and "publicKeyHex".

did:moncon:z6MkfrVYbLejh9Hv7Qmx4B2P681wBfPFkcHkbUCkgk1Q8LoA

No response, broken?

did:mydata:z6MkjNiGktLUrNrwMW6obMR85UsjYmLPFmcXc9qaiAGqPaJT

No response, broken?

did:nacl:Md8JiMIwsapml_FtQ2ngnGftNP5UmVCAUuhnLyAsPxI

Uses deprecated "publicKey", and "publicKeyBase64" without reference in "@context".

did:ont:AN5g6gz9EoQ3sCNu7514GEghZurrktCMiH

Uses deprecated "publicKey" and "publicKeyHex".

did:orb:hl:uEiBuxTFn4L_Hn8KsOWo8e9kqWP38MThBaToB_5yV3c5QTg:uoQ-BeEJpcGZzOi8vYmFma3JlaWRveXV5d3B5Zjd5NnA0Zmxiem5pNmh4d2prbGQ2N3ltanlpZnV0dWFwN3RzazUzdHNxank:EiD_igS1OSEftg5BGfisJGOS1rgcx5AkQhX0h1B4dHTUYA

No response, broken?

did:oyd:zQmNauTUUdkpi5TcrTZ2524SKM8dJAzuuw4xfW13iHrtY1W%40did2.data-container.net

No response, broken?

did:schema:public-ipfs:json-schema:Qma2beXKwZeiUXcaRaQKwbBV1TqyiJnsMTYExUTdQue43J

No response, broken?

did:stack:v0:16EMaNw3pkn3v6f2BgnSSs53zAKH4Q8YJg-0

No response, broken?

did:tz:delphinet:tz1WvvbEGpBXGeTVbLiR6DYBe1izmgiYuZbq

No response, broken?

did:unisot:test:n1aAmTXAg4o44Z9k8YCQncEY91r3TV7WU4

Uses deprecated "publicKey".

did:vaa:3wJVWDQWtDFx27FqvSqyo5xsTsxC

Uses deprecated "publicKey", and "publicKeyPem" without reference in "@context".

did:web:did.actor:alice

Uses deprecated "publicKey".

did:web:did.actor:bob

Uses deprecated "publicKey", has an empty "controller", and "id" is not absolute.

did:web:did.actor:carol

Uses deprecated "publicKey", has an empty "controller", and "id" is not absolute.

did:web:did.actor:mike

"id" is not absolute.

did:web:identity.foundation

It just has "id". Technically valid, but... what's the point?

did:work:2UUHQCd4psvkPLZGnWY33L

Uses deprecated "publicKey".

@peacekeeper
Copy link
Member

@letmaik Thanks for pointing this out! Since this is a DIF open-source project, anyone can contribute and improve it.

Perhaps you would have time to reach out to some of the driver developers and let them know about these issues, and maybe ask them to fix them?

@fabianekc
Copy link
Collaborator

fixed the issue for did:oyd:zQmNauTUUdkpi5TcrTZ2524SKM8dJAzuuw4xfW13iHrtY1W%40did2.data-container.net (expired certificate on https://did2.data-container.net)
Thanks @letmaik for compiling the list and agree to push for better quality in available DID implementations!

@fabianekc
Copy link
Collaborator

@letmaik your posting inspired my to write a machine-readable definition of the W3C DID Core Spec (mainly based on SHACL) and in this way creating a DID Lint service. An early version is available here: https://didlint.ownyourdata.eu/

Iterating with the above validation mechanism over the Test Identifiers from the Uniresolver plugins show actually a quite dire picture: validation results

Any feedback on the DID Lint service is much appreciated!

@letmaik
Copy link
Author

letmaik commented Dec 19, 2022

@fabianekc This is awesome, great work!

@peacekeeper
Copy link
Member

I agree, this is really nice. We put it on the agenda for the ID WG 2 weeks from now: https://github.com/decentralized-identity/identifiers-discovery/blob/main/agenda.md#meeting---02-january-2023---1400-et

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants