feat(security): switch master key to non-extractable CryptoKey handle and remove direct access
This commit is contained in:
@@ -2308,12 +2308,7 @@ class EnhancedSecureCryptoUtils {
|
||||
|
||||
payload.mac = Array.from(new Uint8Array(mac));
|
||||
|
||||
EnhancedSecureCryptoUtils.secureLog.log('info', 'Message encrypted with metadata protection', {
|
||||
messageId,
|
||||
sequenceNumber,
|
||||
hasMetadataProtection: true,
|
||||
hasPadding: true
|
||||
});
|
||||
// Logging removed to avoid noisy console output
|
||||
|
||||
return payload;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user