Skip to content

Commit 787f63a

Browse files
chore(deps-Python): bump boto3 and cryptography versions (#878)
1 parent 54198bb commit 787f63a

File tree

7 files changed

+9
-10
lines changed

7 files changed

+9
-10
lines changed

AwsCryptographicMaterialProviders/runtimes/python/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Required Prerequisites
3535
======================
3636

3737
* Python 3.11+
38-
* cryptography >= 41.0.0
39-
* boto3 >= 1.28.0
38+
* cryptography >= 43.0.1
39+
* boto3 >= 1.35.42
4040

4141
Installation
4242
============

AwsCryptographyPrimitives/runtimes/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ include = ["**/internaldafny/generated/*.py"]
1313
[tool.poetry.dependencies]
1414
python = "^3.11.0"
1515
aws-cryptography-internal-standard-library = {path = "../../../StandardLibrary/runtimes/python"}
16-
cryptography = "^41.0.3"
16+
cryptography = "^43.0.1"
1717

1818
# Package testing
1919

AwsCryptographyPrimitives/runtimes/python/test/functional/test_ECDH_exceptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
from pyasn1.type.univ import BitString, Sequence
4343

4444
# This exception string is raised when pyca cannot load the DER-encoded public key.
45-
GENERIC_EXCEPTION_STRING = "Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters"
45+
GENERIC_EXCEPTION_STRING = "Invalid key"
4646
# This exception string appears to be raised ONLY for the invalid public key for the point at infinity.
47-
INF_EXCEPTION_STRING = "Unable to load EC key"
47+
INF_EXCEPTION_STRING = "Cannot load an EC public key where the point is at infinity"
4848

4949
def get_valid_der_components():
5050
"""

AwsCryptographyPrimitives/test/TestECDH.dfy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ module TestECDH {
128128
const INFINITY_POINT_ERR_MSG_JAVA := "encoded key spec not recognized: Point at infinity"
129129
const INFINITY_POINT_ERR_MSG_NET6 := "Point at infinity (Parameter 'q')"
130130
const INFINITY_POINT_ERR_MSG_NET48 := "Point at infinity\r\nParameter name: q"
131-
const INFINITY_POINT_ERR_MSG_PYTHON := "Unable to load EC key"
131+
const INFINITY_POINT_ERR_MSG_PYTHON := "Cannot load an EC public key where the point is at infinity"
132132

133133
const OUT_OF_BOUNDS_ERR_MSG_JAVA := "encoded key spec not recognized: x value invalid for"
134134
const OUT_OF_BOUNDS_ERR_MSG_NET6 := "value invalid for Fp field element (Parameter 'x')"
135135
const OUT_OF_BOUNDS_ERR_MSG_NE48 := "value invalid for Fp field element\r\nParameter name: x"
136-
const OUT_OF_BOUNDS_ERR_MSG_PYTHON := "Could not deserialize key data. The data may be in an incorrect format"
136+
const OUT_OF_BOUNDS_ERR_MSG_PYTHON := "Invalid key"
137137

138138
// Rust does not provide a separate error message for infinity or out of bounds
139139
const BAD_X509_KEY_ERR_MSG_RUST := "Invalid X509 Public Key."

ComAmazonawsDynamodb/runtimes/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include = ["**/internaldafny/generated/*.py"]
1212

1313
[tool.poetry.dependencies]
1414
python = "^3.11.0"
15-
boto3 = "^1.28.38"
15+
boto3 = "^1.35.42"
1616
aws-cryptography-internal-standard-library = {path = "../../../StandardLibrary/runtimes/python"}
1717

1818
# Package testing

ComAmazonawsKms/runtimes/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include = ["**/internaldafny/generated/*.py"]
1212

1313
[tool.poetry.dependencies]
1414
python = "^3.11.0"
15-
boto3 = "^1.28.38"
15+
boto3 = "^1.35.42"
1616
aws-cryptography-internal-standard-library = {path = "../../../StandardLibrary/runtimes/python"}
1717

1818
# Package testing

TestVectorsAwsCryptographicMaterialProviders/runtimes/python/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ include = ["**/internaldafny/generated/*.py"]
1212

1313
[tool.poetry.dependencies]
1414
python = "^3.11.0"
15-
boto3 = "^1.28.38"
1615
aws-cryptographic-materialproviders = { path = "../../../AwsCryptographicMaterialProviders/runtimes/python", develop = false}
1716

1817
[tool.poetry.group.test.dependencies]

0 commit comments

Comments
 (0)