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

Incorrect derivation path displayed on when seed is found on non-standard paths #559

Open
wang352303 opened this issue Mar 7, 2025 · 4 comments

Comments

@wang352303
Copy link

1.When I set the path to --bip32-path "m/44'/0'/0'/268/".

python3 seedrecover.py --mnemonic "cup oppose swift nurse robot alcohol hat pigeon govern decline cube fan" --typos 0 --dsw --addr-limit 50000 --wallet-type bip39 --addrs 18bR5jEGCVCkRCJ59C1XDALsvNsCXgv5ZU --bip32-path "m/44'/0'/0'/268/"
Image

2.But the scan result shows m/44'/0'/0'/-2147483380'/1。

Image

python3 seedrecover.py --mnemonic "cup oppose swift nurse robot alcohol hat pigeon govern decline cube fan" --typos 0 --dsw --addr-limit 50000 --wallet-type bip39 --addrs 18bR5jEGCVCkRCJ59C1XDALsvNsCXgv5ZU --bip32-path "m/44'/0'/0'/268/"

Starting seedrecover 1.13.0-CryptoGuide, btcrecover 1.13.0-Cryptoguide on Python 3.13.2 64-bit, 21-bit unicodes, 64-bit ints
Using the 'en' wordlist.
Assuming a 12 word mnemonic. (This can be overridden with --mnemonic-length)
Initial seed guess has a valid checksum (6.2% chance).
2025-03-07 15:08:51 : Phase 1/1: up to 0 mistakes, excluding entirely different seed words.
Wallet Type: btcrseed.WalletBIP39
2025-03-07 15:08:51 : Using 4 worker threads
2025-03-07 15:08:53 : MATCHING SEED FOUND, Matched on Address at derivation path: m/44'/0'/0'/-2147483380'/1----------] 0:00:00, ETA: --:--:--
0 of 1 [--------------------------------------------------------------------------------------------------------------------] 0:00:01, ETA: --:--:--
2025-03-07 15:08:53 : Search Complete

3.Here I used the offline web page bip39-standalone.

@wang352303
Copy link
Author

Why does this happen?

@3rdIteration 3rdIteration changed the title Question: Why does the path appear m/44'/0'/0'/-2147483380'/1? Incorrect derivation path displayed on when finding seed on non-standard paths Mar 8, 2025
@3rdIteration
Copy link
Owner

It's a cosmetic issue and appears that BTCRecover is treating that part of the path as hardened when it's not. (But only for display of that message, not for actually checking the match)

@3rdIteration 3rdIteration changed the title Incorrect derivation path displayed on when finding seed on non-standard paths Incorrect derivation path displayed on when seed is found on non-standard paths Mar 8, 2025
@wang352303
Copy link
Author

Dear btcrecover developers,

When can you correct this,

Allow non-standard paths to be scanned (similar to --bip32-path "m/44'/0'/0'/268/".)

Then come up with the correct answer, thank you!!

@3rdIteration
Copy link
Owner

3rdIteration commented Mar 9, 2025

It's purely cosmetic (and only applicable to extremely non-standard setups), so isn't a high priority. Probably in the next month or two or something. (Unless you fix it and bring a PR)

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

No branches or pull requests

2 participants