Skip to content

Commit db03d4c

Browse files
xyaz1313simo5
authored andcommitted
fix: bump minimum cryptography dependency to >= 39.0.0
The kwarg used in jwk.py lines 842 and 1000 was added to cryptography in version 39.0.0 (PR #7667). Without this bump, pip can install jwcrypto 1.5.7 with cryptography < 39.0.0, causing: TypeError: load_pem_private_key() got an unexpected keyword argument 'unsafe_skip_rsa_key_validation' Fixes #376
1 parent d9aef6d commit db03d4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ classifiers = [
2222
"Topic :: Software Development :: Libraries :: Python Modules",
2323
]
2424
dependencies = [
25-
"cryptography >= 3.4",
25+
"cryptography >= 39.0.0",
2626
"typing_extensions >= 4.5.0",
2727
]
2828

0 commit comments

Comments
 (0)