Skip to content

Commit 8630a03

Browse files
committed
chore(deps): unlock cryptography dependency to allow for newer versions
1 parent 9a372bc commit 8630a03

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

findmy/reports/reports.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from datetime import datetime, timedelta, timezone
1212
from typing import TYPE_CHECKING, Literal, TypedDict, overload
1313

14-
from cryptography.hazmat.backends import default_backend
1514
from cryptography.hazmat.primitives.asymmetric import ec
1615
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
1716
from typing_extensions import override
@@ -134,7 +133,6 @@ def decrypt(self, key: KeyPair) -> None:
134133
decryptor = Cipher(
135134
algorithms.AES(decryption_key),
136135
modes.GCM(iv, tag),
137-
default_backend(),
138136
).decryptor()
139137
decrypted_payload = decryptor.update(enc_data) + decryptor.finalize()
140138

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license-files = ["LICENSE.md"]
88
requires-python = ">=3.10,<3.15"
99
dependencies = [
1010
"srp>=1.0.21,<2.0.0",
11-
"cryptography>=42.0.0,<47.0.0",
11+
"cryptography>=42.0.0",
1212
"beautifulsoup4>=4.12.3,<5.0.0",
1313
"aiohttp>=3.9.5,<4.0.0",
1414
"bleak>=2.0.0,<3.0.0",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)