-
Notifications
You must be signed in to change notification settings - Fork 0
Create deterministic-prism-did-generation-proposal #69
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
base: main
Are you sure you want to change the base?
Conversation
|
@EzequielPostan maybe you also want to have a read. |
yshyn-iohk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done, @FabioPinheiro!
| - Unless you know the mnemonic phrase, and consequently, the seeds used to generate the MASTER keys. There is no way to relate the different dates. | ||
| - None of the different dates would have one key in common because segment `did-index` is part of the derivation Path of any key | ||
|
|
||
| - PRISM allowed key routation of the MASTER key. But if all possible MASTER keys are define by mnemonic phrase. There is no way to rotate the mnemonic phrase deterministically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FabioPinheiro, can we rotate the master key by incrementing the key-index segment in the path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it wasn't clear. Here the concern was your monarchic phrase is compromised phrase.
To secure the DID again you need to opt out of this proposal.
patextreme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, let's rename to .md extension so github render it properly.
| | Path Segment | Description | | ||
| |--------------|-------------| | ||
| | `purpose'` | Set to `29` (anagram for ID in Hex 0x1D) (Note in [CIP-1852] is `1852`). | | ||
| | `method'` | Unique constant for PRISM DID method `29` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If method 29 represents a did:prism.
@yshyn-iohk You mention we should use something similar for the keys in did:peer. What number should we use?
This is for #68
This document proposes a deterministic method for generating a PRISM Decentralized Identifier (DID) from a mnemonic phrase. Using existing standards without requiring any modification.