bcrypt 5.0.0__tar.gz → 5.1.0__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.
@@ -0,0 +1,179 @@
1
+ Changelog
2
+ =========
3
+
4
+ 5.1.0
5
+ -----
6
+
7
+ * Bumped MSRV to 1.85.
8
+ * Dropped support for Python 3.8.
9
+ * Dropped support for free-threaded Python 3.13 (free-threaded Python 3.14 is
10
+ still supported).
11
+ * Added support for free-threaded Python 3.15. We now publish ``abi3t``
12
+ (free-threaded stable ABI) wheels for it, which will also work on future
13
+ free-threaded Python versions.
14
+ * Added support for PyPy 3.12 and dropped support for PyPy 3.11. We now
15
+ publish PyPy 3.12 ``manylinux`` wheels instead of PyPy 3.11 ones.
16
+ * We no longer publish ``musllinux_1_1`` wheels; ``musllinux_1_2`` wheels
17
+ continue to be published.
18
+ * Dropped support for macOS on x86-64 (Intel). macOS wheels are now built for
19
+ arm64 only, with a minimum macOS version of 11.0.
20
+
21
+ 5.0.0
22
+ -----
23
+
24
+ * Bumped MSRV to 1.74.
25
+ * Added support for Python 3.14 and free-threaded Python 3.14.
26
+ * Added support for Windows on ARM.
27
+ * Passing ``hashpw`` a password longer than 72 bytes now raises a
28
+ ``ValueError``. Previously the password was silently truncated, following the
29
+ behavior of the original OpenBSD ``bcrypt`` implementation.
30
+
31
+ 4.3.0
32
+ -----
33
+
34
+ * Dropped support for Python 3.7.
35
+ * We now support free-threaded Python 3.13.
36
+ * We now support PyPy 3.11.
37
+ * We now publish wheels for free-threaded Python 3.13, for PyPy 3.11 on
38
+ ``manylinux``, and for ARMv7l on ``manylinux``.
39
+
40
+ 4.2.1
41
+ -----
42
+
43
+ * Bump Rust dependency versions - this should resolve crashes on Python 3.13
44
+ free-threaded builds.
45
+ * We no longer build ``manylinux`` wheels for PyPy 3.9.
46
+
47
+ 4.2.0
48
+ -----
49
+
50
+ * Bump Rust dependency versions
51
+ * Removed the ``BCRYPT_ALLOW_RUST_163`` environment variable.
52
+
53
+ 4.1.3
54
+ -----
55
+
56
+ * Bump Rust dependency versions
57
+
58
+ 4.1.2
59
+ -----
60
+
61
+ * Publish both ``py37`` and ``py39`` wheels. This should resolve some errors
62
+ relating to initializing a module multiple times per process.
63
+
64
+ 4.1.1
65
+ -----
66
+
67
+ * Fixed the type signature on the ``kdf`` method.
68
+ * Fixed packaging bug on Windows.
69
+ * Fixed incompatibility with passlib package detection assumptions.
70
+
71
+ 4.1.0
72
+ -----
73
+
74
+ * Dropped support for Python 3.6.
75
+ * Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the ``BCRYPT_ALLOW_RUST_163`` environment variable)
76
+
77
+ 4.0.1
78
+ -----
79
+
80
+ * We now build PyPy ``manylinux`` wheels.
81
+ * Fixed a bug where passing an invalid ``salt`` to ``checkpw`` could result in
82
+ a ``pyo3_runtime.PanicException``. It now correctly raises a ``ValueError``.
83
+
84
+ 4.0.0
85
+ -----
86
+
87
+ * ``bcrypt`` is now implemented in Rust. Users building from source will need
88
+ to have a Rust compiler available. Nothing will change for users downloading
89
+ wheels.
90
+ * We no longer ship ``manylinux2010`` wheels. Users should upgrade to the latest
91
+ ``pip`` to ensure this doesn’t cause issues downloading wheels on their
92
+ platform. We now ship ``manylinux_2_28`` wheels for users on new enough platforms.
93
+ * ``NUL`` bytes are now allowed in inputs.
94
+
95
+
96
+ 3.2.2
97
+ -----
98
+
99
+ * Fixed packaging of ``py.typed`` files in wheels so that ``mypy`` works.
100
+
101
+ 3.2.1
102
+ -----
103
+
104
+ * Added support for compilation on z/OS
105
+ * The next release of ``bcrypt`` with be 4.0 and it will require Rust at
106
+ compile time, for users building from source. There will be no additional
107
+ requirement for users who are installing from wheels. Users on most
108
+ platforms will be able to obtain a wheel by making sure they have an up to
109
+ date ``pip``. The minimum supported Rust version will be 1.56.0.
110
+ * This will be the final release for which we ship ``manylinux2010`` wheels.
111
+ Going forward the minimum supported manylinux ABI for our wheels will be
112
+ ``manylinux2014``. The vast majority of users will continue to receive
113
+ ``manylinux`` wheels provided they have an up to date ``pip``.
114
+
115
+
116
+ 3.2.0
117
+ -----
118
+
119
+ * Added typehints for library functions.
120
+ * Dropped support for Python versions less than 3.6 (2.7, 3.4, 3.5).
121
+ * Shipped ``abi3`` Windows wheels (requires pip >= 20).
122
+
123
+ 3.1.7
124
+ -----
125
+
126
+ * Set a ``setuptools`` lower bound for PEP517 wheel building.
127
+ * We no longer distribute 32-bit ``manylinux1`` wheels. Continuing to produce
128
+ them was a maintenance burden.
129
+
130
+ 3.1.6
131
+ -----
132
+
133
+ * Added support for compilation on Haiku.
134
+
135
+ 3.1.5
136
+ -----
137
+
138
+ * Added support for compilation on AIX.
139
+ * Dropped Python 2.6 and 3.3 support.
140
+ * Switched to using ``abi3`` wheels for Python 3. If you are not getting a
141
+ wheel on a compatible platform please upgrade your ``pip`` version.
142
+
143
+ 3.1.4
144
+ -----
145
+
146
+ * Fixed compilation with mingw and on illumos.
147
+
148
+ 3.1.3
149
+ -----
150
+ * Fixed a compilation issue on Solaris.
151
+ * Added a warning when using too few rounds with ``kdf``.
152
+
153
+ 3.1.2
154
+ -----
155
+ * Fixed a compile issue affecting big endian platforms.
156
+ * Fixed invalid escape sequence warnings on Python 3.6.
157
+ * Fixed building in non-UTF8 environments on Python 2.
158
+
159
+ 3.1.1
160
+ -----
161
+ * Resolved a ``UserWarning`` when used with ``cffi`` 1.8.3.
162
+
163
+ 3.1.0
164
+ -----
165
+ * Added support for ``checkpw``, a convenience method for verifying a password.
166
+ * Ensure that you get a ``$2y$`` hash when you input a ``$2y$`` salt.
167
+ * Fixed a regression where ``$2a`` hashes were vulnerable to a wraparound bug.
168
+ * Fixed compilation under Alpine Linux.
169
+
170
+ 3.0.0
171
+ -----
172
+ * Switched the C backend to code obtained from the OpenBSD project rather than
173
+ openwall.
174
+ * Added support for ``bcrypt_pbkdf`` via the ``kdf`` function.
175
+
176
+ 2.0.0
177
+ -----
178
+ * Added support for an adjustible prefix when calling ``gensalt``.
179
+ * Switched to CFFI 1.0+
@@ -1,4 +1,4 @@
1
- include LICENSE README.rst
1
+ include LICENSE README.rst CHANGELOG.rst
2
2
 
3
3
  include pyproject.toml
4
4
 
@@ -1,25 +1,25 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcrypt
3
- Version: 5.0.0
3
+ Version: 5.1.0
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
7
7
  Project-URL: homepage, https://github.com/pyca/bcrypt/
8
+ Project-URL: changelog, https://github.com/pyca/bcrypt/blob/main/CHANGELOG.rst
8
9
  Classifier: Development Status :: 5 - Production/Stable
9
- Classifier: License :: OSI Approved :: Apache Software License
10
10
  Classifier: Programming Language :: Python :: Implementation :: CPython
11
11
  Classifier: Programming Language :: Python :: Implementation :: PyPy
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Classifier: Programming Language :: Python :: 3 :: Only
14
- Classifier: Programming Language :: Python :: 3.8
15
14
  Classifier: Programming Language :: Python :: 3.9
16
15
  Classifier: Programming Language :: Python :: 3.10
17
16
  Classifier: Programming Language :: Python :: 3.11
18
17
  Classifier: Programming Language :: Python :: 3.12
19
18
  Classifier: Programming Language :: Python :: 3.13
20
19
  Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Programming Language :: Python :: 3.15
21
21
  Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
22
- Requires-Python: >=3.8
22
+ Requires-Python: >=3.9
23
23
  Description-Content-Type: text/x-rst
24
24
  License-File: LICENSE
25
25
  Provides-Extra: tests
@@ -52,7 +52,7 @@ To install bcrypt, simply:
52
52
  $ pip install bcrypt
53
53
 
54
54
  Note that bcrypt should build very easily on Linux provided you have a C
55
- compiler and a Rust compiler (the minimum supported Rust version is 1.56.0).
55
+ compiler and a Rust compiler (the minimum supported Rust version is 1.85.0).
56
56
 
57
57
  For Debian and Ubuntu, the following command will ensure that the required dependencies are installed:
58
58
 
@@ -81,168 +81,10 @@ While bcrypt remains an acceptable choice for password storage, depending on you
81
81
  Changelog
82
82
  =========
83
83
 
84
- 5.0.0
85
- -----
86
-
87
- * Bumped MSRV to 1.74.
88
- * Added support for Python 3.14 and free-threaded Python 3.14.
89
- * Added support for Windows on ARM.
90
- * Passing ``hashpw`` a password longer than 72 bytes now raises a
91
- ``ValueError``. Previously the password was silently truncated, following the
92
- behavior of the original OpenBSD ``bcrypt`` implementation.
93
-
94
- 4.3.0
95
- -----
96
-
97
- * Dropped support for Python 3.7.
98
- * We now support free-threaded Python 3.13.
99
- * We now support PyPy 3.11.
100
- * We now publish wheels for free-threaded Python 3.13, for PyPy 3.11 on
101
- ``manylinux``, and for ARMv7l on ``manylinux``.
102
-
103
- 4.2.1
104
- -----
105
-
106
- * Bump Rust dependency versions - this should resolve crashes on Python 3.13
107
- free-threaded builds.
108
- * We no longer build ``manylinux`` wheels for PyPy 3.9.
109
-
110
- 4.2.0
111
- -----
112
-
113
- * Bump Rust dependency versions
114
- * Removed the ``BCRYPT_ALLOW_RUST_163`` environment variable.
115
-
116
- 4.1.3
117
- -----
118
-
119
- * Bump Rust dependency versions
120
-
121
- 4.1.2
122
- -----
123
-
124
- * Publish both ``py37`` and ``py39`` wheels. This should resolve some errors
125
- relating to initializing a module multiple times per process.
126
-
127
- 4.1.1
128
- -----
129
-
130
- * Fixed the type signature on the ``kdf`` method.
131
- * Fixed packaging bug on Windows.
132
- * Fixed incompatibility with passlib package detection assumptions.
133
-
134
- 4.1.0
135
- -----
136
-
137
- * Dropped support for Python 3.6.
138
- * Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the ``BCRYPT_ALLOW_RUST_163`` environment variable)
139
-
140
- 4.0.1
141
- -----
142
-
143
- * We now build PyPy ``manylinux`` wheels.
144
- * Fixed a bug where passing an invalid ``salt`` to ``checkpw`` could result in
145
- a ``pyo3_runtime.PanicException``. It now correctly raises a ``ValueError``.
146
-
147
- 4.0.0
148
- -----
149
-
150
- * ``bcrypt`` is now implemented in Rust. Users building from source will need
151
- to have a Rust compiler available. Nothing will change for users downloading
152
- wheels.
153
- * We no longer ship ``manylinux2010`` wheels. Users should upgrade to the latest
154
- ``pip`` to ensure this doesn’t cause issues downloading wheels on their
155
- platform. We now ship ``manylinux_2_28`` wheels for users on new enough platforms.
156
- * ``NUL`` bytes are now allowed in inputs.
157
-
158
-
159
- 3.2.2
160
- -----
161
-
162
- * Fixed packaging of ``py.typed`` files in wheels so that ``mypy`` works.
163
-
164
- 3.2.1
165
- -----
166
-
167
- * Added support for compilation on z/OS
168
- * The next release of ``bcrypt`` with be 4.0 and it will require Rust at
169
- compile time, for users building from source. There will be no additional
170
- requirement for users who are installing from wheels. Users on most
171
- platforms will be able to obtain a wheel by making sure they have an up to
172
- date ``pip``. The minimum supported Rust version will be 1.56.0.
173
- * This will be the final release for which we ship ``manylinux2010`` wheels.
174
- Going forward the minimum supported manylinux ABI for our wheels will be
175
- ``manylinux2014``. The vast majority of users will continue to receive
176
- ``manylinux`` wheels provided they have an up to date ``pip``.
177
-
178
-
179
- 3.2.0
180
- -----
181
-
182
- * Added typehints for library functions.
183
- * Dropped support for Python versions less than 3.6 (2.7, 3.4, 3.5).
184
- * Shipped ``abi3`` Windows wheels (requires pip >= 20).
185
-
186
- 3.1.7
187
- -----
188
-
189
- * Set a ``setuptools`` lower bound for PEP517 wheel building.
190
- * We no longer distribute 32-bit ``manylinux1`` wheels. Continuing to produce
191
- them was a maintenance burden.
192
-
193
- 3.1.6
194
- -----
195
-
196
- * Added support for compilation on Haiku.
197
-
198
- 3.1.5
199
- -----
200
-
201
- * Added support for compilation on AIX.
202
- * Dropped Python 2.6 and 3.3 support.
203
- * Switched to using ``abi3`` wheels for Python 3. If you are not getting a
204
- wheel on a compatible platform please upgrade your ``pip`` version.
205
-
206
- 3.1.4
207
- -----
208
-
209
- * Fixed compilation with mingw and on illumos.
210
-
211
- 3.1.3
212
- -----
213
- * Fixed a compilation issue on Solaris.
214
- * Added a warning when using too few rounds with ``kdf``.
215
-
216
- 3.1.2
217
- -----
218
- * Fixed a compile issue affecting big endian platforms.
219
- * Fixed invalid escape sequence warnings on Python 3.6.
220
- * Fixed building in non-UTF8 environments on Python 2.
221
-
222
- 3.1.1
223
- -----
224
- * Resolved a ``UserWarning`` when used with ``cffi`` 1.8.3.
225
-
226
- 3.1.0
227
- -----
228
- * Added support for ``checkpw``, a convenience method for verifying a password.
229
- * Ensure that you get a ``$2y$`` hash when you input a ``$2y$`` salt.
230
- * Fixed a regression where ``$2a`` hashes were vulnerable to a wraparound bug.
231
- * Fixed compilation under Alpine Linux.
232
-
233
- 3.0.0
234
- -----
235
- * Switched the C backend to code obtained from the OpenBSD project rather than
236
- openwall.
237
- * Added support for ``bcrypt_pbkdf`` via the ``kdf`` function.
238
-
239
- 2.0.0
240
- -----
241
- * Added support for an adjustible prefix when calling ``gensalt``.
242
- * Switched to CFFI 1.0+
84
+ The changelog is maintained in `CHANGELOG.rst <https://github.com/pyca/bcrypt/blob/main/CHANGELOG.rst>`_
243
85
 
