diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-06-27 11:53:42 -0500 |
---|---|---|
committer | lvh <_@lvh.io> | 2016-06-27 11:53:42 -0500 |
commit | 394882d070390f25caeebb5fa27b73bc7666c7e4 (patch) | |
tree | 714e21bbbd9c8e26887b99dd3b0d5ca4d340838d /README.rst | |
parent | 2cc711262fc0353efcbe6f7b4d855fe3bd404c10 (diff) | |
download | py-bcrypt-git-394882d070390f25caeebb5fa27b73bc7666c7e4.tar.gz |
Convert bcrypt to use OpenBSD code (#68)
* swap to using openbsd bcrypt
* we should probably call this 3.0
* update tests to handle slight change in behavior, test better
* strip out code we're not using
* define this for linux
* py3 fix
* add a changelog to the readme
* maybe work with windows
* portable endian header, replace swaps, other windows fixes
* handle older windows compilers properly, handle glibc < 2.9, retab
* remove a todo, that's definitely the limit
* make these definitions conditional since some BSDs may already have them
* add $2a$ tests from crypt_blowfish-1.3
* update readme to note supported prefixes
* almost pointless commit
* add support for $2y$
test vectors from openwall crypt-blowfish1.3
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -34,6 +34,19 @@ For Fedora and RHEL-derivatives, the following command will ensure that the requ $ sudo yum install gcc libffi-devel python-devel +Changelog +========= + +3.0.0 +----- +* Switched the C backend to code obtained from the OpenBSD project rather than + openwall. + +2.0.0 +----- +* Added support for an adjustible prefix when calling `gensalt`. +* Switched to CFFI 1.0+ + Usage ----- @@ -84,6 +97,8 @@ Another one of bcrypt's features is an adjustable prefix to let you define what libraries you'll remain compatible with. To adjust this, pass either ``2a`` or ``2b`` (the default) to ``bcrypt.gensalt(prefix=b"2b")`` as a bytes object. +As of 3.0.0 the `$2y$` prefix is still supported in `hashpw` but deprecated. + Maxmimum Password Length ~~~~~~~~~~~~~~~~~~~~~~~~ @@ -107,6 +122,11 @@ Compatibility This library should be compatible with py-bcrypt and it will run on Python 2.6+, 3.3+, and PyPy 2.6+. +C Code +------ + +This library uses code from OpenBSD. + Security -------- |