Skip to content

Commit 07dfeea

Browse files
authored
Merge pull request #395 from dajiaji/bump-pyca-crypto-to-41
Bump pyca/cryptography to v41.0.1.
2 parents 0049b55 + 99f2149 commit 07dfeea

3 files changed

Lines changed: 34 additions & 41 deletions

File tree

poetry.lock

Lines changed: 31 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ python = "^3.8"
2929
asn1crypto = "^1.4.0"
3030
cbor2 = "^5.4.2"
3131
certvalidator = "^0.11.1"
32-
cryptography = ">=36,<40"
32+
cryptography = ">=41,<42"
3333
Sphinx = {version = "^6.0.0", optional = true, extras = ["docs"]}
3434
sphinx-autodoc-typehints = {version = "^1.21.0", optional = true, extras = ["docs"]}
3535
sphinx-rtd-theme = {version = "^1.0.0", optional = true, extras = ["docs"]}
36-
pyhpke = ">=0.4.1,<1.0.0"
36+
pyhpke = ">=0.4.2,<1.0.0"
3737

3838
[tool.poetry.extras]
3939
docs = [

tests/test_helpers_hcert.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,4 @@ def test_helpers_hcert_load_pem_hcert_dsc_with_unsupported_cert(self):
3636
with pytest.raises(ValueError) as err:
3737
load_pem_hcert_dsc(dsc)
3838
pytest.fail("load_pem_hcert_dsc() should fail.")
39-
assert (
40-
"Unsupported or unknown key type: <class 'cryptography.hazmat.backends.openssl.ed25519._Ed25519PublicKey'>."
41-
in str(err.value)
42-
)
39+
assert "Unsupported or unknown key type:" in str(err.value)

0 commit comments

Comments
 (0)