244
86
  Usage
245
- -----
87
+ =====
246
88
 
247
89
  Password Hashing
248
90
  ~~~~~~~~~~~~~~~~
@@ -311,8 +153,9 @@ As of 3.0.0 the ``$2y$`` prefix is still supported in ``hashpw`` but deprecated.
311
153
  Maximum Password Length
312
154
  ~~~~~~~~~~~~~~~~~~~~~~~
313
155
 
314
- The bcrypt algorithm only handles passwords up to 72 characters, any characters
315
- beyond that are ignored. To work around this, a common approach is to hash a
156
+ Passing ``hashpw`` a password longer than 72 bytes now raises a ``ValueError``.
157
+ Previously the password was silently truncated, following the behavior of the
158
+ original OpenBSD ``bcrypt`` implementation. To work around this, a common approach is to hash a
316
159
  password with a cryptographic hash (such as ``sha256``) and then base64
317
160
  encode it to prevent NULL byte problems before hashing the result with
318
161
  ``bcrypt``:
@@ -329,7 +172,7 @@ Compatibility
329
172
  -------------
330
173
 
331
174
  This library should be compatible with py-bcrypt and it will run on Python
332
- 3.8+ (including free-threaded builds), and PyPy 3.
175
+ 3.9+ (including free-threaded builds), and PyPy 3.
333
176
 
334
177
  Security
335
178
  --------
