did:sov
DID.did:legacypeer
DIDs cannot be resolved without being provided a DID Document via the Aries Connections or DID Exchange Protocols.The formal definition of this legacypeer did method allows for a smooth transision between legacy aries behaviors and future technologies that are formally did spec based.
While this method cannot be fully used moving forward, it will allow adoption of newer patterns without abandoning existing connections.
The unqualified DIDs in use in the Aries ecosystem originated from the did:sov DID method, also in use prior to the finalization of the DID Core spec.
Some Sovrin DIDs were recorded on the ledger, but many were not. These DIDs became casually known as peer DIDs, but not in any formal sense.
Some conversation happened in the community about exchanging updates (such as key rotations), but these never materialized. Newer DID methods are designing modern approaches to this problem, and one of those methods may be useful going forward.
Legacy Peer DIDs are created as detailed in the did:sov DID Method Specification, with the exception that the DIDs are never recorded on any Indy ledger.
Unqualified legacy DIDs within the Aries ecosystem look like this:
2wJPyULfLLnYTEFYzByfUR
A convenient regex to match unqualifed DIDs is:
^[1-9A-HJ-NP-Za-km-z]{21,22}$
The same DID, qualified by this DID method, looks like this:
did:legacypeer:2wJPyULfLLnYTEFYzByfUR
Anytime you encounter a DID without a stated DID method, you can prefix it to turn it into a qualified DID.
With the adoption of this DID Method, all DIDs in the Aries ecosystem MUST be fully qualified.
Software implementations may store legacy peer DIDs in any way they choose, but any external transfer of that DID MUST be in fully qualified form.
Legacy Peer DIDs may only be resolved to a DID Document if the DID Document was presented using either the Connections Protocol of the DID Exchange Protocol.
If you encounter a Legacy Peer DID for which the associated DID Document was not presented in the above mentioned protocols, there is no defined resolution method.
For did:legacypeer
DIDs in systems that transition to DIDComm v2, there is a method of updating the DID used in a relationship. A DID may be rotated for another, even of another DID method. This allows for Legacy Peer DIDs to be transitioned to another method without disruption and without user involvement.
This method may be used to eliminate the use of Legacy DIDs entirely via adoption of newer technologies.
The following lists the implementations (if any) of this RFC. Please do a pull request to add your implementation. If the implementation is open source, include a link to the repo or to the implementation within the repo. Please be consistent in the "Name" field so that a mechanical processing of the RFCs can generate a list of all RFCs supported by an Aries implementation.
Implementation Notes may need to include a link to test results.
Name / Link | Implementation Notes |
---|---|
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing