imgtool: Bump cryptography library version

Update requirements.txt to support PrivateKeyType and
PublicKeyType which are available in cryptography library since
version 40.0.0 and prevent failing CI jobs in upcoming changes.

Signed-off-by: Rustam Ismayilov <rustam.ismayilov@arm.com>
Change-Id: I94b888d64c2f33ccb829912491e3b8c44b9cc2b2
(cherry picked from commit 49976dc678)
This commit is contained in:
Rustam Ismayilov 2024-07-04 14:40:11 +02:00 committed by Jamie McCrae
parent 7566edaf88
commit 197287cea1
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
cryptography>=2.6
cryptography>=40.0.0
intelhex
click
cbor2

View File

@ -1,6 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
import setuptools
from imgtool import imgtool_version
setuptools.setup(
@ -14,7 +15,7 @@ setuptools.setup(
packages=setuptools.find_packages(),
python_requires='>=3.6',
install_requires=[
'cryptography>=2.4.2',
'cryptography>=40.0.0',
'intelhex>=2.2.1',
'click',
'cbor2',