Port variant py39
Summary Modern password hashing based on blowfish (3.9)
Package version 3.2.0
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py310
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 20 NOV 2021, 04:14:38 UTC
Port created 05 FEB 2019, 15:55:37 UTC
Subpackage Descriptions
single bcrypt ====== :alt: Latest Version Good password hashing for your software and your servers Installation ============ To install bcrypt, simply: .. code:: bash $ pip install bcrypt Note that bcrypt should build very easily on Linux provided you have a C compiler, headers for Python (if you're not using pypy), and headers for the libffi libraries available on your system. For Debian and Ubuntu, the following command will ensure that the required dependencies are installed: .. code:: bash $ sudo apt-get install build-essential libffi-dev python-dev For Fedora and RHEL-derivatives, the following command will ensure that the required dependencies are installed: .. code:: bash $ sudo yum install gcc libffi-devel python-devel For Alpine, the following command will ensure that the required dependencies are installed: .. code:: bash $ apk add --update musl-dev gcc libffi-dev Alternatives ============ While bcrypt remains a good choice for password storage depending on your specific use case you may also want to consider using scrypt (either via `standard library`_ or `cryptography`_) or argon2id via `argon2_cffi`_. Changelog ========= 3.2.0 ----- * Added typehints for library functions. * Dropped support for Python versions less than 3.6 (2.7, 3.4, 3.5). * Shipped abi3 Windows wheels (requires pip >= 20). 3.1.7 ----- * Set a setuptools lower bound for PEP517 wheel building. * We no longer distribute 32-bit manylinux1 wheels. Continuing to produce them was a maintenance burden. 3.1.6 ----- * Added support for compilation on Haiku. 3.1.5 ----- * Added support for compilation on AIX. * Dropped Python 2.6 and 3.3 support. * Switched to using abi3 wheels for Python 3. If you are not getting a wheel on a compatible platform please upgrade your pip version. 3.1.4 ----- * Fixed compilation with mingw and on illumos. 3.1.3 ----- * Fixed a compilation issue on Solaris. * Added a warning when using too few rounds with kdf. 3.1.2 ----- * Fixed a compile issue affecting big endian platforms. * Fixed invalid escape sequence warnings on Python 3.6. * Fixed building in non-UTF8 environments on Python 2. 3.1.1 ----- * Resolved a UserWarning when used with cffi 1.8.3. 3.1.0 -----
Configuration Switches (platform-specific settings discarded)
PY310 OFF Build using Python 3.10 PY39 ON Build using Python 3.9
Package Dependencies by Type
Build (only) python-setuptools:single:py39
Build and Runtime python-cffi:single:py39
Download groups
main mirror://PYPI/b/bcrypt
Distribution File Information
5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29 42416 bcrypt-3.2.0.tar.gz
Ports that require python-bcrypt:py39
python-paramiko:py39 SSH2 protocol library (3.9)