Skip to content

Commit b3157eb

Browse files
committed
chore: bring in latest main changes
1 parent 2c43f9e commit b3157eb

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

AwsCryptographicMaterialProviders/dafny/AwsCryptographicMaterialProviders/src/Keyrings/AwsKms/AwsKmsKeyring.dfy

+1
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ module AwsKmsKeyring {
429429
&& AlgorithmSuites.GetEncryptKeyLength(input.materials.algorithmSuite) as nat == |res.value.materials.plaintextDataKey.value|
430430
&& var LastDecrypt := Last(client.History.Decrypt);
431431
&& LastDecrypt.output.Success?
432+
&& OkForDecrypt(awsKmsArn, awsKmsKey).Pass?
432433
&& exists edk
433434
// , returnedEncryptionAlgorithm
434435
| edk in input.encryptedDataKeys

AwsCryptographicMaterialProviders/runtimes/python/src/aws_cryptographic_material_providers/smithygenerated/aws_cryptography_keystore/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2491,7 +2491,7 @@ def __repr__(self) -> str:
24912491

24922492

24932493
def _write_initialize_mutation_version_from_dict(
2494-
d: Dict[str, Any]
2494+
d: Dict[str, Any],
24952495
) -> WriteInitializeMutationVersion:
24962496
if "rotate" in d:
24972497
return WriteInitializeMutationVersionRotate.from_dict(d)

AwsCryptographicMaterialProviders/runtimes/python/src/aws_cryptographic_material_providers/smithygenerated/aws_cryptography_keystoreadmin/dafny_to_smithy.py

+8
Original file line numberDiff line numberDiff line change
@@ -485,3 +485,11 @@ def aws_cryptography_keystoreadmin_KeyStoreReference(dafny_input):
485485

486486
def aws_cryptography_keystoreadmin_KmsClientReference(dafny_input):
487487
return dafny_input._impl
488+
489+
490+
def aws_cryptography_keystoreadmin_PrimitivesReference(dafny_input):
491+
from aws_cryptography_primitives.smithygenerated.aws_cryptography_primitives.client import (
492+
AwsCryptographicPrimitives,
493+
)
494+
495+
return AwsCryptographicPrimitives(config=None, dafny_client=dafny_input)

AwsCryptographicMaterialProviders/runtimes/python/src/aws_cryptographic_material_providers/smithygenerated/aws_cryptography_keystoreadmin/smithy_to_dafny.py

+4
Original file line numberDiff line numberDiff line change
@@ -754,3 +754,7 @@ def aws_cryptography_keystoreadmin_KmsClientReference(native_input):
754754
)
755755
client.value.impl = native_input
756756
return client.value
757+
758+
759+
def aws_cryptography_keystoreadmin_PrimitivesReference(native_input):
760+
return native_input._config.dafnyImplInterface.impl

0 commit comments

Comments
 (0)