-
Notifications
You must be signed in to change notification settings - Fork 305
Disable re-randomization under more conditions #474
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
Conversation
Disable auto-rerandomization for both global and local contexts.
This causes panics. We can't add catch the panic, we can't change its output, we can't detect if it'll happen, etc. Rather than dealing with confused bug reports let's just drop this. If users want to rerandomize their contexts they can do so manually. There is probably a better solution to this but it is still under debate, even upstream in the C library, what this should look like. Meanwhile we have bug reports now.
Kixunil
left a comment
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.
ACK d206891
tcharding
left a comment
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.
ACK d206891
|
Thanks both of you! I need an ack from @TheBlueMatt or @elichai to merge. |
|
Isn't this just "solved" by not enabling |
|
@elichai rust-bitcoin enables We could probably soften that, or at least make it optional, in rust-bitcoin ... but it will remain the case that if anything in your dep tree turns on |
|
@sanket1729 I have made you a maintainer of this project. Could you ACK this so we can get this out before #475? Unless @elichai has an objection. |
sanket1729
left a comment
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.
ACK d206891
|
@tcharding yes, we absolutely want this in a minor version bump. |
|
Oh, I think I get it now. I'll write it just to see I'm understanding. It required a patch version because it was a bug fix to WASM, so without it 0.23.x is broken, hence doing 0.23.4 - is that correct? |
|
@sanket1729 just answered me over here: #475 (comment) Thanks! |
|
Correct! |
… more conditions
d206891eaaaee32e1b982f6d1439a3e19d0ebfe8 bump version to 0.23.4 (Andrew Poelstra)
b01337cfb5ca87243d0fcee573480f3ab5747ffd context: unconditionally disable auto-rerandomization on wasm (Andrew Poelstra)
748284633bbabca8ff1f17fe7ed260e3cee5c480 apply `global-context-not-secure` logic to Secp256k1::new (Andrew Poelstra)
Pull request description:
Fixes #470
ACKs for top commit:
Kixunil:
ACK d206891eaaaee32e1b982f6d1439a3e19d0ebfe8
tcharding:
ACK d206891eaaaee32e1b982f6d1439a3e19d0ebfe8
sanket1729:
ACK d206891eaaaee32e1b982f6d1439a3e19d0ebfe8
Tree-SHA512: 2a7db5b75f55a007aa780b6317804c819c0366e207623220f72a06c2af09087accf1bc834f05899897afcc2035f5e9a5480d8a7ffff83536327c695602ba138d
… more conditions
d206891eaaaee32e1b982f6d1439a3e19d0ebfe8 bump version to 0.23.4 (Andrew Poelstra)
b01337cfb5ca87243d0fcee573480f3ab5747ffd context: unconditionally disable auto-rerandomization on wasm (Andrew Poelstra)
748284633bbabca8ff1f17fe7ed260e3cee5c480 apply `global-context-not-secure` logic to Secp256k1::new (Andrew Poelstra)
Pull request description:
Fixes #470
ACKs for top commit:
Kixunil:
ACK d206891eaaaee32e1b982f6d1439a3e19d0ebfe8
tcharding:
ACK d206891eaaaee32e1b982f6d1439a3e19d0ebfe8
sanket1729:
ACK d206891eaaaee32e1b982f6d1439a3e19d0ebfe8
Tree-SHA512: 2a7db5b75f55a007aa780b6317804c819c0366e207623220f72a06c2af09087accf1bc834f05899897afcc2035f5e9a5480d8a7ffff83536327c695602ba138d
Fixes #470