1 Commits

Author SHA1 Message Date
Wankko Ree b444c0f4b8 fix: use decrypted password histories when duplicate handling 2026-06-12 17:21:23 +08:00
@@ -326,7 +326,7 @@ export function buildCipherDuplicateSignature(cipher: Cipher): string {
linkedId: field.linkedId ?? null, linkedId: field.linkedId ?? null,
})), })),
passwordHistory: (cipher.passwordHistory || []).map((entry) => ({ passwordHistory: (cipher.passwordHistory || []).map((entry) => ({
password: valueOrFallback(entry.password), password: valueOrFallback(entry.decPassword ?? entry.password),
lastUsedDate: valueOrFallback(entry.lastUsedDate), lastUsedDate: valueOrFallback(entry.lastUsedDate),
})), })),
}; };