python-bcrypt
Port variant v12
Summary Modern password hashing based on blowfish (3.12)
BROKEN
Package version 4.2.0
Homepage https://github.com/pyca/bcrypt/
Keywords python, rust
Maintainer Python Automaton
License Not yet specified
Other variants v13
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
Subpackage Descriptions
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.
Configuration Switches (platform-specific settings discarded)
PY312 ON Build using Python 3.12 PY313 OFF Build using Python 3.13
Package Dependencies by Type
Build (only) python-setuptools-rust:single:v12
rust:single:std
python312:dev:std
python-setuptools:single:v12
autoselect-python:single:std
Build and Runtime python312:primary:std
Runtime (only) ravensys-gcc:libs:std (single subpackage)
Download groups
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
Distribution File Information
cf69eaf5185fd58f268f805b505ce31f9b9fc2d64b376642164e9244540c1221 24294 rust/crates/bcrypt-4.2.0.tar.gz 0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0 16524 rust/crates/autocfg-1.3.0.tar.gz 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 81597 rust/crates/base64-0.22.1.tar.gz e65938ed058ef47d92cf8b346cc76ef48984572ade631927e9937b5ffc7662c7 11628 rust/crates/bcrypt-0.15.1.tar.gz 6aeac2e1fe888769f34f05ac343bbef98b14d1ffb292ab69d4608b3abc86f2a2 11032 rust/crates/bcrypt-pbkdf-0.10.0.tar.gz 3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71 10538 rust/crates/block-buffer-0.10.4.tar.gz e412e2cd0f2b2d93e02543ceae7917b3c70331573df19ee046bcbc35e45e87d7 16734 rust/crates/blowfish-0.9.1.tar.gz 1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b 23288 rust/crates/byteorder-1.5.0.tar.gz baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd 7934 rust/crates/cfg-if-1.0.0.tar.gz 773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad 19073 rust/crates/cipher-0.4.4.tar.gz 53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504 12837 rust/crates/cpufeatures-0.2.12.tar.gz 1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3 8760 rust/crates/crypto-common-0.1.6.tar.gz 9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292 19557 rust/crates/digest-0.10.7.tar.gz 85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a 15950 rust/crates/generic-array-0.14.7.tar.gz c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7 37163 rust/crates/getrandom-0.2.15.tar.gz 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea 11517 rust/crates/heck-0.5.0.tar.gz b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5 14396 rust/crates/indoc-2.0.5.tar.gz a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5 10743 rust/crates/inout-0.1.3.tar.gz 97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c 743539 rust/crates/libc-0.2.155.tar.gz 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a 9032 rust/crates/memoffset-0.9.1.tar.gz 3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92 33046 rust/crates/once_cell-1.19.0.tar.gz f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2 13906 rust/crates/pbkdf2-0.12.2.tar.gz da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265 145385 rust/crates/portable-atomic-1.7.0.tar.gz 5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77 48958 rust/crates/proc-macro2-1.0.86.tar.gz 831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433 538342 rust/crates/pyo3-0.22.2.tar.gz 1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8 31225 rust/crates/pyo3-build-config-0.22.2.tar.gz 5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6 67749 rust/crates/pyo3-ffi-0.22.2.tar.gz eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206 8136 rust/crates/pyo3-macros-0.22.2.tar.gz ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372 65620 rust/crates/pyo3-macros-backend-0.22.2.tar.gz 0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7 28507 rust/crates/quote-1.0.36.tar.gz 793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8 26357 rust/crates/sha2-0.10.8.tar.gz 13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292 14562 rust/crates/subtle-2.6.1.tar.gz dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af 267069 rust/crates/syn-2.0.72.tar.gz 4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2 26384 rust/crates/target-lexicon-0.12.15.tar.gz 42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825 42849 rust/crates/typenum-1.17.0.tar.gz 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b 42168 rust/crates/unicode-ident-1.0.12.tar.gz c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce 7306 rust/crates/unindent-0.2.3.tar.gz 49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f 14895 rust/crates/version_check-0.9.4.tar.gz 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423 28131 rust/crates/wasi-0.11.0+wasi-snapshot-preview1.tar.gz ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde 20029 rust/crates/zeroize-1.8.1.tar.gz
Ports that require python-bcrypt:v12
python-paramiko:v12 SSH2 protocol library (3.12)