python-bcrypt
Port variant v13
Summary Modern password hashing based on blowfish (3.13)
BROKEN
Package version 4.2.1
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 22 NOV 2024, 18:42:50 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 OFF Build using Python 3.12 PY313 ON Build using Python 3.13
Package Dependencies by Type
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)
Download groups
main mirror://PYPI/b/bcrypt
cr01 mirror://CRATES/autocfg:1.4.0
cr02 mirror://CRATES/base64:0.22.1
cr03 mirror://CRATES/bcrypt:0.16.0
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.15
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.164
cr19 mirror://CRATES/memoffset:0.9.1
cr20 mirror://CRATES/once_cell:1.20.2
cr21 mirror://CRATES/pbkdf2:0.12.2
cr22 mirror://CRATES/portable-atomic:1.9.0
cr23 mirror://CRATES/proc-macro2:1.0.89
cr24 mirror://CRATES/pyo3:0.23.1
cr25 mirror://CRATES/pyo3-build-config:0.23.1
cr26 mirror://CRATES/pyo3-ffi:0.23.1
cr27 mirror://CRATES/pyo3-macros:0.23.1
cr28 mirror://CRATES/pyo3-macros-backend:0.23.1
cr29 mirror://CRATES/quote:1.0.37
cr30 mirror://CRATES/sha2:0.10.8
cr31 mirror://CRATES/subtle:2.6.1
cr32 mirror://CRATES/syn:2.0.87
cr33 mirror://CRATES/target-lexicon:0.12.16
cr34 mirror://CRATES/typenum:1.17.0
cr35 mirror://CRATES/unicode-ident:1.0.13
cr36 mirror://CRATES/unindent:0.2.3
cr37 mirror://CRATES/version_check:0.9.5
cr38 mirror://CRATES/wasi:0.11.0+wasi-snapshot-preview1
cr39 mirror://CRATES/zeroize:1.8.1
Distribution File Information
6765386e3ab87f569b276988742039baab087b2cdb01e809d74e74503c2faafe 24427 rust/crates/bcrypt-4.2.1.tar.gz ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26 17712 rust/crates/autocfg-1.4.0.tar.gz 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 81597 rust/crates/base64-0.22.1.tar.gz 2b1866ecef4f2d06a0bb77880015fdf2b89e25a1c2e5addacb87e459c86dc67e 12497 rust/crates/bcrypt-0.16.0.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 0ca741a962e1b0bff6d724a1a0958b686406e853bb14061f218562e1896f95e6 13196 rust/crates/cpufeatures-0.2.15.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 433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f 769055 rust/crates/libc-0.2.164.tar.gz 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a 9032 rust/crates/memoffset-0.9.1.tar.gz 1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775 33394 rust/crates/once_cell-1.20.2.tar.gz f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2 13906 rust/crates/pbkdf2-0.12.2.tar.gz cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2 166365 rust/crates/portable-atomic-1.9.0.tar.gz f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e 49446 rust/crates/proc-macro2-1.0.89.tar.gz 7ebb0c0cc0de9678e53be9ccf8a2ab53045e6e3a8be03393ceccc5e7396ccb40 1072552 rust/crates/pyo3-0.23.1.tar.gz 80e3ce69c4ec34476534b490e412b871ba03a82e35604c3dfb95fcb6bfb60c09 31755 rust/crates/pyo3-build-config-0.23.1.tar.gz 3b09f311c76b36dfd6dd6f7fa6f9f18e7e46a1c937110d283e80b12ba2468a75 73993 rust/crates/pyo3-ffi-0.23.1.tar.gz fd4f74086536d1e1deaff99ec0387481fb3325c82e4e48be0e75ab3d3fcb487a 8064 rust/crates/pyo3-macros-0.23.1.tar.gz 9e77dfeb76b32bbf069144a5ea0a36176ab59c8db9ce28732d0f06f096bbfbc8 70118 rust/crates/pyo3-macros-backend-0.23.1.tar.gz b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af 28558 rust/crates/quote-1.0.37.tar.gz 793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8 26357 rust/crates/sha2-0.10.8.tar.gz 13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292 14562 rust/crates/subtle-2.6.1.tar.gz 25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d 278076 rust/crates/syn-2.0.87.tar.gz 61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1 26488 rust/crates/target-lexicon-0.12.16.tar.gz 42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825 42849 rust/crates/typenum-1.17.0.tar.gz e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe 43279 rust/crates/unicode-ident-1.0.13.tar.gz c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce 7306 rust/crates/unindent-0.2.3.tar.gz 0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a 15554 rust/crates/version_check-0.9.5.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:v13
python-paramiko:v13 SSH2 protocol library (3.13)