decentralized-identity / decentralized-identity/did-peer-4

Why two identities?

Open
#1 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
8
Forks
3
PR merge metrics
No merged PRs in 30d

Description

My only point against `this did:peer:4` is why complicate everything else with two identities. Other than that I love the idea.

IMO is complicated enough controlling one identity and here we are proposing to identities that come always in pairs:

`did:peer:4{{hash}}:{{encoded document}}`
`did:peer:4{{hash}}`

Was it considered to use [DID query](https://www.w3.org/TR/did-core/#dfn-did-queries)?
**Note the the query part of a DID is not part of the identity! On the contrary of DID path.**
(The DID fragment is also not part of the identity but can't be used on the DID Comm message field `id`.)

`did:peer:4{{hash}}?doc={{encoded document}}` <=> `did:peer:4{{hash}}`
Those two are equivalent in terms of identity. According to the DID core specs they are one identity.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.