@@ -0,0 +1,156 @@
1
+ bcrypt
2
+ ======
3
+
4
+ .. image:: https://img.shields.io/pypi/v/bcrypt.svg
5
+ :target: https://pypi.org/project/bcrypt/
6
+ :alt: Latest Version
7
+
8
+ .. image:: https://github.com/pyca/bcrypt/workflows/CI/badge.svg?branch=main
9
+ :target: https://github.com/pyca/bcrypt/actions?query=workflow%3ACI+branch%3Amain
10
+
11
+ Acceptable password hashing for your software and your servers (but you should
12
+ really use argon2id or scrypt)
13
+
14
+
15
+ Installation
16
+ ============
17
+
18
+ To install bcrypt, simply:
19
+
20
+ .. code:: console
21
+
22
+ $ pip install bcrypt
23
+
24
+ Note that bcrypt should build very easily on Linux provided you have a C
25
+ compiler and a Rust compiler (the minimum supported Rust version is 1.85.0).
26
+
27
+ For Debian and Ubuntu, the following command will ensure that the required dependencies are installed:
28
+
29
+ .. code:: console
30
+
31
+ $ sudo apt-get install build-essential cargo
32
+
33
+ For Fedora and RHEL-derivatives, the following command will ensure that the required dependencies are installed:
34
+
35
+ .. code:: console
36
+
37
+ $ sudo yum install gcc cargo
38
+
39
+ For Alpine, the following command will ensure that the required dependencies are installed:
40
+
41
+ .. code:: console
42
+
43
+ $ apk add --update musl-dev gcc cargo
44
+
45
+
46
+ Alternatives
47
+ ============
48
+
49
+ 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`_.
50
+
51
+ Changelog
52
+ =========
53
+
54
+ The changelog is maintained in `CHANGELOG.rst <https://github.com/pyca/bcrypt/blob/main/CHANGELOG.rst>`_
55
+
56
+ Usage
57
+ =====
58
+
59
+ Password Hashing
60
+ ~~~~~~~~~~~~~~~~
61
+
62
+ Hashing and then later checking that a password matches the previous hashed
63
+ password is very simple:
64
+
65
+ .. code:: pycon
66
+
67
+ >>> import bcrypt
68
+ >>> password = b"super secret password"
69
+ >>> # Hash a password for the first time, with a randomly-generated salt
70
+ >>> hashed = bcrypt.hashpw(password, bcrypt.gensalt())
71
+ >>> # Check that an unhashed password matches one that has previously been
72
+ >>> # hashed
73
+ >>> if bcrypt.checkpw(password, hashed):
74
+ ... print("It Matches!")
75
+ ... else:
76
+ ... print("It Does not Match :(")
77
+
78
+ KDF
79
+ ~~~
80
+
81
+ As of 3.0.0 ``bcrypt`` now offers a ``kdf`` function which does ``bcrypt_pbkdf``.
82
+ This KDF is used in OpenSSH's newer encrypted private key format.
83
+
84
+ .. code:: pycon
85
+
86
+ >>> import bcrypt
87
+ >>> key = bcrypt.kdf(
88
+ ... password=b'password',
89
+ ... salt=b'salt',
90
+ ... desired_key_bytes=32,
91
+ ... rounds=100)
92
+
93
+
94
+ Adjustable Work Factor
95
+ ~~~~~~~~~~~~~~~~~~~~~~
96
+ One of bcrypt's features is an adjustable logarithmic work factor. To adjust
97
+ the work factor merely pass the desired number of rounds to
98
+ ``bcrypt.gensalt(rounds=12)`` which defaults to 12):
99
+
100
+ .. code:: pycon
101
+
102
+ >>> import bcrypt
103
+ >>> password = b"super secret password"
104
+ >>> # Hash a password for the first time, with a certain number of rounds
105
+ >>> hashed = bcrypt.hashpw(password, bcrypt.gensalt(14))
106
+ >>> # Check that a unhashed password matches one that has previously been
107
+ >>> # hashed
108
+ >>> if bcrypt.checkpw(password, hashed):
109
+ ... print("It Matches!")
110
+ ... else:
111
+ ... print("It Does not Match :(")
112
+
113
+
114
+ Adjustable Prefix
115
+ ~~~~~~~~~~~~~~~~~
116
+
117
+ Another one of bcrypt's features is an adjustable prefix to let you define what
118
+ libraries you'll remain compatible with. To adjust this, pass either ``2a`` or
119
+ ``2b`` (the default) to ``bcrypt.gensalt(prefix=b"2b")`` as a bytes object.
120
+
121
+ As of 3.0.0 the ``$2y$`` prefix is still supported in ``hashpw`` but deprecated.
122
+
123
+ Maximum Password Length
124
+ ~~~~~~~~~~~~~~~~~~~~~~~
125
+
126
+ Passing ``hashpw`` a password longer than 72 bytes now raises a ``ValueError``.
127
+ Previously the password was silently truncated, following the behavior of the
128
+ original OpenBSD ``bcrypt`` implementation. To work around this, a common approach is to hash a
129
+ password with a cryptographic hash (such as ``sha256``) and then base64
130
+ encode it to prevent NULL byte problems before hashing the result with
131
+ ``bcrypt``:
132
+
133
+ .. code:: pycon
134
+
135
+ >>> password = b"an incredibly long password" * 10
136
+ >>> hashed = bcrypt.hashpw(
137
+ ... base64.b64encode(hashlib.sha256(password).digest()),
138
+ ... bcrypt.gensalt()
139
+ ... )
140
+
141
+ Compatibility
142
+ -------------
143
+
144
+ This library should be compatible with py-bcrypt and it will run on Python
145
+ 3.9+ (including free-threaded builds), and PyPy 3.
146
+
147
+ Security
148
+ --------
149
+
150
+ ``bcrypt`` follows the `same security policy as cryptography`_, if you
151
+ identify a vulnerability, we ask you to contact us privately.
152
+
153
+ .. _`same security policy as cryptography`: https://cryptography.io/en/latest/security.html
154
+ .. _`standard library`: https://docs.python.org/3/library/hashlib.html#hashlib.scrypt
155
+ .. _`argon2_cffi`: https://argon2-cffi.readthedocs.io
156
+ .. _`cryptography`: https://cryptography.io/en/latest/hazmat/primitives/key-derivation-functions/#cryptography.hazmat.primitives.kdf.scrypt.Scrypt
@@ -1,7 +1,6 @@
1
1
  [build-system]
