Skip to content

Commit 8df83f9

Browse files
committed
imgtool: Bump cryptography library version
Update requirements.txt to fix failing CI jobs due to missing PrivateKeyType and PublicKeyType which are available in cryptography library since version 40.0.0 Signed-off-by: Rustam Ismayilov <[email protected]> Change-Id: I63552966051a19dc33d5c53b499d216bcfdcf89b
1 parent 56ca566 commit 8df83f9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cryptography>=2.6
1+
cryptography>=40.0.0
22
intelhex
33
click
44
cbor2

scripts/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
import setuptools
4+
45
from imgtool import imgtool_version
56

67
setuptools.setup(
@@ -14,7 +15,7 @@
1415
packages=setuptools.find_packages(),
1516
python_requires='>=3.6',
1617
install_requires=[
17-
'cryptography>=2.4.2',
18+
'cryptography>=40.0.0',
1819
'intelhex>=2.2.1',
1920
'click',
2021
'cbor2',

0 commit comments

Comments
 (0)