fix type signature and bump for 4.1.1 (#676)
This commit is contained in:
parent
8ca5d515b1
commit
f7870975ff
@ -51,6 +51,11 @@ While bcrypt remains an acceptable choice for password storage, depending on you
|
||||
Changelog
|
||||
=========
|
||||
|
||||
4.1.1
|
||||
-----
|
||||
|
||||
* Fixed the type signature on the ``kdf`` method.
|
||||
|
||||
4.1.0
|
||||
-----
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
|
||||
[project]
|
||||
name = "bcrypt"
|
||||
# When updating this, also update lib.rs
|
||||
version = "4.1.0"
|
||||
version = "4.1.1"
|
||||
authors = [
|
||||
{name = "The Python Cryptographic Authority developers", email = "cryptography-dev@python.org"}
|
||||
]
|
||||
|
||||
@ -183,7 +183,7 @@ fn _bcrypt(_py: pyo3::Python<'_>, m: &pyo3::types::PyModule) -> pyo3::PyResult<(
|
||||
m.add("__uri__", "https://github.com/pyca/bcrypt/")?;
|
||||
|
||||
// When updating this, also update pyproject.toml
|
||||
m.add("__version__", "4.1.0")?;
|
||||
m.add("__version__", "4.1.1")?;
|
||||
|
||||
let author = "The Python Cryptographic Authority developers";
|
||||
m.add("__author__", author)?;
|
||||
|
||||
@ -4,7 +4,7 @@ def checkpw(password: bytes, hashed_password: bytes) -> bool: ...
|
||||
def kdf(
|
||||
password: bytes,
|
||||
salt: bytes,
|
||||
rounds: int,
|
||||
desired_key_bytes: int,
|
||||
rounds: int,
|
||||
ignore_few_rounds: bool = False,
|
||||
) -> bytes: ...
|
||||
|
||||
Loading…
Reference in New Issue
Block a user