-
-
Notifications
You must be signed in to change notification settings - Fork 677
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
Multisig fix #4351
Multisig fix #4351
Conversation
69da990
to
541c51c
Compare
|
|
6ad64e4
to
1f204aa
Compare
Related issue: #4356 |
@andrewkozlik please do a high-level review, ensuring particularly that this pull request fixes the mentioned issue. |
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.
Looking good, found some nits, another pair of eyes on apps/bitcoin/sign_tx/
would be nice.
Co-authored-by: Martin Milata <[email protected]>
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.
High level this LGTM. Good job! Awaiting final approval from @mmilata.
@Hannsek we will need 3rd party multisig providers (Unchained, Casa, ...) to test that these changes do not break their setups. I believe you have the full set of contacts. Please coordinate with them before the next firmware release.
b7d26c7
to
9c4e2f1
Compare
[no changelog]
6d4bd16
to
b690807
Compare
b690807
to
7d4c0d2
Compare
Doesn't this break |
I'm afraid you are right. It breaks the serialization of the multisig witness and signature. What is strange is that this test didn't catch it. |
That's because that test does not use that function in a breaking way. That is testing unsigned txs. The |
I have it fixed in d066232 |
I'm not sure if this is exactly what you're saying, but I discovered that the test fails to catch it because I use empty signatures in
The fix is not completely correct because |
/change/address_index
. This caused some paths weren't properly recognized as change outputs. However, the main reason for removing this path is primarily to prevent further problems in the future.None of these changes were backported to legacy.