Mark Builder methods as pure#1076
Conversation
|
Possibly worth making a major release for such an interface addition - any PRNG stuff can't be pure though, obviously |
|
@Ocramius where is the PRNG here? As far as I know, only |
This is not possible, because
I'm not sure why could this be considered as a BC break, because this only makes obvious for SCA tools of what was intended to be introduced in the original PR (#979). The behavior is not changed.
There is nothing related to PRNG, the methods are just plain "setters". |
|
I know, and I'll reiterate: there are no random number generation in any currently supported Signer 🤔 |
|
All signatures are deterministic? They don't even factor in any random offset/salt to make brute forcing harder? 😱 |
All the doc I read state that this is by design: getting secure randomness is tricky, so it's better to only do it while generating the key. BTW, back to the topic: @b1rdex please update the |
|
Given this is marked as a bug fix, I've changed the target branch to 5.4.x. @b1rdex would please rebase the branch and remove the commits that aren't related to your changes? Once we do that, we're good for merge & release. Thanks everyone! |
|
@lcobucci done |
Fix #1075