Skip to content

Conversation

@FabioPinheiro
Copy link

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.

@FabioPinheiro
Copy link
Author

@EzequielPostan maybe you also want to have a read.

Copy link

@yshyn-iohk yshyn-iohk left a 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.

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?

Copy link
Author

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.

Copy link

@patextreme patextreme left a 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` |
Copy link
Author

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?

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

Successfully merging this pull request may close these issues.

4 participants