I just discovered a case where reproducible builds can very easily make security...
Demi Marie Obenour @alwayscurious@infosec.exchange
I just discovered a case where reproducible builds can very easily make security worse.
Falcon is a post-quantum signature algorithm. Its signing procedure can be implemented in many different ways. As long as signing is randomized, it’s safe to use the same secret key with different signing algorithms. However, if it is derandomized (or if the RNG is bad), using the same secret key with multiple signing algorithms can leak the key.
The simplest solution is to generate a random salt at implementation compile time, ensuring that no two distinct implementations will ever generate the same message hash. That’s enough to guarantee security.