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

Improve extended key validation #121

Merged
merged 3 commits into from
Mar 7, 2023
Merged

Improve extended key validation #121

merged 3 commits into from
Mar 7, 2023

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Mar 6, 2023

This adds extra validation for extended keys. Specifically, it ensures that a given combination of master fingerprint, parent fingerprint, and depth is valid.

To ensure that the validation cannot be bypassed, I've made the class constructor for SLIP10Node private.

Related to MM-02-006.

@Mrtenz Mrtenz marked this pull request as ready for review March 6, 2023 10:57
@Mrtenz Mrtenz requested a review from a team as a code owner March 6, 2023 10:57
@Mrtenz Mrtenz force-pushed the mrtenz/better-validation branch from 04c5938 to d2a664d Compare March 7, 2023 09:48
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.

2 participants