@open-e2ee/signal-protocol-sdk 8.0.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ADAPTERS.md +2 -2
- package/CHANGELOG.md +188 -0
- package/README.md +4 -4
- package/SECURITY.md +2 -2
- package/device/README.md +16 -7
- package/dist/client/client.d.ts +4 -2
- package/dist/client/client.d.ts.map +1 -1
- package/dist/client/client.js +25 -19
- package/dist/client/client.js.map +1 -1
- package/dist/client/group-outbox.d.ts +31 -1
- package/dist/client/group-outbox.d.ts.map +1 -1
- package/dist/client/group-outbox.js +67 -58
- package/dist/client/group-outbox.js.map +1 -1
- package/dist/client/hosted-anonymous-delivery.d.ts +9 -1
- package/dist/client/hosted-anonymous-delivery.d.ts.map +1 -1
- package/dist/client/hosted-anonymous-delivery.js +61 -22
- package/dist/client/hosted-anonymous-delivery.js.map +1 -1
- package/dist/client/hosted-transport.d.ts +16 -0
- package/dist/client/hosted-transport.d.ts.map +1 -1
- package/dist/client/hosted-transport.js +93 -19
- package/dist/client/hosted-transport.js.map +1 -1
- package/dist/client/key-rotation.d.ts.map +1 -1
- package/dist/client/key-rotation.js +2 -4
- package/dist/client/key-rotation.js.map +1 -1
- package/dist/client/prekeys.d.ts.map +1 -1
- package/dist/client/prekeys.js +1 -1
- package/dist/client/prekeys.js.map +1 -1
- package/dist/client/relay-device-refusal.d.ts +32 -0
- package/dist/client/relay-device-refusal.d.ts.map +1 -0
- package/dist/client/relay-device-refusal.js +36 -0
- package/dist/client/relay-device-refusal.js.map +1 -0
- package/dist/client/relay-work.d.ts +26 -0
- package/dist/client/relay-work.d.ts.map +1 -1
- package/dist/client/relay-work.js +37 -0
- package/dist/client/relay-work.js.map +1 -1
- package/dist/client/sealed-sender.d.ts.map +1 -1
- package/dist/client/sealed-sender.js +12 -17
- package/dist/client/sealed-sender.js.map +1 -1
- package/dist/client/sessions.d.ts.map +1 -1
- package/dist/client/sessions.js +2 -4
- package/dist/client/sessions.js.map +1 -1
- package/dist/client/signal-service-cipher.d.ts +90 -4
- package/dist/client/signal-service-cipher.d.ts.map +1 -1
- package/dist/client/signal-service-cipher.js +425 -136
- package/dist/client/signal-service-cipher.js.map +1 -1
- package/dist/client/types.d.ts +7 -0
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/types.js.map +1 -1
- package/dist/internal/manager/manager.d.ts +8 -7
- package/dist/internal/manager/manager.d.ts.map +1 -1
- package/dist/internal/manager/manager.js +34 -36
- package/dist/internal/manager/manager.js.map +1 -1
- package/dist/internal/protocol/spqr/index.d.ts +1 -1
- package/dist/internal/protocol/spqr/index.d.ts.map +1 -1
- package/dist/internal/protocol/spqr/index.js +2 -2
- package/dist/internal/protocol/spqr/index.js.map +1 -1
- package/dist/internal/protocol/spqr/ml-kem-braid/rs/codec.d.ts.map +1 -1
- package/dist/internal/protocol/spqr/ml-kem-braid/rs/codec.js +1 -3
- package/dist/internal/protocol/spqr/ml-kem-braid/rs/codec.js.map +1 -1
- package/dist/internal/protocol/spqr/serialize.d.ts.map +1 -1
- package/dist/internal/protocol/spqr/serialize.js +1 -4
- package/dist/internal/protocol/spqr/serialize.js.map +1 -1
- package/dist/internal/protocol/spqr/spqr.d.ts.map +1 -1
- package/dist/internal/protocol/spqr/spqr.js +1 -2
- package/dist/internal/protocol/spqr/spqr.js.map +1 -1
- package/dist/internal/protocol/zk/credentials/attributes.d.ts.map +1 -1
- package/dist/internal/protocol/zk/credentials/attributes.js +2 -1
- package/dist/internal/protocol/zk/credentials/attributes.js.map +1 -1
- package/dist/internal/protocol/zk/credentials/credentials.d.ts.map +1 -1
- package/dist/internal/protocol/zk/credentials/credentials.js +8 -6
- package/dist/internal/protocol/zk/credentials/credentials.js.map +1 -1
- package/dist/internal/protocol/zk/credentials/presentation.d.ts.map +1 -1
- package/dist/internal/protocol/zk/credentials/presentation.js +19 -13
- package/dist/internal/protocol/zk/credentials/presentation.js.map +1 -1
- package/dist/internal/protocol/zk/groups/lizard.d.ts +8 -0
- package/dist/internal/protocol/zk/groups/lizard.d.ts.map +1 -1
- package/dist/internal/protocol/zk/groups/lizard.js +18 -5
- package/dist/internal/protocol/zk/groups/lizard.js.map +1 -1
- package/dist/internal/protocol/zk/groups/profile-key-commitment.d.ts.map +1 -1
- package/dist/internal/protocol/zk/groups/profile-key-commitment.js +7 -6
- package/dist/internal/protocol/zk/groups/profile-key-commitment.js.map +1 -1
- package/dist/internal/protocol/zk/groups/profile-key-encryption.d.ts.map +1 -1
- package/dist/internal/protocol/zk/groups/profile-key-encryption.js +3 -2
- package/dist/internal/protocol/zk/groups/profile-key-encryption.js.map +1 -1
- package/dist/internal/protocol/zk/groups/uid-encryption.d.ts.map +1 -1
- package/dist/internal/protocol/zk/groups/uid-encryption.js +3 -2
- package/dist/internal/protocol/zk/groups/uid-encryption.js.map +1 -1
- package/dist/internal/protocol/zk/proofs/point-multiplication.d.ts +53 -0
- package/dist/internal/protocol/zk/proofs/point-multiplication.d.ts.map +1 -0
- package/dist/internal/protocol/zk/proofs/point-multiplication.js +164 -0
- package/dist/internal/protocol/zk/proofs/point-multiplication.js.map +1 -0
- package/dist/internal/protocol/zk/proofs/sho.d.ts +1 -0
- package/dist/internal/protocol/zk/proofs/sho.d.ts.map +1 -1
- package/dist/internal/protocol/zk/proofs/sho.js.map +1 -1
- package/dist/internal/protocol/zk/proofs/statement.d.ts.map +1 -1
- package/dist/internal/protocol/zk/proofs/statement.js +11 -11
- package/dist/internal/protocol/zk/proofs/statement.js.map +1 -1
- package/dist/internal/sesame/device-registry.d.ts +24 -4
- package/dist/internal/sesame/device-registry.d.ts.map +1 -1
- package/dist/internal/sesame/device-registry.js +55 -28
- package/dist/internal/sesame/device-registry.js.map +1 -1
- package/dist/internal/sesame/manager.d.ts +79 -11
- package/dist/internal/sesame/manager.d.ts.map +1 -1
- package/dist/internal/sesame/manager.js +381 -280
- package/dist/internal/sesame/manager.js.map +1 -1
- package/dist/internal/session/cipher.d.ts +0 -5
- package/dist/internal/session/cipher.d.ts.map +1 -1
- package/dist/internal/session/cipher.js +3 -9
- package/dist/internal/session/cipher.js.map +1 -1
- package/dist/internal/session/record-locks.d.ts +46 -0
- package/dist/internal/session/record-locks.d.ts.map +1 -0
- package/dist/internal/session/record-locks.js +72 -0
- package/dist/internal/session/record-locks.js.map +1 -0
- package/dist/local/store/expo/adapter.d.ts +8 -2
- package/dist/local/store/expo/adapter.d.ts.map +1 -1
- package/dist/local/store/expo/adapter.js +24 -3
- package/dist/local/store/expo/adapter.js.map +1 -1
- package/dist/local/store/expo/driver.d.ts +7 -0
- package/dist/local/store/expo/driver.d.ts.map +1 -1
- package/dist/local/store/expo/driver.js +16 -0
- package/dist/local/store/expo/driver.js.map +1 -1
- package/dist/local/store/index.d.ts +2 -2
- package/dist/local/store/index.js +2 -2
- package/dist/local/store/key-value/adapter.d.ts.map +1 -1
- package/dist/local/store/key-value/adapter.js +61 -38
- package/dist/local/store/key-value/adapter.js.map +1 -1
- package/dist/local/store/memory/adapter.d.ts +10 -0
- package/dist/local/store/memory/adapter.d.ts.map +1 -1
- package/dist/local/store/memory/adapter.js +79 -55
- package/dist/local/store/memory/adapter.js.map +1 -1
- package/dist/local/store/reliability.d.ts +16 -0
- package/dist/local/store/reliability.d.ts.map +1 -1
- package/dist/local/store/reliability.js +58 -28
- package/dist/local/store/reliability.js.map +1 -1
- package/dist/local/store/sqlite/store.d.ts.map +1 -1
- package/dist/local/store/sqlite/store.js +36 -14
- package/dist/local/store/sqlite/store.js.map +1 -1
- package/dist/local/store/sqlite/web/driver.d.ts.map +1 -1
- package/dist/local/store/sqlite/web/driver.js +3 -1
- package/dist/local/store/sqlite/web/driver.js.map +1 -1
- package/dist/local/store/sqlite/web/protocol.d.ts +1 -1
- package/dist/local/store/sqlite/web/protocol.d.ts.map +1 -1
- package/dist/local/store/sqlite/web/worker.d.ts +7 -4
- package/dist/local/store/sqlite/web/worker.d.ts.map +1 -1
- package/dist/local/store/sqlite/web/worker.js +48 -18
- package/dist/local/store/sqlite/web/worker.js.map +1 -1
- package/dist/local/store/web/adapter.d.ts.map +1 -1
- package/dist/local/store/web/adapter.js +63 -53
- package/dist/local/store/web/adapter.js.map +1 -1
- package/dist/local/store/web-sqlite/adapter.d.ts +3 -0
- package/dist/local/store/web-sqlite/adapter.d.ts.map +1 -1
- package/dist/local/store/web-sqlite/adapter.js +3 -0
- package/dist/local/store/web-sqlite/adapter.js.map +1 -1
- package/dist/local/vault/electron-safe-storage.d.ts.map +1 -1
- package/dist/local/vault/electron-safe-storage.js +15 -2
- package/dist/local/vault/electron-safe-storage.js.map +1 -1
- package/dist/profile/index.d.ts +2 -1
- package/dist/profile/index.d.ts.map +1 -1
- package/dist/profile/index.js +2 -1
- package/dist/profile/index.js.map +1 -1
- package/dist/profile/own-profile-key.d.ts +42 -0
- package/dist/profile/own-profile-key.d.ts.map +1 -0
- package/dist/profile/own-profile-key.js +64 -0
- package/dist/profile/own-profile-key.js.map +1 -0
- package/dist/profile/profile-key.d.ts +1 -34
- package/dist/profile/profile-key.d.ts.map +1 -1
- package/dist/profile/profile-key.js +3 -63
- package/dist/profile/profile-key.js.map +1 -1
- package/dist/profile/update-service.js +1 -1
- package/dist/profile/update-service.js.map +1 -1
- package/dist/remote/relay/memory/adapter.d.ts.map +1 -1
- package/dist/remote/relay/memory/adapter.js +3 -4
- package/dist/remote/relay/memory/adapter.js.map +1 -1
- package/dist/username/link.d.ts.map +1 -1
- package/dist/username/link.js +1 -5
- package/dist/username/link.js.map +1 -1
- package/dist/utils/bounded-fan-out.d.ts +99 -0
- package/dist/utils/bounded-fan-out.d.ts.map +1 -0
- package/dist/utils/bounded-fan-out.js +180 -0
- package/dist/utils/bounded-fan-out.js.map +1 -0
- package/dist/utils/keyed-lock.d.ts +16 -0
- package/dist/utils/keyed-lock.d.ts.map +1 -0
- package/dist/utils/keyed-lock.js +39 -0
- package/dist/utils/keyed-lock.js.map +1 -0
- package/docs/ASSURANCE.md +68 -24
- package/docs/DEVIATIONS.md +21 -2
- package/docs/ERROR_HANDLING.md +1 -1
- package/docs/PACKAGE_SURFACE.md +3 -1
- package/examples/browser/index.html +1 -1
- package/hooks/README.md +11 -2
- package/local/store/README.md +41 -21
- package/local/store/expo/README.md +18 -5
- package/local/store/key-value/README.md +5 -3
- package/local/store/node/README.md +2 -1
- package/local/store/web/README.md +5 -0
- package/local/store/web-sqlite/README.md +36 -8
- package/local/vault/README.md +21 -2
- package/package.json +1 -1
- package/remote/object-store/convex-r2/README.md +10 -0
|
@@ -53,6 +53,17 @@ export interface ProtocolManager {
|
|
|
53
53
|
* Manages multi-device sessions following the Signal Protocol SESAME specification.
|
|
54
54
|
*
|
|
55
55
|
* Supports event callbacks for observability via the SesameEvents interface.
|
|
56
|
+
*
|
|
57
|
+
* Every write of a user record or a device record reads the record, changes
|
|
58
|
+
* it, and writes it back. A per-user lock orders these writes, so two
|
|
59
|
+
* concurrent writes for one user keep both changes. A write that carries a
|
|
60
|
+
* session also takes the session lock of the device first, so it reads the
|
|
61
|
+
* session that the protocol committed last. A write that does not change the
|
|
62
|
+
* session writes a null session, which keeps the stored one. The locks order
|
|
63
|
+
* the writes of one client process only. They do not order two browser tabs,
|
|
64
|
+
* two workers, or two processes that share one store. The session lock comes
|
|
65
|
+
* before the user lock, so the manager never holds the user lock across a
|
|
66
|
+
* protocol call.
|
|
56
67
|
*/
|
|
57
68
|
export declare class DefaultSesameManager implements SesameManager {
|
|
58
69
|
private storage;
|
|
@@ -105,6 +116,19 @@ export declare class DefaultSesameManager implements SesameManager {
|
|
|
105
116
|
* Get current event callbacks
|
|
106
117
|
*/
|
|
107
118
|
getEvents(): SesameEvents;
|
|
119
|
+
/**
|
|
120
|
+
* Run a read-modify-write of one user's records under the per-user lock.
|
|
121
|
+
* The lock is not reentrant, and the session lock comes first, so the
|
|
122
|
+
* operation must not take the user lock again or call the protocol. It
|
|
123
|
+
* must not write a session.
|
|
124
|
+
*/
|
|
125
|
+
private withUserLock;
|
|
126
|
+
/**
|
|
127
|
+
* Run a read-modify-write of one device record and its session under the
|
|
128
|
+
* session lock of the device and then the per-user lock. The operation must
|
|
129
|
+
* not take either lock again or call a protocol encrypt or decrypt.
|
|
130
|
+
*/
|
|
131
|
+
private withDeviceLocks;
|
|
108
132
|
/**
|
|
109
133
|
* Initialize SESAME manager with local device information
|
|
110
134
|
*/
|
|
@@ -115,10 +139,13 @@ export declare class DefaultSesameManager implements SesameManager {
|
|
|
115
139
|
* @throws {SesameError} if deviceId is outside valid range (1-5)
|
|
116
140
|
*/
|
|
117
141
|
addDevice(userId: UserID, deviceId: DeviceID, identityKey: Uint8Array, _prekeyBundle?: unknown): Promise<void>;
|
|
142
|
+
private addDeviceLocked;
|
|
118
143
|
/**
|
|
119
|
-
* Remove a device from a user
|
|
144
|
+
* Remove a device from a user. The removal deletes the device's session, so
|
|
145
|
+
* it waits for a session write that is in progress for the device.
|
|
120
146
|
*/
|
|
121
147
|
removeDevice(userId: UserID, deviceId: DeviceID): Promise<void>;
|
|
148
|
+
private removeDeviceLocked;
|
|
122
149
|
/**
|
|
123
150
|
* Clear pending verification flag for a device after user verifies safety numbers.
|
|
124
151
|
* This unblocks messaging to the device.
|
|
@@ -147,11 +174,14 @@ export declare class DefaultSesameManager implements SesameManager {
|
|
|
147
174
|
* Uses SessionRecord.archiveCurrent() to move the previous active session to archived.
|
|
148
175
|
*/
|
|
149
176
|
setSession(userId: UserID, deviceId: DeviceID, sessionRecord: SessionRecord): Promise<void>;
|
|
177
|
+
private setSessionLocked;
|
|
150
178
|
/**
|
|
151
179
|
* Register a newly established Double Ratchet session with SESAME.
|
|
152
180
|
*
|
|
153
181
|
* Creates a SessionRecord with SESAME metadata and sets it as the device's session.
|
|
154
|
-
* Any existing session is archived in SessionRecord.archivedSessions.
|
|
182
|
+
* Any existing session is archived in SessionRecord.archivedSessions. When
|
|
183
|
+
* the store holds a state of the same session (the same baseKey), the stored
|
|
184
|
+
* state is registered, because it can be newer than `sessionState`.
|
|
155
185
|
*
|
|
156
186
|
* This bridges the Double Ratchet layer with the SESAME multi-device layer,
|
|
157
187
|
* so sessions established via SignalProtocolClient.establishSession() are
|
|
@@ -255,10 +285,12 @@ export declare class DefaultSesameManager implements SesameManager {
|
|
|
255
285
|
* Handle PreKeyMessage decryption when no existing sessions are found.
|
|
256
286
|
*
|
|
257
287
|
* This method handles the first message from a new sender by:
|
|
258
|
-
* 1.
|
|
259
|
-
* 2.
|
|
260
|
-
* 3.
|
|
261
|
-
*
|
|
288
|
+
* 1. Reading the sender's DeviceRecord before decrypt
|
|
289
|
+
* 2. Attempting to decrypt using protocol.decrypt() (handles session establishment)
|
|
290
|
+
* 3. Reading the sender's identity key from the PreKeyMessage
|
|
291
|
+
*
|
|
292
|
+
* persistPreKeyResult() then creates or updates the DeviceRecord, detects an
|
|
293
|
+
* identity key change (device reinstall scenario), and persists the session.
|
|
262
294
|
*
|
|
263
295
|
* @param message - The incoming SESAME message
|
|
264
296
|
* @param senderAddress - Protocol address of the sender
|
|
@@ -267,15 +299,36 @@ export declare class DefaultSesameManager implements SesameManager {
|
|
|
267
299
|
* @throws DecryptionFailedError if decryption fails
|
|
268
300
|
*/
|
|
269
301
|
private handlePreKeyMessage;
|
|
302
|
+
/**
|
|
303
|
+
* Persist the DeviceRecord for a decrypted PreKeyMessage.
|
|
304
|
+
*
|
|
305
|
+
* The session lock of the sender device comes first, so the session read
|
|
306
|
+
* from the protocol is the one that it committed last. The records are
|
|
307
|
+
* then read again under the user lock, and the identity decision compares
|
|
308
|
+
* the incoming identity with the identity that the store pins now. An
|
|
309
|
+
* identity pinned while the message decrypted is therefore compared, not
|
|
310
|
+
* replaced. The receive path owns the identity key, the session, and the
|
|
311
|
+
* update time. Every other field, and every other device of the user, keeps
|
|
312
|
+
* the value that the store holds now, so a concurrent write for this user
|
|
313
|
+
* is not lost.
|
|
314
|
+
*/
|
|
315
|
+
private persistPreKeyResult;
|
|
316
|
+
/**
|
|
317
|
+
* The session record to store for a session that a PreKeyMessage
|
|
318
|
+
* established. The previous current session is archived, and the archived
|
|
319
|
+
* sessions of both records are kept, so SESAME keeps the session history
|
|
320
|
+
* for convergence.
|
|
321
|
+
*/
|
|
322
|
+
private mergePreKeySession;
|
|
270
323
|
/**
|
|
271
324
|
* Update session metadata after receiving a message and persist to storage.
|
|
272
325
|
*
|
|
273
|
-
*
|
|
274
|
-
*
|
|
326
|
+
* The session is read from the protocol under the session lock of the
|
|
327
|
+
* sender device, so a session that the protocol committed after the
|
|
328
|
+
* decrypt is not written back older.
|
|
275
329
|
*
|
|
276
|
-
* @param
|
|
277
|
-
* @param
|
|
278
|
-
* @param session - The session record to update
|
|
330
|
+
* @param senderAddress - Sender's protocol address
|
|
331
|
+
* @param fallback - The session record to update if the protocol has none
|
|
279
332
|
*/
|
|
280
333
|
private persistSessionAfterReceive;
|
|
281
334
|
/**
|
|
@@ -293,6 +346,7 @@ export declare class DefaultSesameManager implements SesameManager {
|
|
|
293
346
|
* to allow a new session to be established on the next send attempt.
|
|
294
347
|
*/
|
|
295
348
|
private archiveSessionForDevice;
|
|
349
|
+
private archiveSessionForDeviceLocked;
|
|
296
350
|
/**
|
|
297
351
|
* Extract sender ratchet key from failed message ciphertext for retry requests.
|
|
298
352
|
*
|
|
@@ -345,8 +399,22 @@ export declare class DefaultSesameManager implements SesameManager {
|
|
|
345
399
|
* Synchronize device list from server response
|
|
346
400
|
*
|
|
347
401
|
* SESAME Phase 3 in message sending requires validating the device list is current.
|
|
402
|
+
* Two syncs of one user run one after the other, so the stored devices and
|
|
403
|
+
* version come from one list.
|
|
348
404
|
*/
|
|
349
405
|
syncDeviceList(deviceListResponse: DeviceListResponse): Promise<void>;
|
|
406
|
+
private syncDeviceListLocked;
|
|
407
|
+
/**
|
|
408
|
+
* Remove a device that the device list no longer lists, or replace a
|
|
409
|
+
* device whose listed identity key changed. Another write can have changed
|
|
410
|
+
* the device since the list was compared under the user lock, so the
|
|
411
|
+
* decision is made again here.
|
|
412
|
+
*
|
|
413
|
+
* @param identityKey - The listed identity key, or undefined when the list
|
|
414
|
+
* does not list the device
|
|
415
|
+
* @returns true when the device was replaced for a changed identity key
|
|
416
|
+
*/
|
|
417
|
+
private replaceListedDeviceLocked;
|
|
350
418
|
/**
|
|
351
419
|
* Get statistics about SESAME state
|
|
352
420
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../internal/sesame/manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAA+B,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EACL,aAAa,EACb,aAAa,EACb,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,EACV,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,EAOX,kBAAkB,EAClB,WAAW,EACX,oBAAoB,EAOpB,YAAY,EAEZ,oBAAoB,EAEpB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../internal/sesame/manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAA+B,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EACL,aAAa,EACb,aAAa,EACb,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,EACV,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,EAOX,kBAAkB,EAClB,WAAW,EACX,oBAAoB,EAOpB,YAAY,EAEZ,oBAAoB,EAEpB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC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