[issue42981] Error messages raised by _hashlib_scrypt_impl() are slightly misleading

2021-02-20 Thread Illia Volochii
Change by Illia Volochii : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42981] Error messages raised by _hashlib_scrypt_impl() are slightly misleading

2021-01-20 Thread Illia Volochii
Change by Illia Volochii : -- keywords: +patch pull_requests: +23097 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24274 ___ Python tracker ___ _

[issue42981] Error messages raised by _hashlib_scrypt_impl() are slightly misleading

2021-01-20 Thread Illia Volochii
New submission from Illia Volochii : Error messages state that maxmem and dklen must be smaller than INT_MAX, but values equal to INT_MAX are allowed too. Also, another error message states that n must be a power of 2, but it does not mention that 1 or 2⁰ is not allowed. -- components