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

backpack account primary public key derivation path is unbounded #3281

Open
tomlinton opened this issue Mar 10, 2023 · 0 comments
Open

backpack account primary public key derivation path is unbounded #3281

tomlinton opened this issue Mar 10, 2023 · 0 comments

Comments

@tomlinton
Copy link
Contributor

A user can theoretically set their primary public key to any derivation path, but we can only provide a fixed set of recovery paths to search for the primary public key.

If a BIP44 path is:

m / purpose' / coin_type' / account' / change / address_index

  • One potential way of dealing with this is storing the account index of the primary key on the server so we know where to search, but the address_index is still unbounded.
  • Store the complete derivation path which doesn't seem great.
  • We could store the account and address_index, but that is effectively the same as storing the complete path.

Related #1716

@tomlinton tomlinton changed the title backpack account primary public key is unbounded backpack account primary public key derivation path is unbounded Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants