-
Notifications
You must be signed in to change notification settings - Fork 34
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
Chantools derives the wrong identity key #42
Comments
Hmm... I've used this command many times and it always worked for me. |
Can you check if you get the correct identity if you use https://guggero.github.io/cryptography-toolkit/#!/aezeed, take the xprv and use that as |
The seed phrase was used directly in all cases. I was able to use chantools with a different seed phrase to recover a working testnet3 instance without any issue by including the In this case the seed can not be moved from the secure/headless environment and that creates some issues for using your web based tool. Is there any difference in the process of I did go through the steps again of verifying the seed phrase in both chantools and LND to rule out something strange occurring the first time. Again, I got a different result in chantools than I got from LND (expected value). |
What version of |
This was using the most recent version |
Damn, then I don't know what could cause the difference. Going to do some testing to dig deeper. |
Okay, I found a seed that produces a different node key with
It looks like 2f5f081 is the culprit for the difference. But I cannot yet explain why after this change the result is different, since |
Okay, I finally figured it out... Because the underlying Closed by af563bb. Going to release a fixed version |
Works, thanks for the quick fix! |
While trying to assist in the recovery of funds described in #41, I was presented with an error that the derived identity key was not found in the match file during step [1/3] using the
zombierecovery prepare keys
command. Further investigation by runningderivekey --neuter --identity
yielded the same identity which is not the expected node identity for this seed phrase.At first, I thought the seed phrase was wrong for the node (big problem!) but I had verified it previously with the lnd recovery process, so I setup another test to verify my previous results. I installed a fresh copy of bitcoind/lnd along side the chantools to compare. When loading a wallet with
lncli create
and copy/pasting the seed used with chantools, I am indeed able to recover the correct identity of my node (good news, hopefully?).The text was updated successfully, but these errors were encountered: