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

CIP-1853 - HD Stake Pool Cold Keys #56

Merged

Conversation

refi93
Copy link
Contributor

@refi93 refi93 commented Dec 17, 2020

Creating this PR to have a wider discussion and standardize how should the stake pool cold keys be deterministically derived, to e.g. allow their management on hardware wallets

Not sure if right now there are other, possibly not yet published, CIPs that are meant to have this number as a follow-up of CIP-1852, but if they don't introduce a new derivation path purpose, it IMHO makes sense to have 1853 for this CIP which does so


Example: `m / 1853' / 1815' / 0 / 0'`

Here the `usecase` is currently fixed to `0`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree in the future some use-cases may want to be soft-derived.
I'm not sure if there is any reason to have this specific use case be soft-derived instead of hard-derived though. given all child keys are hard-derived.

Copy link
Contributor

@dcoutts dcoutts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable. I think the use case field should be hardened, as discussed in the editors meeting.

For future extensions, for new sufficiently different schemes, we can simply use new values of the purpose field. This avoids complication in the use case being harded for some and non-hardened for others. Hardened is the safe default that works for the current SPO use case, and perhaps other similar future miscellaneous independent keys.

Copy link
Contributor

@dcoutts dcoutts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

Copy link
Contributor

@crptmppt crptmppt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging as per 1/26 meeting.

@crptmppt crptmppt merged commit a3527ad into cardano-foundation:master Jan 30, 2021
KtorZ added a commit that referenced this pull request Oct 25, 2022
KtorZ added a commit that referenced this pull request Oct 25, 2022
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