password-hashes icon indicating copy to clipboard operation
password-hashes copied to clipboard

scrypt: relax check on log_n

Open aawsome opened this issue 10 months ago • 3 comments

Hi!

we are getting compatibility issues due to scrypt parameters which don't work on Rust scrypt, but work on e.g. Go (and obviously also in the scrypt C reference implementation). It seems like the RFC is too strict here by accident.

See https://github.com/rustic-rs/rustic/issues/1394

There has been already a discussion about this in https://github.com/golang/go/issues/33703 and the RFC errata is e.g. https://www.rfc-editor.org/errata/eid5971.

Is it possible to also relax that check in the Rust scrypt implementation to improve interoperability with software using the C or Go implementation?

aawsome avatar Jan 07 '25 05:01 aawsome