Skip to content

Commit 81c0e6f

Browse files
committed
m
1 parent d08ddc4 commit 81c0e6f

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

DynamoDbEncryption/dafny/DynamoDbEncryption/Model/AwsCryptographyDbEncryptionSdkDynamoDbTypes.dfy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ module {:extern "software.amazon.cryptography.dbencryptionsdk.dynamodb.internald
474474
// || (!exit(A(I)) && !access(B(I)))
475475
| CollectionOfErrors(list: seq<Error>, nameonly message: string)
476476
// The Opaque error, used for native, extern, wrapped or unknown errors
477-
| Opaque(obj: object)
477+
| Opaque(obj: object, alt_text : string)
478478
type OpaqueError = e: Error | e.Opaque? witness *
479479
}
480480
abstract module AbstractAwsCryptographyDbEncryptionSdkDynamoDbService

DynamoDbEncryption/dafny/DynamoDbEncryption/src/DynamoDbEncryptionBranchKeyIdSupplier.dfy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module DynamoDbEncryptionBranchKeyIdSupplier {
7070
// We expect this interface to be implemented in the native language,
7171
// so any errors thrown by the native implementation will appear as Opaque errors
7272
if err.Opaque? then
73-
MPL.Opaque(obj:=err.obj)
73+
MPL.Opaque(obj:=err.obj, alt_text:=err.alt_text)
7474
else
7575
MPL.AwsCryptographicMaterialProvidersException(message:="Unexpected error while getting Branch Key ID.")
7676
}

DynamoDbEncryption/dafny/DynamoDbEncryptionTransforms/Model/AwsCryptographyDbEncryptionSdkDynamoDbTransformsTypes.dfy

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ module {:extern "software.amazon.cryptography.dbencryptionsdk.dynamodb.transform
728728
// || (!exit(A(I)) && !access(B(I)))
729729
| CollectionOfErrors(list: seq<Error>, nameonly message: string)
730730
// The Opaque error, used for native, extern, wrapped or unknown errors
731-
| Opaque(obj: object)
731+
| Opaque(obj: object, alt_text : string)
732732
type OpaqueError = e: Error | e.Opaque? witness *
733733
}
734734
abstract module AbstractAwsCryptographyDbEncryptionSdkDynamoDbTransformsService
@@ -773,7 +773,8 @@ abstract module AbstractAwsCryptographyDbEncryptionSdkDynamoDbTransformsService
773773
obj <- tmps7.Modifies | obj in tmps7.Modifies :: obj
774774
modifies set tmps8 <- set t8 <- config.tableEncryptionConfigs.Values | true
775775
&& t8.search.Some?
776-
, t9 <- t8.search.value.versions :: t9.keyStore,
776+
, t9 <- t8.search.value.versions | true
777+
:: t9.keyStore,
777778
obj <- tmps8.Modifies | obj in tmps8.Modifies :: obj
778779
ensures res.Success? ==>
779780
&& fresh(res.value)
@@ -792,7 +793,8 @@ abstract module AbstractAwsCryptographyDbEncryptionSdkDynamoDbTransformsService
792793
obj <- tmps12.Modifies | obj in tmps12.Modifies :: obj
793794
) - ( set tmps13 <- set t13 <- config.tableEncryptionConfigs.Values | true
794795
&& t13.search.Some?
795-
, t14 <- t13.search.value.versions :: t14.keyStore,
796+
, t14 <- t13.search.value.versions | true
797+
:: t14.keyStore,
796798
obj <- tmps13.Modifies | obj in tmps13.Modifies :: obj
797799
) )
798800
&& fresh(res.value.History)

DynamoDbEncryption/dafny/DynamoDbItemEncryptor/Model/AwsCryptographyDbEncryptionSdkDynamoDbItemEncryptorTypes.dfy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ module {:extern "software.amazon.cryptography.dbencryptionsdk.dynamodb.itemencry
159159
// || (!exit(A(I)) && !access(B(I)))
160160
| CollectionOfErrors(list: seq<Error>, nameonly message: string)
161161
// The Opaque error, used for native, extern, wrapped or unknown errors
162-
| Opaque(obj: object)
162+
| Opaque(obj: object, alt_text : string)
163163
type OpaqueError = e: Error | e.Opaque? witness *
164164
}
165165
abstract module AbstractAwsCryptographyDbEncryptionSdkDynamoDbItemEncryptorService

DynamoDbEncryption/dafny/StructuredEncryption/Model/AwsCryptographyDbEncryptionSdkStructuredEncryptionTypes.dfy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ module {:extern "software.amazon.cryptography.dbencryptionsdk.structuredencrypti
283283
// || (!exit(A(I)) && !access(B(I)))
284284
| CollectionOfErrors(list: seq<Error>, nameonly message: string)
285285
// The Opaque error, used for native, extern, wrapped or unknown errors
286-
| Opaque(obj: object)
286+
| Opaque(obj: object, alt_text : string)
287287
type OpaqueError = e: Error | e.Opaque? witness *
288288
}
289289
abstract module AbstractAwsCryptographyDbEncryptionSdkStructuredEncryptionService

DynamoDbEncryption/runtimes/rust/src/intercept.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ macro_rules! modify_request {
2323
.store_put(OriginalRequest(Input::erase($request.clone())));
2424

2525
// transform the request
26-
// *$request = tokio::task::block_in_place(|| {
2726
let result = tokio::task::block_in_place(|| {
2827
tokio::runtime::Handle::current().block_on(async {
2928
$self

submodules/smithy-dafny

0 commit comments

Comments
 (0)