Aller au contenu
Français

ReEncryptResult

Ce contenu n’est pas encore disponible dans votre langue.

ReEncryptResult = object

Defined in: src/persistence/object-storage/reEncryptionSweep.ts:186

readonly rewrote: number

Defined in: src/persistence/object-storage/reEncryptionSweep.ts:190

Objects that were re-encrypted to the active key.


readonly scanned: number

Defined in: src/persistence/object-storage/reEncryptionSweep.ts:188

Total objects examined.


readonly skippedCurrent: number

Defined in: src/persistence/object-storage/reEncryptionSweep.ts:195

Objects skipped because they were already at the active version (the idempotent fast-path).


readonly skippedMalformedKey: number

Defined in: src/persistence/object-storage/reEncryptionSweep.ts:211

Objects skipped because their key could not yield a usable persistence id.

Keys come from the store’s list(), i.e. from the bucket rather than from us, and the sweep derives its HKDF salt from the key. Since it then rewrites the body, a key that yields the wrong salt would not merely fail — it would re-encrypt data under a salt the owning store never reproduces, leaving it permanently undecryptable. Such keys are skipped instead, and a non-zero count here is worth investigating: nothing the framework writes produces one.


readonly skippedNonAts1: number

Defined in: src/persistence/object-storage/reEncryptionSweep.ts:199

Objects skipped because they aren’t ATS1-framed (e.g. raw user blobs).


readonly skippedUnencrypted: number

Defined in: src/persistence/object-storage/reEncryptionSweep.ts:197

Objects skipped because they were never encrypted.