File tree 1 file changed +1
-3
lines changed
DynamoDbEncryption/dafny/DynamoDbEncryption/src
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,6 @@ module SearchableEncryptionInfo {
242
242
&& var cacheInput := Seq. Last (newHistory). input;
243
243
&& var cacheOutput := Seq. Last (newHistory). output;
244
244
&& UTF8. Encode (keyId). Success?
245
- // This is no longer true since we're taking a SHA384 of the identifier
246
- // && cacheInput.identifier == RESOURCE_ID_HIERARCHICAL_KEYRING + NULL_BYTE + SCOPE_ID_SEARCHABLE_ENCRYPTION + NULL_BYTE + partitionIdBytes + NULL_BYTE + logicalKeyStoreNameBytes + NULL_BYTE + UTF8.Encode(keyId).value
247
245
248
246
// = specification/searchable-encryption/search-config.md#get-beacon-key-materials
249
247
// = type=implication
@@ -365,7 +363,7 @@ module SearchableEncryptionInfo {
365
363
// # with an [Expiry Time](../../submodules/MaterialProviders/aws-encryption-sdk-specification/framework/cryptographic-materials-cache.md#expiry-time)
366
364
// # equal to now + configured [cacheTTL](#cachettl).
367
365
var putCacheEntryInput:= MP. PutCacheEntryInput (
368
- identifier := identifier ,
366
+ identifier := cacheDigest ,
369
367
materials := MP.Materials.BeaconKey(beaconKeyMaterials),
370
368
creationTime := now,
371
369
expiryTime := now + cacheTTL,
You can’t perform that action at this time.
0 commit comments