From 6a74e2793822cf63c7aa8af806221379b79352b6 Mon Sep 17 00:00:00 2001 From: CJ Brewer Date: Tue, 20 Jan 2026 07:50:48 -0700 Subject: [PATCH] fix(dynamodb): PR_BYPASS remove deprecated k key check on encrypted fields --- packages/protect-dynamodb/src/operations/search-terms.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/protect-dynamodb/src/operations/search-terms.ts b/packages/protect-dynamodb/src/operations/search-terms.ts index 2bd6c246..74b9032d 100644 --- a/packages/protect-dynamodb/src/operations/search-terms.ts +++ b/packages/protect-dynamodb/src/operations/search-terms.ts @@ -39,12 +39,6 @@ export class SearchTermsOperation extends DynamoDBOperation { ) } - if (term?.k !== 'ct') { - throw new Error( - 'Tried to create search term with an invalid encrypted payload', - ) - } - if (!term?.hm) { throw new Error('expected encrypted search term to have an HMAC') }