diff --git a/setup.cfg b/setup.cfg
index 9c7690dba..cdd800ec1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -46,7 +46,7 @@ install_requires =
     certifi>=2017.4.17
     cffi>=1.9,<2.0.0
     charset-normalizer~=2.0.0
-    cryptography>=3.1.0,<37.0.0
+    cryptography>=3.1.0,<42.0.0
     idna>=2.5,<4
     oscrypto<2.0.0
     pyOpenSSL>=16.2.0,<23.0.0