bcrypt 4.2.0__tar.gz → 4.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bcrypt-4.2.0/src/bcrypt.egg-info → bcrypt-4.2.1}/PKG-INFO +13 -5
- {bcrypt-4.2.0 → bcrypt-4.2.1}/README.rst +11 -4
- {bcrypt-4.2.0 → bcrypt-4.2.1}/pyproject.toml +2 -1
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/_bcrypt/Cargo.lock +34 -34
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/_bcrypt/Cargo.toml +2 -2
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/_bcrypt/src/lib.rs +8 -7
- {bcrypt-4.2.0 → bcrypt-4.2.1/src/bcrypt.egg-info}/PKG-INFO +13 -5
- {bcrypt-4.2.0 → bcrypt-4.2.1}/.coveragerc +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/LICENSE +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/MANIFEST.in +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/setup.cfg +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/bcrypt/__init__.py +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/bcrypt/__init__.pyi +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/bcrypt/py.typed +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/bcrypt.egg-info/SOURCES.txt +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/bcrypt.egg-info/dependency_links.txt +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/bcrypt.egg-info/not-zip-safe +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/bcrypt.egg-info/requires.txt +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/src/bcrypt.egg-info/top_level.txt +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/tests/test_bcrypt.py +0 -0
- {bcrypt-4.2.0 → bcrypt-4.2.1}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bcrypt
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.1
|
|
4
4
|
Summary: Modern password hashing for your software and your servers
|
|
5
5
|
Author-email: The Python Cryptographic Authority developers <cryptography-dev@python.org>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
21
|
Requires-Python: >=3.7
|
|
21
22
|
Description-Content-Type: text/x-rst
|
|
22
23
|
License-File: LICENSE
|
|
@@ -44,7 +45,7 @@ Installation
|
|
|
44
45
|
|
|
45
46
|
To install bcrypt, simply:
|
|
46
47
|
|
|
47
|
-
.. code::
|
|
48
|
+
.. code:: console
|
|
48
49
|
|
|
49
50
|
$ pip install bcrypt
|
|
50
51
|
|
|
@@ -53,19 +54,19 @@ compiler and a Rust compiler (the minimum supported Rust version is 1.56.0).
|
|
|
53
54
|
|
|
54
55
|
For Debian and Ubuntu, the following command will ensure that the required dependencies are installed:
|
|
55
56
|
|
|
56
|
-
.. code::
|
|
57
|
+
.. code:: console
|
|
57
58
|
|
|
58
59
|
$ sudo apt-get install build-essential cargo
|
|
59
60
|
|
|
60
61
|
For Fedora and RHEL-derivatives, the following command will ensure that the required dependencies are installed:
|
|
61
62
|
|
|
62
|
-
.. code::
|
|
63
|
+
.. code:: console
|
|
63
64
|
|
|
64
65
|
$ sudo yum install gcc cargo
|
|
65
66
|
|
|
66
67
|
For Alpine, the following command will ensure that the required dependencies are installed:
|
|
67
68
|
|
|
68
|
-
.. code::
|
|
69
|
+
.. code:: console
|
|
69
70
|
|
|
70
71
|
$ apk add --update musl-dev gcc cargo
|
|
71
72
|
|
|
@@ -78,6 +79,13 @@ While bcrypt remains an acceptable choice for password storage, depending on you
|
|
|
78
79
|
Changelog
|
|
79
80
|
=========
|
|
80
81
|
|
|
82
|
+
4.2.1
|
|
83
|
+
-----
|
|
84
|
+
|
|
85
|
+
* Bump Rust dependency versions - this should resolve crashes on Python 3.13
|
|
86
|
+
free-threaded builds.
|
|
87
|
+
* We no longer build ``manylinux`` wheels for PyPy 3.9.
|
|
88
|
+
|
|
81
89
|
4.2.0
|
|
82
90
|
-----
|
|
83
91
|
|
|
@@ -17,7 +17,7 @@ Installation
|
|
|
17
17
|
|
|
18
18
|
To install bcrypt, simply:
|
|
19
19
|
|
|
20
|
-
.. code::
|
|
20
|
+
.. code:: console
|
|
21
21
|
|
|
22
22
|
$ pip install bcrypt
|
|
23
23
|
|
|
@@ -26,19 +26,19 @@ compiler and a Rust compiler (the minimum supported Rust version is 1.56.0).
|
|
|
26
26
|
|
|
27
27
|
For Debian and Ubuntu, the following command will ensure that the required dependencies are installed:
|
|
28
28
|
|
|
29
|
-
.. code::
|
|
29
|
+
.. code:: console
|
|
30
30
|
|
|
31
31
|
$ sudo apt-get install build-essential cargo
|
|
32
32
|
|
|
33
33
|
For Fedora and RHEL-derivatives, the following command will ensure that the required dependencies are installed:
|
|
34
34
|
|
|
35
|
-
.. code::
|
|
35
|
+
.. code:: console
|
|
36
36
|
|
|
37
37
|
$ sudo yum install gcc cargo
|
|
38
38
|
|
|
39
39
|
For Alpine, the following command will ensure that the required dependencies are installed:
|
|
40
40
|
|
|
41
|
-
.. code::
|
|
41
|
+
.. code:: console
|
|
42
42
|
|
|
43
43
|
$ apk add --update musl-dev gcc cargo
|
|
44
44
|
|
|
@@ -51,6 +51,13 @@ While bcrypt remains an acceptable choice for password storage, depending on you
|
|
|
51
51
|
Changelog
|
|
52
52
|
=========
|
|
53
53
|
|
|
54
|
+
4.2.1
|
|
55
|
+
-----
|
|
56
|
+
|
|
57
|
+
* Bump Rust dependency versions - this should resolve crashes on Python 3.13
|
|
58
|
+
free-threaded builds.
|
|
59
|
+
* We no longer build ``manylinux`` wheels for PyPy 3.9.
|
|
60
|
+
|
|
54
61
|
4.2.0
|
|
55
62
|
-----
|
|
56
63
|
|
|
@@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"
|
|
|
11
11
|
[project]
|
|
12
12
|
name = "bcrypt"
|
|
13
13
|
# When updating this, also update lib.rs
|
|
14
|
-
version = "4.2.
|
|
14
|
+
version = "4.2.1"
|
|
15
15
|
authors = [
|
|
16
16
|
{name = "The Python Cryptographic Authority developers", email = "cryptography-dev@python.org"}
|
|
17
17
|
]
|
|
@@ -30,6 +30,7 @@ classifiers = [
|
|
|
30
30
|
"Programming Language :: Python :: 3.10",
|
|
31
31
|
"Programming Language :: Python :: 3.11",
|
|
32
32
|
"Programming Language :: Python :: 3.12",
|
|
33
|
+
"Programming Language :: Python :: 3.13",
|
|
33
34
|
]
|
|
34
35
|
requires-python = ">= 3.7"
|
|
35
36
|
dynamic = ["readme"]
|
|
@@ -4,9 +4,9 @@ version = 3
|
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "autocfg"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.4.0"
|
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "
|
|
9
|
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
|
10
10
|
|
|
11
11
|
[[package]]
|
|
12
12
|
name = "base64"
|
|
@@ -16,9 +16,9 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|
|
16
16
|
|
|
17
17
|
[[package]]
|
|
18
18
|
name = "bcrypt"
|
|
19
|
-
version = "0.
|
|
19
|
+
version = "0.16.0"
|
|
20
20
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
-
checksum = "
|
|
21
|
+
checksum = "2b1866ecef4f2d06a0bb77880015fdf2b89e25a1c2e5addacb87e459c86dc67e"
|
|
22
22
|
dependencies = [
|
|
23
23
|
"base64",
|
|
24
24
|
"blowfish",
|
|
@@ -93,9 +93,9 @@ dependencies = [
|
|
|
93
93
|
|
|
94
94
|
[[package]]
|
|
95
95
|
name = "cpufeatures"
|
|
96
|
-
version = "0.2.
|
|
96
|
+
version = "0.2.15"
|
|
97
97
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
98
|
-
checksum = "
|
|
98
|
+
checksum = "0ca741a962e1b0bff6d724a1a0958b686406e853bb14061f218562e1896f95e6"
|
|
99
99
|
dependencies = [
|
|
100
100
|
"libc",
|
|
101
101
|
]
|
|
@@ -165,9 +165,9 @@ dependencies = [
|
|
|
165
165
|
|
|
166
166
|
[[package]]
|
|
167
167
|
name = "libc"
|
|
168
|
-
version = "0.2.
|
|
168
|
+
version = "0.2.164"
|
|
169
169
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
170
|
-
checksum = "
|
|
170
|
+
checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f"
|
|
171
171
|
|
|
172
172
|
[[package]]
|
|
173
173
|
name = "memoffset"
|
|
@@ -180,9 +180,9 @@ dependencies = [
|
|
|
180
180
|
|
|
181
181
|
[[package]]
|
|
182
182
|
name = "once_cell"
|
|
183
|
-
version = "1.
|
|
183
|
+
version = "1.20.2"
|
|
184
184
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
185
|
-
checksum = "
|
|
185
|
+
checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
|
|
186
186
|
|
|
187
187
|
[[package]]
|
|
188
188
|
name = "pbkdf2"
|
|
@@ -195,24 +195,24 @@ dependencies = [
|
|
|
195
195
|
|
|
196
196
|
[[package]]
|
|
197
197
|
name = "portable-atomic"
|
|
198
|
-
version = "1.
|
|
198
|
+
version = "1.9.0"
|
|
199
199
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
200
|
-
checksum = "
|
|
200
|
+
checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
|
|
201
201
|
|
|
202
202
|
[[package]]
|
|
203
203
|
name = "proc-macro2"
|
|
204
|
-
version = "1.0.
|
|
204
|
+
version = "1.0.89"
|
|
205
205
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
-
checksum = "
|
|
206
|
+
checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
|
|
207
207
|
dependencies = [
|
|
208
208
|
"unicode-ident",
|
|
209
209
|
]
|
|
210
210
|
|
|
211
211
|
[[package]]
|
|
212
212
|
name = "pyo3"
|
|
213
|
-
version = "0.
|
|
213
|
+
version = "0.23.1"
|
|
214
214
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
215
|
-
checksum = "
|
|
215
|
+
checksum = "7ebb0c0cc0de9678e53be9ccf8a2ab53045e6e3a8be03393ceccc5e7396ccb40"
|
|
216
216
|
dependencies = [
|
|
217
217
|
"cfg-if",
|
|
218
218
|
"indoc",
|
|
@@ -228,9 +228,9 @@ dependencies = [
|
|
|
228
228
|
|
|
229
229
|
[[package]]
|
|
230
230
|
name = "pyo3-build-config"
|
|
231
|
-
version = "0.
|
|
231
|
+
version = "0.23.1"
|
|
232
232
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
-
checksum = "
|
|
233
|
+
checksum = "80e3ce69c4ec34476534b490e412b871ba03a82e35604c3dfb95fcb6bfb60c09"
|
|
234
234
|
dependencies = [
|
|
235
235
|
"once_cell",
|
|
236
236
|
"target-lexicon",
|
|
@@ -238,9 +238,9 @@ dependencies = [
|
|
|
238
238
|
|
|
239
239
|
[[package]]
|
|
240
240
|
name = "pyo3-ffi"
|
|
241
|
-
version = "0.
|
|
241
|
+
version = "0.23.1"
|
|
242
242
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
243
|
-
checksum = "
|
|
243
|
+
checksum = "3b09f311c76b36dfd6dd6f7fa6f9f18e7e46a1c937110d283e80b12ba2468a75"
|
|
244
244
|
dependencies = [
|
|
245
245
|
"libc",
|
|
246
246
|
"pyo3-build-config",
|
|
@@ -248,9 +248,9 @@ dependencies = [
|
|
|
248
248
|
|
|
249
249
|
[[package]]
|
|
250
250
|
name = "pyo3-macros"
|
|
251
|
-
version = "0.
|
|
251
|
+
version = "0.23.1"
|
|
252
252
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
253
|
-
checksum = "
|
|
253
|
+
checksum = "fd4f74086536d1e1deaff99ec0387481fb3325c82e4e48be0e75ab3d3fcb487a"
|
|
254
254
|
dependencies = [
|
|
255
255
|
"proc-macro2",
|
|
256
256
|
"pyo3-macros-backend",
|
|
@@ -260,9 +260,9 @@ dependencies = [
|
|
|
260
260
|
|
|
261
261
|
[[package]]
|
|
262
262
|
name = "pyo3-macros-backend"
|
|
263
|
-
version = "0.
|
|
263
|
+
version = "0.23.1"
|
|
264
264
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
265
|
-
checksum = "
|
|
265
|
+
checksum = "9e77dfeb76b32bbf069144a5ea0a36176ab59c8db9ce28732d0f06f096bbfbc8"
|
|
266
266
|
dependencies = [
|
|
267
267
|
"heck",
|
|
268
268
|
"proc-macro2",
|
|
@@ -273,9 +273,9 @@ dependencies = [
|
|
|
273
273
|
|
|
274
274
|
[[package]]
|
|
275
275
|
name = "quote"
|
|
276
|
-
version = "1.0.
|
|
276
|
+
version = "1.0.37"
|
|
277
277
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
278
|
-
checksum = "
|
|
278
|
+
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
|
|
279
279
|
dependencies = [
|
|
280
280
|
"proc-macro2",
|
|
281
281
|
]
|
|
@@ -299,9 +299,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
|
|
|
299
299
|
|
|
300
300
|
[[package]]
|
|
301
301
|
name = "syn"
|
|
302
|
-
version = "2.0.
|
|
302
|
+
version = "2.0.87"
|
|
303
303
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
304
|
-
checksum = "
|
|
304
|
+
checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
|
|
305
305
|
dependencies = [
|
|
306
306
|
"proc-macro2",
|
|
307
307
|
"quote",
|
|
@@ -310,9 +310,9 @@ dependencies = [
|
|
|
310
310
|
|
|
311
311
|
[[package]]
|
|
312
312
|
name = "target-lexicon"
|
|
313
|
-
version = "0.12.
|
|
313
|
+
version = "0.12.16"
|
|
314
314
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
315
|
-
checksum = "
|
|
315
|
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|
316
316
|
|
|
317
317
|
[[package]]
|
|
318
318
|
name = "typenum"
|
|
@@ -322,9 +322,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
|
|
|
322
322
|
|
|
323
323
|
[[package]]
|
|
324
324
|
name = "unicode-ident"
|
|
325
|
-
version = "1.0.
|
|
325
|
+
version = "1.0.13"
|
|
326
326
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
327
|
-
checksum = "
|
|
327
|
+
checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
|
|
328
328
|
|
|
329
329
|
[[package]]
|
|
330
330
|
name = "unindent"
|
|
@@ -334,9 +334,9 @@ checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
|
|
|
334
334
|
|
|
335
335
|
[[package]]
|
|
336
336
|
name = "version_check"
|
|
337
|
-
version = "0.9.
|
|
337
|
+
version = "0.9.5"
|
|
338
338
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
339
|
-
checksum = "
|
|
339
|
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
340
340
|
|
|
341
341
|
[[package]]
|
|
342
342
|
name = "wasi"
|
|
@@ -16,6 +16,7 @@ use base64::Engine;
|
|
|
16
16
|
use pyo3::types::PyBytesMethods;
|
|
17
17
|
use pyo3::PyTypeInfo;
|
|
18
18
|
use std::convert::TryInto;
|
|
19
|
+
use std::ffi::CString;
|
|
19
20
|
use std::io::Write;
|
|
20
21
|
use subtle::ConstantTimeEq;
|
|
21
22
|
|
|
@@ -49,7 +50,7 @@ fn gensalt<'p>(
|
|
|
49
50
|
|
|
50
51
|
let encoded_salt = BASE64_ENGINE.encode(salt);
|
|
51
52
|
|
|
52
|
-
pyo3::types::PyBytes::
|
|
53
|
+
pyo3::types::PyBytes::new_with(
|
|
53
54
|
py,
|
|
54
55
|
1 + prefix.len() + 1 + 2 + 1 + encoded_salt.len(),
|
|
55
56
|
|mut b| {
|
|
@@ -114,7 +115,7 @@ fn hashpw<'p>(
|
|
|
114
115
|
let hashed = py
|
|
115
116
|
.allow_threads(|| bcrypt::hash_with_salt(password, cost, raw_salt))
|
|
116
117
|
.map_err(|_| pyo3::exceptions::PyValueError::new_err("Invalid salt"))?;
|
|
117
|
-
Ok(pyo3::types::PyBytes::
|
|
118
|
+
Ok(pyo3::types::PyBytes::new(
|
|
118
119
|
py,
|
|
119
120
|
hashed.format_for_version(version).as_bytes(),
|
|
120
121
|
))
|
|
@@ -160,15 +161,15 @@ fn kdf<'p>(
|
|
|
160
161
|
// They probably think bcrypt.kdf()'s rounds parameter is logarithmic,
|
|
161
162
|
// expecting this value to be slow enough (it probably would be if this
|
|
162
163
|
// were bcrypt). Emit a warning.
|
|
163
|
-
pyo3::PyErr::
|
|
164
|
+
pyo3::PyErr::warn(
|
|
164
165
|
py,
|
|
165
|
-
&pyo3::exceptions::PyUserWarning::
|
|
166
|
-
&format!("Warning: bcrypt.kdf() called with only {rounds} round(s). This few is not secure: the parameter is linear, like PBKDF2."),
|
|
166
|
+
&pyo3::exceptions::PyUserWarning::type_object(py),
|
|
167
|
+
&CString::new(format!("Warning: bcrypt.kdf() called with only {rounds} round(s). This few is not secure: the parameter is linear, like PBKDF2.")).unwrap(),
|
|
167
168
|
3
|
|
168
169
|
)?;
|
|
169
170
|
}
|
|
170
171
|
|
|
171
|
-
pyo3::types::PyBytes::
|
|
172
|
+
pyo3::types::PyBytes::new_with(py, desired_key_bytes, |output| {
|
|
172
173
|
py.allow_threads(|| {
|
|
173
174
|
bcrypt_pbkdf::bcrypt_pbkdf(password, salt, rounds, output).unwrap();
|
|
174
175
|
});
|
|
@@ -196,7 +197,7 @@ mod _bcrypt {
|
|
|
196
197
|
// When updating this, also update pyproject.toml
|
|
197
198
|
// This isn't named __version__ because passlib treats the existence of
|
|
198
199
|
// that attribute as proof that we're a different module
|
|
199
|
-
m.add("__version_ex__", "4.2.
|
|
200
|
+
m.add("__version_ex__", "4.2.1")?;
|
|
200
201
|
|
|
201
202
|
let author = "The Python Cryptographic Authority developers";
|
|
202
203
|
m.add("__author__", author)?;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bcrypt
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.1
|
|
4
4
|
Summary: Modern password hashing for your software and your servers
|
|
5
5
|
Author-email: The Python Cryptographic Authority developers <cryptography-dev@python.org>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
21
|
Requires-Python: >=3.7
|
|
21
22
|
Description-Content-Type: text/x-rst
|
|
22
23
|
License-File: LICENSE
|
|
@@ -44,7 +45,7 @@ Installation
|
|
|
44
45
|
|
|
45
46
|
To install bcrypt, simply:
|
|
46
47
|
|
|
47
|
-
.. code::
|
|
48
|
+
.. code:: console
|
|
48
49
|
|
|
49
50
|
$ pip install bcrypt
|
|
50
51
|
|
|
@@ -53,19 +54,19 @@ compiler and a Rust compiler (the minimum supported Rust version is 1.56.0).
|
|
|
53
54
|
|
|
54
55
|
For Debian and Ubuntu, the following command will ensure that the required dependencies are installed:
|
|
55
56
|
|
|
56
|
-
.. code::
|
|
57
|
+
.. code:: console
|
|
57
58
|
|
|
58
59
|
$ sudo apt-get install build-essential cargo
|
|
59
60
|
|
|
60
61
|
For Fedora and RHEL-derivatives, the following command will ensure that the required dependencies are installed:
|
|
61
62
|
|
|
62
|
-
.. code::
|
|
63
|
+
.. code:: console
|
|
63
64
|
|
|
64
65
|
$ sudo yum install gcc cargo
|
|
65
66
|
|
|
66
67
|
For Alpine, the following command will ensure that the required dependencies are installed:
|
|
67
68
|
|
|
68
|
-
.. code::
|
|
69
|
+
.. code:: console
|
|
69
70
|
|
|
70
71
|
$ apk add --update musl-dev gcc cargo
|
|
71
72
|
|
|
@@ -78,6 +79,13 @@ While bcrypt remains an acceptable choice for password storage, depending on you
|
|
|
78
79
|
Changelog
|
|
79
80
|
=========
|
|
80
81
|
|
|
82
|
+
4.2.1
|
|
83
|
+
-----
|
|
84
|
+
|
|
85
|
+
* Bump Rust dependency versions - this should resolve crashes on Python 3.13
|
|
86
|
+
free-threaded builds.
|
|
87
|
+
* We no longer build ``manylinux`` wheels for PyPy 3.9.
|
|
88
|
+
|
|
81
89
|
4.2.0
|
|
82
90
|
-----
|
|
83
91
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|