diff --git a/scripts/requirements.txt b/scripts/requirements.txt index 36cbbc5f5..33b11bb54 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -1,4 +1,4 @@ -cryptography>=2.6 +cryptography>=40.0.0 intelhex click cbor2 diff --git a/scripts/setup.py b/scripts/setup.py index 07d52d17e..c97de95ac 100644 --- a/scripts/setup.py +++ b/scripts/setup.py @@ -1,6 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 import setuptools + from imgtool import imgtool_version setuptools.setup( @@ -14,7 +15,7 @@ packages=setuptools.find_packages(), python_requires='>=3.6', install_requires=[ - 'cryptography>=2.4.2', + 'cryptography>=40.0.0', 'intelhex>=2.2.1', 'click', 'cbor2',