-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix Password for lnd instance. #7
Conversation
the question is, how is this going to be implemented. Adding the corrected code, will break starting all older btcpay setups from starting up as the wrong password |
1e6e26b
to
c8cdbfd
Compare
Ok changed the script, we will now try it without the line feed, it it fails we try the old way with the line feed. |
c8cdbfd
to
cda97ea
Compare
People trying to recover the rootkey via chantools, you need to use this version if your btcpay pw was created with the line feed character at the end. |
thanks man, remem
I can confirm that this works with the newline broke passwort |
Pull Request Test Coverage Report for Build 11314695340Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ziggie1984 thank you for doing this - I will be bumping LND to 1.18.3 in next 2 days, want to include this fix so we deploy it before BTCPay 2.0 is released so everyone can update to it.
If this is done properly we can also resolve this issue: btcpayserver/btcpayserver#5612
Let me know what you think how it's best to approach this and we'll sync for release.
@rockstardev you said you gonna release lnd 0.18.3 soon, as far as I know, lnd 0.18.4 will be released soon which resolves incompatibilty with bitcoincore 28, dont know if you heard about that, but if you guys upgrade to bitcoincore 28 afterwards, no lnd node will start up anymore, and you need to release lnd 0.18.4 afterwards to fix this. You might save yourself some time and hazzle greetings |
2cc6d02
to
cc16568
Compare
cc16568
to
3350838
Compare
Ok changed it, tested locally and it worked. |
will test this on my instance also this evening or maybe if not latest tomorrow evening |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, you crushed it with this PR @ziggie1984
I've published |
Worked perfectly on my server. However, I've noticed that admin_macaroon ends up in logs: so I've removed the Publishing new container for 0.18.3-beta on Docker Hub that should work for all, deleted the old one. |
Fixes the password creation for the LND daemon.
Tho I think this would not be backwards compatible.