2
2
  requires = [
3
- "setuptools>=42.0.0",
4
- "wheel",
3
+ "setuptools>=70.1.0",
5
4
  "setuptools-rust>=1.7.0",
6
5
  ]
7
6
  # Point to the setuptools' PEP517 build backend explicitly to
@@ -11,7 +10,7 @@ build-backend = "setuptools.build_meta"
11
10
  [project]
12
11
  name = "bcrypt"
13
12
  # When updating this, also update lib.rs
14
- version = "5.0.0"
13
+ version = "5.1.0"
15
14
  authors = [
16
15
  {name = "The Python Cryptographic Authority developers", email = "cryptography-dev@python.org"}
17
16
  ]
@@ -19,25 +18,25 @@ description = "Modern password hashing for your software and your servers"
19
18
  license = {text = "Apache-2.0"}
20
19
  classifiers = [
21
20
  "Development Status :: 5 - Production/Stable",
22
- "License :: OSI Approved :: Apache Software License",
23
21
  "Programming Language :: Python :: Implementation :: CPython",
24
22
  "Programming Language :: Python :: Implementation :: PyPy",
25
23
  "Programming Language :: Python :: 3",
26
24
  "Programming Language :: Python :: 3 :: Only",
27
- "Programming Language :: Python :: 3.8",
28
25
  "Programming Language :: Python :: 3.9",
29
26
  "Programming Language :: Python :: 3.10",
30
27
  "Programming Language :: Python :: 3.11",
31
28
  "Programming Language :: Python :: 3.12",
32
29
  "Programming Language :: Python :: 3.13",
33
30
  "Programming Language :: Python :: 3.14",
31
+ "Programming Language :: Python :: 3.15",
34
32
  "Programming Language :: Python :: Free Threading :: 3 - Stable",
35
33
  ]
36
- requires-python = ">= 3.8"
34
+ requires-python = ">= 3.9"
37
35
  dynamic = ["readme"]
38
36
 
39
37
  [project.urls]
40
38
  homepage = "https://github.com/pyca/bcrypt/"
39
+ changelog = "https://github.com/pyca/bcrypt/blob/main/CHANGELOG.rst"
41
40
 
42
41
  [tool.setuptools]
43
42
  zip-safe = false
@@ -55,7 +54,7 @@ typecheck = ["mypy"]
55
54
  target = "bcrypt._bcrypt"
56
55
  path = "src/_bcrypt/Cargo.toml"
57
56
  py-limited-api = "auto"
58
- rust-version = ">=1.64.0"
57
+ rust-version = ">=1.85.0"
59
58
 
60
59
  [tool.ruff]
61
60
  line-length = 79