@@ -132,7 +132,7 @@ describe('signMpcTransaction', () => {
132132 // Mock KMS responses
133133 const kmsNock = nock ( kmsUrl )
134134 . get ( `/key/${ input . pub } ` )
135- . query ( { source : 'user' , useLocalEncipherment : false } )
135+ . query ( { source : 'user' } )
136136 . reply ( 200 , mockKmsResponse ) ;
137137
138138 const dataKeyNock = nock ( kmsUrl ) . post ( '/generateDataKey' ) . reply ( 200 , mockDataKeyResponse ) ;
@@ -170,7 +170,7 @@ describe('signMpcTransaction', () => {
170170 // Mock KMS responses for R share
171171 const rKmsNock = nock ( kmsUrl )
172172 . get ( `/key/${ rInput . pub } ` )
173- . query ( { source : 'user' , useLocalEncipherment : false } )
173+ . query ( { source : 'user' } )
174174 . reply ( 200 , mockKmsResponse ) ;
175175
176176 const decryptDataKeyNock = nock ( kmsUrl )
@@ -232,7 +232,7 @@ describe('signMpcTransaction', () => {
232232 // Mock KMS response for G share
233233 const gKmsNock = nock ( kmsUrl )
234234 . get ( `/key/${ gInput . pub } ` )
235- . query ( { source : 'user' , useLocalEncipherment : false } )
235+ . query ( { source : 'user' } )
236236 . reply ( 200 , mockKmsResponse ) ;
237237
238238 const gResponse = await agent
@@ -260,7 +260,7 @@ describe('signMpcTransaction', () => {
260260
261261 const kmsNock = nock ( kmsUrl )
262262 . get ( `/key/${ input . pub } ` )
263- . query ( { source : 'user' , useLocalEncipherment : false } )
263+ . query ( { source : 'user' } )
264264 . reply ( 404 , { error : 'Key not found' } ) ;
265265
266266 const response = await agent
@@ -372,7 +372,7 @@ describe('signMpcTransaction', () => {
372372 // Mock KMS responses for Round 1
373373 const kmsNock = nock ( kmsUrl )
374374 . get ( `/key/${ round1Input . pub } ` )
375- . query ( { source : 'user' , useLocalEncipherment : true } )
375+ . query ( { source : 'user' } )
376376 . reply ( 200 , mockKmsResponse ) ;
377377
378378 const dataKeyNock = nock ( kmsUrl ) . post ( '/generateDataKey' ) . reply ( 200 , mockDataKeyResponse ) ;
@@ -434,7 +434,7 @@ describe('signMpcTransaction', () => {
434434 // Mock KMS responses for Round 2
435435 const r2KmsNock = nock ( kmsUrl )
436436 . get ( `/key/${ round2Input . pub } ` )
437- . query ( { source : 'user' , useLocalEncipherment : true } )
437+ . query ( { source : 'user' } )
438438 . reply ( 200 , mockKmsResponse ) ;
439439
440440 const decryptDataKeyNock = nock ( kmsUrl )
@@ -482,7 +482,7 @@ describe('signMpcTransaction', () => {
482482 // Mock KMS responses for Round 3
483483 const r3KmsNock = nock ( kmsUrl )
484484 . get ( `/key/${ round3Input . pub } ` )
485- . query ( { source : 'user' , useLocalEncipherment : true } )
485+ . query ( { source : 'user' } )
486486 . reply ( 200 , mockKmsResponse ) ;
487487
488488 const r3DecryptDataKeyNock = nock ( kmsUrl )
@@ -564,7 +564,7 @@ describe('signMpcTransaction', () => {
564564
565565 const kmsNock = nock ( kmsUrl )
566566 . get ( `/key/${ input . pub } ` )
567- . query ( { source : 'user' , useLocalEncipherment : true } )
567+ . query ( { source : 'user' } )
568568 . reply ( 200 , mockKmsResponse ) ;
569569
570570 const response = await agent
@@ -599,7 +599,7 @@ describe('signMpcTransaction', () => {
599599
600600 const kmsNock = nock ( kmsUrl )
601601 . get ( `/key/${ input . pub } ` )
602- . query ( { source : 'user' , useLocalEncipherment : true } )
602+ . query ( { source : 'user' } )
603603 . reply ( 200 , mockKmsResponse ) ;
604604
605605 const response = await agent
0 commit comments