Skip to content
Source
Sign inSign up
Open History to see the last commit

effect__experimental__EventLogEncryption.yaml

12 lines1.3 KB

1"@effect/experimental/EventLogEncryption#EncryptedEntry":
2 include: true
3 replacement: effect/eventlog/EventLogEncryption#EncryptedBatch
4 note: Replace per-entry encrypted records with batches containing entryIds, iv, and encryptedBatch. Each batch encrypts multiple entries as one message and authenticates the store id and ordered entry ids; existing per-entry ciphertext is not compatible with this format.
5"@effect/experimental/EventLogEncryption#EncryptedRemoteEntry":
6 include: true
7 replacement: effect/eventlog/EventLogEncryption#EncryptedRemoteBatch
8 note: Remote encrypted records are now batches with entryIds, iv, and encryptedBatch. sequence is the first entry sequence; subsequent entries have consecutive sequences. Existing per-entry ciphertext is not compatible with the batch format.
9"@effect/experimental/EventLogEncryption#EventLogEncryption":
10 include: true
11 replacement: effect/eventlog/EventLogEncryption#EventLogEncryption
12 note: Use the Context.Service and its Service projection. encrypt and decrypt now take storeId after identity. encrypt returns EncryptedBatch records rather than an iv/encryptedEntries object; decrypt takes EncryptedRemoteBatch records and returns RemoteEntry records. Encryption authenticates the store id and ordered entry ids, so old per-entry ciphertext cannot be supplied as a batch.