-
Notifications
You must be signed in to change notification settings - Fork 275
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
Disable re-randomization under more conditions #474
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.
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
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. |
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! |
Fixes #470