Skip to content

Commit ff7b6f0

Browse files
committed
fix(SearchableEncryption): disable shared cached
1 parent 7b45929 commit ff7b6f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DynamoDbEncryption/dafny/DynamoDbEncryption/src/ConfigToInfo.dfy

+2-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ module SearchConfigToInfo {
139139

140140
var cache;
141141
if cacheType.Shared? {
142-
cache := cacheType.Shared;
142+
return Failure(DynamoDbEncryptionException(message:="Searchable Encryption does not support shared caches"));
143+
// cache := cacheType.Shared;
143144
} else {
144145
//= specification/searchable-encryption/search-config.md#key-store-cache
145146
//# For a Beacon Key Source a [CMC](../../submodules/MaterialProviders/aws-encryption-sdk-specification/framework/cryptographic-materials-cache.md)

0 commit comments

Comments
 (0)