Honor messageKeysLimit, remove batching for session saves

This commit is contained in:
Scott Nonnenberg
2021-02-08 14:19:35 -08:00
parent 80871270c6
commit 9858ae0642
7 changed files with 87 additions and 36 deletions

5
ts/window.d.ts vendored
View File

@@ -557,7 +557,10 @@ export class CertificateValidatorType {
}
export class SecretSessionCipherClass {
constructor(storage: StorageType);
constructor(
storage: StorageType,
options?: { messageKeysLimit?: number | boolean }
);
decrypt: (
validator: CertificateValidatorType,
ciphertext: ArrayBuffer,