From 75971aa30aa80a6ec24861b8afb3d38151b1fa44 Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Tue, 12 May 2020 11:21:03 -0400 Subject: bugfix: bcrypt: test vector for "8bit bug" wasn't UTF8 safe, which makes os_crypt backend always fail, since crypt.crypt() can only be made to handle UTF8 byte strings. * replaced "\xA3" test vector with "\xD1\x91" (from same openwall source); since the latter is valid UTF8. * added new test vector to UT suite --- docs/history/1.7.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/history/1.7.rst b/docs/history/1.7.rst index 5d8ff44..cb497f2 100644 --- a/docs/history/1.7.rst +++ b/docs/history/1.7.rst @@ -39,7 +39,7 @@ Bugfixes * .. py:currentmodule:: passlib.hash :class:`bcrypt`: OS native backend wasn't being detected under Python 3 on BSD platforms. - This was due to an internal issue in feature-detection code, which has been fixed. + This was due to a few internal issues in feature-detection code, which have been fixed. * :func:`passlib.utils.safe_crypt`: Support :func:`crypt.crypt` unexpectedly returning bytes under Python 3 (:issue:`113`). -- cgit v1.2.1