Default new online backup keys to unlimited validity
CI / verify (push) Waiting to run

This commit is contained in:
Sucukdeluxe
2026-09-22 04:52:45 +02:00
parent 15e920fbde
commit 4d17dbd06f
9 changed files with 29 additions and 13 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const ONLINE_BACKUP_RETENTION_SECONDS = Object.freeze({
'31d': 31 * 24 * 60 * 60,
forever: null
});
const DEFAULT_ONLINE_BACKUP_RETENTION = '7d';
const DEFAULT_ONLINE_BACKUP_RETENTION = 'forever';
function checksum(idBytes, masterKey) {
return crypto.createHash('sha256').update(KEY_CONTEXT).update(idBytes).update(masterKey).digest().subarray(0, CHECKSUM_LENGTH);