correct platform verification evidence

This commit is contained in:
sechmachine
2026-08-15 02:50:27 +07:00
parent 8ff6ee3d87
commit 98688dec7e
15 changed files with 418 additions and 28 deletions
@@ -8,6 +8,7 @@ package com.lab.labtimesheet.feature.integration.model.dto;
* @param keyVersion key-rotation identifier
*/
public record EncryptedSecret(byte[] ciphertext, byte[] nonce, int keyVersion) {
/** Defensively copies both byte arrays before this value can cross the encryption boundary. */
public EncryptedSecret {
ciphertext = ciphertext.clone();
nonce = nonce.clone();