Port variant | v13 |
Summary | Modern password hashing based on blowfish (3.13) |
BROKEN | |
Package version | 4.2.0 |
Homepage | https://github.com/pyca/bcrypt/ |
Keywords | python, rust |
Maintainer | Python Automaton |
License | Not yet specified |
Other variants | v12 |
Ravenports | Buildsheet | History |
Ravensource | Port Directory | History |
Last modified | 11 NOV 2024, 23:28:05 UTC |
Port created | 05 FEB 2019, 15:55:37 UTC |
single | bcrypt ====== :alt: Latest Version Acceptable 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 and a Rust compiler (the minimum supported Rust version is 1.56.0). For Debian and Ubuntu, the following command will ensure that the required dependencies are installed: .. code:: bash $ sudo apt-get install build-essential cargo For Fedora and RHEL-derivatives, the following command will ensure that the required dependencies are installed: .. code:: bash $ sudo yum install gcc cargo For Alpine, the following command will ensure that the required dependencies are installed: .. code:: bash $ apk add --update musl-dev gcc cargo Alternatives ============ While bcrypt remains an acceptable 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 ========= 4.0.0 ----- * bcrypt is now implemented in Rust. Users building from source will need to have a Rust compiler available. Nothing will change for users downloading wheels. * We no longer ship manylinux2010 wheels. Users should upgrade to the latest pip to ensure this doesn’t cause issues downloading wheels on their platform. We now ship manylinux_2_28 wheels for users on new enough platforms. * NUL bytes are now allowed in inputs. 3.2.2 ----- * Fixed packaging of ``py.typed files in wheels so that mypy`` works. 3.2.1 ----- * Added support for compilation on z/OS * The next release of bcrypt with be 4.0 and it will require Rust at compile time, for users building from source. There will be no additional requirement for users who are installing from wheels. Users on most platforms will be able to obtain a wheel by making sure they have an up to date pip. The minimum supported Rust version will be 1.56.0. * This will be the final release for which we ship manylinux2010 wheels. Going forward the minimum supported manylinux ABI for our wheels will be manylinux2014. The vast majority of users will continue to receive manylinux wheels provided they have an up to date pip. 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. |
Build (only) |
python-setuptools-rust:single:v13 rust:single:std python313:dev:std python-setuptools:single:v13 autoselect-python:single:std |
Build and Runtime | python313:primary:std |
Runtime (only) | ravensys-gcc:libs:std (single subpackage) |
main | mirror://PYPI/b/bcrypt |
cr01 | mirror://CRATES/autocfg:1.3.0 |
cr02 | mirror://CRATES/base64:0.22.1 |
cr03 | mirror://CRATES/bcrypt:0.15.1 |
cr04 | mirror://CRATES/bcrypt-pbkdf:0.10.0 |
cr05 | mirror://CRATES/block-buffer:0.10.4 |
cr06 | mirror://CRATES/blowfish:0.9.1 |
cr07 | mirror://CRATES/byteorder:1.5.0 |
cr08 | mirror://CRATES/cfg-if:1.0.0 |
cr09 | mirror://CRATES/cipher:0.4.4 |
cr10 | mirror://CRATES/cpufeatures:0.2.12 |
cr11 | mirror://CRATES/crypto-common:0.1.6 |
cr12 | mirror://CRATES/digest:0.10.7 |
cr13 | mirror://CRATES/generic-array:0.14.7 |
cr14 | mirror://CRATES/getrandom:0.2.15 |
cr15 | mirror://CRATES/heck:0.5.0 |
cr16 | mirror://CRATES/indoc:2.0.5 |
cr17 | mirror://CRATES/inout:0.1.3 |
cr18 | mirror://CRATES/libc:0.2.155 |
cr19 | mirror://CRATES/memoffset:0.9.1 |
cr20 | mirror://CRATES/once_cell:1.19.0 |
cr21 | mirror://CRATES/pbkdf2:0.12.2 |
cr22 | mirror://CRATES/portable-atomic:1.7.0 |
cr23 | mirror://CRATES/proc-macro2:1.0.86 |
cr24 | mirror://CRATES/pyo3:0.22.2 |
cr25 | mirror://CRATES/pyo3-build-config:0.22.2 |
cr26 | mirror://CRATES/pyo3-ffi:0.22.2 |
cr27 | mirror://CRATES/pyo3-macros:0.22.2 |
cr28 | mirror://CRATES/pyo3-macros-backend:0.22.2 |
cr29 | mirror://CRATES/quote:1.0.36 |
cr30 | mirror://CRATES/sha2:0.10.8 |
cr31 | mirror://CRATES/subtle:2.6.1 |
cr32 | mirror://CRATES/syn:2.0.72 |
cr33 | mirror://CRATES/target-lexicon:0.12.15 |
cr34 | mirror://CRATES/typenum:1.17.0 |
cr35 | mirror://CRATES/unicode-ident:1.0.12 |
cr36 | mirror://CRATES/unindent:0.2.3 |
cr37 | mirror://CRATES/version_check:0.9.4 |
cr38 | mirror://CRATES/wasi:0.11.0+wasi-snapshot-preview1 |
cr39 | mirror://CRATES/zeroize:1.8.1 |
python-paramiko:v13 | SSH2 protocol library (3.13) |