New submission from Illia Volochii <illia.voloc...@gmail.com>:

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: Extension Modules
messages: 385360
nosy: illia-v
priority: normal
severity: normal
status: open
title: Error messages raised by _hashlib_scrypt_impl() are slightly misleading

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42981>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to