gdc-sdk-node-ts 2.4.12 → 2.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -307,6 +307,9 @@ export class NodeManagedWallet {
|
|
|
307
307
|
};
|
|
308
308
|
const protectedHeader = {
|
|
309
309
|
enc: 'A256GCM',
|
|
310
|
+
// GW binds the encrypted channel to the sender's managed communication
|
|
311
|
+
// key before it decrypts or evaluates the nested DIDComm message.
|
|
312
|
+
skid: entry.descriptor.kid,
|
|
310
313
|
...(request.contentType ? { cty: request.contentType } : {}),
|
|
311
314
|
};
|
|
312
315
|
const plaintext = typeof request.plaintext === 'string'
|