@open-e2ee/signal-protocol-sdk 13.5.1 → 14.0.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/CHANGELOG.md +329 -0
- package/README.md +2 -2
- package/SECURITY.md +2 -2
- package/device/README.md +4 -3
- package/dist/client/client.d.ts +20 -55
- package/dist/client/client.d.ts.map +1 -1
- package/dist/client/client.js +133 -165
- package/dist/client/client.js.map +1 -1
- package/dist/client/content-adapter.d.ts +35 -6
- package/dist/client/content-adapter.d.ts.map +1 -1
- package/dist/client/content-adapter.js +28 -0
- package/dist/client/content-adapter.js.map +1 -1
- package/dist/client/event-hooks.d.ts +22 -11
- package/dist/client/event-hooks.d.ts.map +1 -1
- package/dist/client/event-hooks.js.map +1 -1
- package/dist/client/group-fetcher.d.ts.map +1 -1
- package/dist/client/group-fetcher.js +43 -0
- package/dist/client/group-fetcher.js.map +1 -1
- package/dist/client/group-key-sync.d.ts +65 -0
- package/dist/client/group-key-sync.d.ts.map +1 -0
- package/dist/client/group-key-sync.js +286 -0
- package/dist/client/group-key-sync.js.map +1 -0
- package/dist/client/group-outbox.d.ts +20 -6
- package/dist/client/group-outbox.d.ts.map +1 -1
- package/dist/client/group-outbox.js +153 -80
- package/dist/client/group-outbox.js.map +1 -1
- package/dist/client/group-receive-authorization.d.ts +16 -9
- package/dist/client/group-receive-authorization.d.ts.map +1 -1
- package/dist/client/group-receive-authorization.js +25 -16
- package/dist/client/group-receive-authorization.js.map +1 -1
- package/dist/client/hosted.d.ts +7 -7
- package/dist/client/hosted.js +7 -7
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/receive-queue.d.ts +3 -4
- package/dist/client/receive-queue.d.ts.map +1 -1
- package/dist/client/receive-queue.js +24 -32
- package/dist/client/receive-queue.js.map +1 -1
- package/dist/client/relay-subscription.d.ts.map +1 -1
- package/dist/client/relay-subscription.js +4 -9
- package/dist/client/relay-subscription.js.map +1 -1
- package/dist/client/retry-request-envelope.d.ts +4 -2
- package/dist/client/retry-request-envelope.d.ts.map +1 -1
- package/dist/client/retry-request-envelope.js +6 -4
- package/dist/client/retry-request-envelope.js.map +1 -1
- package/dist/client/retry-request-lifecycle.d.ts +7 -8
- package/dist/client/retry-request-lifecycle.d.ts.map +1 -1
- package/dist/client/retry-request-lifecycle.js +10 -7
- package/dist/client/retry-request-lifecycle.js.map +1 -1
- package/dist/client/retry-terminal-recovery.d.ts +14 -15
- package/dist/client/retry-terminal-recovery.d.ts.map +1 -1
- package/dist/client/retry-terminal-recovery.js +16 -17
- package/dist/client/retry-terminal-recovery.js.map +1 -1
- package/dist/client/retry-utils.d.ts +22 -0
- package/dist/client/retry-utils.d.ts.map +1 -1
- package/dist/client/retry-utils.js +30 -0
- package/dist/client/retry-utils.js.map +1 -1
- package/dist/client/send-deadline.js +1 -1
- package/dist/client/send-deadline.js.map +1 -1
- package/dist/client/send-timestamp.d.ts +71 -14
- package/dist/client/send-timestamp.d.ts.map +1 -1
- package/dist/client/send-timestamp.js +87 -19
- package/dist/client/send-timestamp.js.map +1 -1
- package/dist/client/signal-service-cipher.d.ts +125 -13
- package/dist/client/signal-service-cipher.d.ts.map +1 -1
- package/dist/client/signal-service-cipher.js +413 -102
- package/dist/client/signal-service-cipher.js.map +1 -1
- package/dist/client/types.d.ts +21 -16
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/types.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/groups/key-sync-ledger.d.ts +65 -0
- package/dist/internal/groups/key-sync-ledger.d.ts.map +1 -0
- package/dist/internal/groups/key-sync-ledger.js +104 -0
- package/dist/internal/groups/key-sync-ledger.js.map +1 -0
- package/dist/internal/groups/receive-record.d.ts +4 -1
- package/dist/internal/groups/receive-record.d.ts.map +1 -1
- package/dist/internal/groups/receive-record.js.map +1 -1
- package/dist/internal/session/cipher.d.ts.map +1 -1
- package/dist/internal/session/cipher.js +14 -0
- package/dist/internal/session/cipher.js.map +1 -1
- package/dist/local/store/conformance/cases/durability.d.ts.map +1 -1
- package/dist/local/store/conformance/cases/durability.js +6 -0
- package/dist/local/store/conformance/cases/durability.js.map +1 -1
- package/dist/local/store/conformance/records.d.ts.map +1 -1
- package/dist/local/store/conformance/records.js +3 -0
- package/dist/local/store/conformance/records.js.map +1 -1
- package/dist/local/store/expo/adapter.js +2 -2
- package/dist/local/store/expo/adapter.js.map +1 -1
- package/dist/local/store/key-value/adapter.d.ts +6 -5
- package/dist/local/store/key-value/adapter.d.ts.map +1 -1
- package/dist/local/store/key-value/adapter.js +21 -19
- package/dist/local/store/key-value/adapter.js.map +1 -1
- package/dist/local/store/key-value/receive-work.d.ts +0 -5
- package/dist/local/store/key-value/receive-work.d.ts.map +1 -1
- package/dist/local/store/key-value/receive-work.js +0 -16
- package/dist/local/store/key-value/receive-work.js.map +1 -1
- package/dist/local/store/node/adapter.js +2 -2
- package/dist/local/store/node/adapter.js.map +1 -1
- package/dist/local/store/react-native/adapter.js +2 -2
- package/dist/local/store/react-native/adapter.js.map +1 -1
- package/dist/local/store/receive-work.d.ts +32 -32
- package/dist/local/store/receive-work.d.ts.map +1 -1
- package/dist/local/store/receive-work.js +112 -65
- package/dist/local/store/receive-work.js.map +1 -1
- package/dist/local/store/received-content.d.ts +0 -5
- package/dist/local/store/received-content.d.ts.map +1 -1
- package/dist/local/store/received-content.js +0 -17
- package/dist/local/store/received-content.js.map +1 -1
- package/dist/local/store/reliability.d.ts +191 -53
- package/dist/local/store/reliability.d.ts.map +1 -1
- package/dist/local/store/reliability.js +517 -37
- package/dist/local/store/reliability.js.map +1 -1
- package/dist/local/store/sqlite/key-storage/metadata.d.ts +1 -8
- package/dist/local/store/sqlite/key-storage/metadata.d.ts.map +1 -1
- package/dist/local/store/sqlite/key-storage/metadata.js +1 -18
- package/dist/local/store/sqlite/key-storage/metadata.js.map +1 -1
- package/dist/local/store/sqlite/migrations.d.ts.map +1 -1
- package/dist/local/store/sqlite/migrations.js +8 -0
- package/dist/local/store/sqlite/migrations.js.map +1 -1
- package/dist/local/store/sqlite/store.d.ts +5 -5
- package/dist/local/store/sqlite/store.d.ts.map +1 -1
- package/dist/local/store/sqlite/store.js +29 -9
- package/dist/local/store/sqlite/store.js.map +1 -1
- package/dist/local/store/web/adapter.d.ts +11 -10
- package/dist/local/store/web/adapter.d.ts.map +1 -1
- package/dist/local/store/web/adapter.js +69 -51
- package/dist/local/store/web/adapter.js.map +1 -1
- package/dist/local/store/web-sqlite/adapter.js +2 -2
- package/dist/local/store/web-sqlite/adapter.js.map +1 -1
- package/dist/types/api.d.ts +50 -71
- package/dist/types/api.d.ts.map +1 -1
- package/dist/types/errors.d.ts +52 -18
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +58 -17
- package/dist/types/errors.js.map +1 -1
- package/docs/ASSURANCE.md +5 -5
- package/docs/DEVIATIONS.md +126 -9
- package/docs/ERROR_HANDLING.md +38 -23
- package/docs/GETTING_STARTED.md +17 -0
- package/local/store/README.md +32 -8
- package/package.json +1 -1
|
@@ -13,22 +13,56 @@
|
|
|
13
13
|
* anything. A sync to linked devices whose epoch is an application-supplied
|
|
14
14
|
* time gets the same check before it posts.
|
|
15
15
|
*
|
|
16
|
+
* Each send timestamp is unique per sender device. A new send reserves its
|
|
17
|
+
* timestamp in the sent-timestamp index of the store before it writes its
|
|
18
|
+
* intent and before it posts anything. A timestamp that the SDK reads from
|
|
19
|
+
* its clock and that a different send holds moves to the next free
|
|
20
|
+
* millisecond, and the moved value must stay at most 5 minutes ahead of the
|
|
21
|
+
* SDK clock. An application-supplied timestamp that a different send holds
|
|
22
|
+
* throws `InvalidSendTimestampError` with the reason `already_used`. A send
|
|
23
|
+
* that fails before its intent write removes its reservation. A reservation
|
|
24
|
+
* that a crash left before its intent write holds its timestamp only for
|
|
25
|
+
* `SEND_TIMESTAMP_RESERVATION_GRACE_MILLISECONDS`.
|
|
26
|
+
*
|
|
16
27
|
* A send that repeats a stored `clientMessageId` with its stored timestamp
|
|
17
28
|
* is not checked again: its epoch can be older than 24 hours, and the Relay
|
|
18
29
|
* replays an accepted operation by its epoch. With another timestamp, the
|
|
19
|
-
*
|
|
20
|
-
*
|
|
30
|
+
* send is refused. A manual resend, a retry-receipt answer and a group
|
|
31
|
+
* resend use the timestamp of their intent and reserve nothing. A timestamp
|
|
32
|
+
* that the SDK reads from its own clock is never checked against the window.
|
|
21
33
|
*
|
|
22
34
|
* The client checks a new send once, at the entry of the send, against one
|
|
23
35
|
* clock reading. It then marks the options with the origin of the timestamp,
|
|
24
36
|
* so the inner checks of that send do not check it again with a later clock.
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
37
|
+
* A send entry that reserved the timestamp marks it `checked`, and the inner
|
|
38
|
+
* reservation of the send finds the entry with its own ID. The mark has a
|
|
39
|
+
* symbol key that no package subpath exports, and the client sets it after it
|
|
40
|
+
* spreads the application's options, so an application cannot set it.
|
|
28
41
|
*/
|
|
42
|
+
import { releaseSendTimestamp, reserveSendTimestamp, withOutgoingMessageIntentLock, } from '../local/store/reliability.js';
|
|
29
43
|
import { InvalidSendTimestampError } from '../types/errors.js';
|
|
30
44
|
/** A new send refuses a timestamp more than this far ahead of the SDK clock. */
|
|
31
45
|
export const SEND_TIMESTAMP_FUTURE_SKEW_MILLISECONDS = 5 * 60 * 1_000;
|
|
46
|
+
/**
|
|
47
|
+
* The grace period of a pending send timestamp reservation: 5 minutes.
|
|
48
|
+
*
|
|
49
|
+
* A reservation is pending from the reservation until the intent write of
|
|
50
|
+
* its send. A new send that meets a different ID at its timestamp counts
|
|
51
|
+
* that ID as committed when it has no pending reservation, as in flight when
|
|
52
|
+
* its pending reservation is younger than this period, and as an orphan when
|
|
53
|
+
* its pending reservation is this old or older and no intent exists. An
|
|
54
|
+
* orphan is what a crash or a closed tab leaves between the reservation and
|
|
55
|
+
* the intent write. The new send removes each orphan and takes the
|
|
56
|
+
* timestamp. Only a committed or an in-flight ID refuses an application
|
|
57
|
+
* timestamp with `already_used`, or moves a timestamp from the SDK clock.
|
|
58
|
+
*
|
|
59
|
+
* A send that spends longer than this period between its reservation and its
|
|
60
|
+
* intent write, and whose timestamp another send took in the meantime, throws
|
|
61
|
+
* `InvalidSendTimestampError` with the reason `already_used` at the intent
|
|
62
|
+
* write. It stores and posts nothing, so the device never posts two messages
|
|
63
|
+
* with one timestamp.
|
|
64
|
+
*/
|
|
65
|
+
export const SEND_TIMESTAMP_RESERVATION_GRACE_MILLISECONDS = 5 * 60 * 1_000;
|
|
32
66
|
/** A new send refuses a timestamp more than this far behind the SDK clock. */
|
|
33
67
|
export const SEND_TIMESTAMP_MAX_AGE_MILLISECONDS = 24 * 60 * 60 * 1_000;
|
|
34
68
|
/** The key of the timestamp origin mark. No package subpath exports it. */
|
|
@@ -58,25 +92,59 @@ export function checkNewSendTimestamp(options, now = Date.now()) {
|
|
|
58
92
|
}
|
|
59
93
|
}
|
|
60
94
|
/**
|
|
61
|
-
* Check the timestamp of a new send
|
|
62
|
-
*
|
|
95
|
+
* Check and reserve the client timestamp of a new send. Without a timestamp
|
|
96
|
+
* in the options, the SDK clock gives it. Call it before the intent write and
|
|
97
|
+
* before any post of the send.
|
|
63
98
|
*
|
|
64
|
-
* @throws {InvalidSendTimestampError} as `checkNewSendTimestamp` does
|
|
99
|
+
* @throws {InvalidSendTimestampError} as `checkNewSendTimestamp` does, with
|
|
100
|
+
* `already_used` when a different send holds an application-supplied
|
|
101
|
+
* timestamp, and with `too_far_ahead` when the next free millisecond after
|
|
102
|
+
* a timestamp from the SDK clock is more than 5 minutes ahead of the clock
|
|
65
103
|
*/
|
|
66
|
-
export function
|
|
67
|
-
if (options.timestamp == null || options[SEND_TIMESTAMP_ORIGIN] !== undefined)
|
|
68
|
-
return options;
|
|
104
|
+
export async function reserveNewSendTimestamp(store, options, now = Date.now()) {
|
|
69
105
|
checkNewSendTimestamp(options, now);
|
|
70
|
-
|
|
106
|
+
const latest = now + SEND_TIMESTAMP_FUTURE_SKEW_MILLISECONDS;
|
|
107
|
+
const fromClock = options.timestamp == null || options[SEND_TIMESTAMP_ORIGIN] === 'sdk-clock';
|
|
108
|
+
const reservation = await reserveSendTimestamp(store, {
|
|
109
|
+
clientMessageId: options.clientMessageId,
|
|
110
|
+
timestamp: options.timestamp ?? now,
|
|
111
|
+
origin: fromClock ? 'sdk-clock' : 'caller',
|
|
112
|
+
latest,
|
|
113
|
+
grace: SEND_TIMESTAMP_RESERVATION_GRACE_MILLISECONDS,
|
|
114
|
+
}, now);
|
|
115
|
+
if (reservation.kind === 'used') {
|
|
116
|
+
throw new InvalidSendTimestampError(reservation.timestamp, 'already_used');
|
|
117
|
+
}
|
|
118
|
+
if (reservation.kind === 'past-latest') {
|
|
119
|
+
throw new InvalidSendTimestampError(reservation.timestamp, 'too_far_ahead', {
|
|
120
|
+
earliest: now - SEND_TIMESTAMP_MAX_AGE_MILLISECONDS,
|
|
121
|
+
latest,
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
return {
|
|
125
|
+
clientMessageId: options.clientMessageId,
|
|
126
|
+
timestamp: reservation.timestamp,
|
|
127
|
+
reservedAt: reservation.reservedAt,
|
|
128
|
+
reserved: reservation.kind === 'reserved',
|
|
129
|
+
};
|
|
71
130
|
}
|
|
72
131
|
/**
|
|
73
|
-
*
|
|
74
|
-
* or the
|
|
75
|
-
*
|
|
76
|
-
* @throws {InvalidSendTimestampError} as `checkNewSendTimestamp` does
|
|
132
|
+
* Remove the reservation of a new send that failed. A reservation that this
|
|
133
|
+
* call did not write, or that the intent of the send owns, stays.
|
|
77
134
|
*/
|
|
78
|
-
export function
|
|
79
|
-
|
|
80
|
-
|
|
135
|
+
export async function releaseNewSendTimestamp(store, reservation) {
|
|
136
|
+
if (reservation.reserved)
|
|
137
|
+
await releaseSendTimestamp(store, reservation);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Remove the reservation of a new send that failed outside the intent lock,
|
|
141
|
+
* as `releaseNewSendTimestamp` does. The release takes the intent lock of
|
|
142
|
+
* the send first, so it does not run between the reservation check and the
|
|
143
|
+
* intent write of a concurrent send with the same `clientMessageId`.
|
|
144
|
+
*/
|
|
145
|
+
export async function releaseNewSendTimestampWithLock(store, reservation) {
|
|
146
|
+
if (!reservation.reserved)
|
|
147
|
+
return;
|
|
148
|
+
await withOutgoingMessageIntentLock(store, reservation.clientMessageId, () => releaseSendTimestamp(store, reservation));
|
|
81
149
|
}
|
|
82
150
|
//# sourceMappingURL=send-timestamp.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-timestamp.js","sourceRoot":"","sources":["../../client/send-timestamp.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"send-timestamp.js","sourceRoot":"","sources":["../../client/send-timestamp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,GAC9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAG5D,gFAAgF;AAChF,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC;AAEtE;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC;AAE5E,8EAA8E;AAC9E,MAAM,CAAC,MAAM,mCAAmC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAExE,2EAA2E;AAC3E,MAAM,CAAC,MAAM,qBAAqB,GAAkB,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAclF;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CACnC,OAA6D,EAC7D,GAAG,GAAW,IA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EAAE,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ;QAC1C,MAAM;QACN,KAAK,EAAE,6CAA6C;KACrD,EACD,GAAG,CACJ,CAAC;IACF,IAAI,WAAW,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;QAChC,MAAM,IAAI,yBAAyB,CAAC,WAAW,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;IAC7E,CAAC;IACD,IAAI,WAAW,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;QACvC,MAAM,IAAI,yBAAyB,CAAC,WAAW,CAAC,SAAS,EAAE,eAAe,EAAE;YAC1E,QAAQ,EAAE,GAAG,GAAG,mCAAmC;YACnD,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,OAAO;QACL,eAAe,EAAE,OAAO,CAAC,eAAe;QACxC,SAAS,EAAE,WAAW,CAAC,SAAS;QAChC,UAAU,EAAE,WAAW,CAAC,UAAU;QAClC,QAAQ,EAAE,WAAW,CAAC,IAAI,KAAK,UAAU;KAC1C,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,KAAyB,EACzB,WAAkC;IAElC,IAAI,WAAW,CAAC,QAAQ;QAAE,MAAM,oBAAoB,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;AAC3E,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,+BAA+B,CACnD,KAAyB,EACzB,WAAkC;IAElC,IAAI,CAAC,WAAW,CAAC,QAAQ;QAAE,OAAO;IAClC,MAAM,6BAA6B,CAAC,KAAK,EAAE,WAAW,CAAC,eAAe,EAAE,GAAG,EAAE,CAC3E,oBAAoB,CAAC,KAAK,EAAE,WAAW,CAAC,CACzC,CAAC;AACJ,CAAC"}
|
|
@@ -24,7 +24,9 @@ import type { EndorsementManager } from './endorsement-manager.js';
|
|
|
24
24
|
import { GroupReceiveRefusedError, GroupReceiveUnavailableError, type GroupReceiveEvaluator } from './group-receive-authorization.js';
|
|
25
25
|
import type { PreparedAttachmentUpload, SealedReceipt, SendOptions, SendResult } from './types.js';
|
|
26
26
|
import { ContentHint } from '../types/messages.js';
|
|
27
|
-
import { type BlockedRecipientsSyncInput, type ConfigurationSyncInput, type GroupContentContext, type InspectedSignalProtocolContent, type MediaAttachmentDeleteSyncInput, type ReadSyncEntryInput, type RecipientUsernameSyncInput, type SignalProtocolContentAdapter, type TaskNotificationAckSyncInput, type UsernameStateSyncInput, type VerificationStateSyncInput, type ViewOnceOpenSyncInput } from './content-adapter.js';
|
|
27
|
+
import { type BlockedRecipientsSyncInput, type ConfigurationSyncInput, type GroupContentContext, type GroupKeySyncInput, type InspectedSignalProtocolContent, type MediaAttachmentDeleteSyncInput, type ReadSyncEntryInput, type RecipientUsernameSyncInput, type SignalProtocolContentAdapter, type TaskNotificationAckSyncInput, type UsernameStateSyncInput, type VerificationStateSyncInput, type ViewOnceOpenSyncInput } from './content-adapter.js';
|
|
28
|
+
import { type GroupKeySyncDevice } from '../internal/groups/key-sync-ledger.js';
|
|
29
|
+
import type { KnownOwnDevice } from './group-key-sync.js';
|
|
28
30
|
import { type OutgoingIntentEndReport, type RetryResendTarget, type StoredManualResend, type StoredOutgoingMessageIntent } from '../local/store/reliability.js';
|
|
29
31
|
import { type BoundedFanOut } from '../utils/bounded-fan-out.js';
|
|
30
32
|
import { type ManualResendEndReport } from './send-deadline.js';
|
|
@@ -238,6 +240,8 @@ export declare class SignalProtocolServiceCipher {
|
|
|
238
240
|
private sealedSenderDeliveryMode;
|
|
239
241
|
private sealedSenderIdentifiedFallback?;
|
|
240
242
|
private relayProtocolErrorReporter?;
|
|
243
|
+
private ownDevicesFirstSeen?;
|
|
244
|
+
private groupKeySyncReceiver?;
|
|
241
245
|
private contactProfileStateStore?;
|
|
242
246
|
private endorsementManager?;
|
|
243
247
|
private endorsementManagerResolver?;
|
|
@@ -253,6 +257,16 @@ export declare class SignalProtocolServiceCipher {
|
|
|
253
257
|
private getDirectConversationId;
|
|
254
258
|
private buildSentSyncTranscript;
|
|
255
259
|
private encodeLosslessPlaintext;
|
|
260
|
+
/**
|
|
261
|
+
* Post sync copies to own devices, with no intent.
|
|
262
|
+
*
|
|
263
|
+
* @returns Each own device whose copy the relay accepted, with the
|
|
264
|
+
* registration that the accepted copy named. A copy that named no
|
|
265
|
+
* registration, or that left the send, gives no device.
|
|
266
|
+
* @throws The error of the first failed device. The `accepted` list of
|
|
267
|
+
* the target holds the devices whose copy the relay accepted before the
|
|
268
|
+
* failure.
|
|
269
|
+
*/
|
|
256
270
|
private uploadSyncMessages;
|
|
257
271
|
/** A stored sync copy that names the registration of the own device's current session. */
|
|
258
272
|
private prepareStoredSyncMessage;
|
|
@@ -272,7 +286,9 @@ export declare class SignalProtocolServiceCipher {
|
|
|
272
286
|
* uses the `beforeRequest` of `control`.
|
|
273
287
|
*
|
|
274
288
|
* @returns The relay receipt of the copy or of its repaired copy, or
|
|
275
|
-
* undefined when the copy left the intent
|
|
289
|
+
* undefined when the copy left the intent. A copy leaves the intent when
|
|
290
|
+
* the relay refuses its repaired copy too, or when the send has no
|
|
291
|
+
* transcript to repair it with.
|
|
276
292
|
* @throws {EncryptionError} SESSION_ESTABLISHMENT_FAILED when the refresh
|
|
277
293
|
* fails or the rebuild gives the device no copy. The copy stays in the
|
|
278
294
|
* intent, so a replay posts it again.
|
|
@@ -281,8 +297,11 @@ export declare class SignalProtocolServiceCipher {
|
|
|
281
297
|
/**
|
|
282
298
|
* Refresh the session of an own device that refused a sync copy as stale,
|
|
283
299
|
* encrypt the transcript again for the device, and replace the stored copy
|
|
284
|
-
* before its post. The refused ciphertext is never posted again.
|
|
300
|
+
* before its post. The refused ciphertext is never posted again. When the
|
|
301
|
+
* send has no transcript, the stored copy leaves the intent and the
|
|
302
|
+
* refreshed session stays.
|
|
285
303
|
*
|
|
304
|
+
* @returns The new copy, or `no-transcript` when the copy left the intent
|
|
286
305
|
* @throws {EncryptionError} SESSION_ESTABLISHMENT_FAILED when the refresh
|
|
287
306
|
* fails or the rebuild gives the device no copy. The stored copy stays,
|
|
288
307
|
* and the refreshed session is not archived.
|
|
@@ -315,6 +334,34 @@ export declare class SignalProtocolServiceCipher {
|
|
|
315
334
|
* checks it first, as a new send checks its timestamp.
|
|
316
335
|
*/
|
|
317
336
|
private sendSyncPayloadToLocalOtherDevices;
|
|
337
|
+
/**
|
|
338
|
+
* The other own devices that have a local device record not marked
|
|
339
|
+
* removed, each with the registration of its current session when the
|
|
340
|
+
* session names one.
|
|
341
|
+
*/
|
|
342
|
+
localOwnSyncDevices(): Promise<Array<{
|
|
343
|
+
deviceId: number;
|
|
344
|
+
registrationId?: number;
|
|
345
|
+
}>>;
|
|
346
|
+
/**
|
|
347
|
+
* Post the key of one managed group to the other own devices, through
|
|
348
|
+
* the identified sync copy path. On a relay that compares device sets, a
|
|
349
|
+
* send to every own device reads the own list once when this device holds
|
|
350
|
+
* no own device record, because a sync post alone never learns of an own
|
|
351
|
+
* device.
|
|
352
|
+
*
|
|
353
|
+
* @param input - The group master key and the revision at the send
|
|
354
|
+
* @param deviceIds - The own devices to post to. Without it, the send
|
|
355
|
+
* posts to each own device.
|
|
356
|
+
* @param stopSignal - The stop signal of the send. No post or wait starts
|
|
357
|
+
* after it aborts.
|
|
358
|
+
* @returns Each own device whose copy the relay accepted, with the
|
|
359
|
+
* registration that the accepted copy named
|
|
360
|
+
* @throws When the send fails or stops. Each error of the send, also one
|
|
361
|
+
* from before the first post, carries the devices whose copy the relay
|
|
362
|
+
* accepted before the failure, which `syncDevicesAcceptedBefore` reads.
|
|
363
|
+
*/
|
|
364
|
+
sendGroupKeySyncToLocalOtherDevices(input: GroupKeySyncInput, deviceIds?: readonly number[], stopSignal?: AbortSignal): Promise<GroupKeySyncDevice[]>;
|
|
318
365
|
sendReadSyncToLocalOtherDevices(entries: ReadSyncEntryInput[]): Promise<void>;
|
|
319
366
|
sendViewOnceOpenSyncToLocalOtherDevices(entry: ViewOnceOpenSyncInput): Promise<void>;
|
|
320
367
|
sendMediaAttachmentDeleteSyncToLocalOtherDevices(entry: MediaAttachmentDeleteSyncInput): Promise<void>;
|
|
@@ -347,6 +394,15 @@ export declare class SignalProtocolServiceCipher {
|
|
|
347
394
|
* send result, so the reporter gives its error to the app.
|
|
348
395
|
*/
|
|
349
396
|
setRelayProtocolErrorReporter(report: (error: RelayProtocolError) => Promise<void>): void;
|
|
397
|
+
/**
|
|
398
|
+
* Set the listener of own devices that this device sees for the first
|
|
399
|
+
* time: a listed own device that gets its first device record from an own
|
|
400
|
+
* device list read, or an own device that a declared-phase repair starts a
|
|
401
|
+
* session with as a missing device. The listener runs after the read or
|
|
402
|
+
* the repair, and must not send in the turn of the send that saw the
|
|
403
|
+
* device. Called by SignalProtocolClient after construction.
|
|
404
|
+
*/
|
|
405
|
+
setOwnDevicesFirstSeenListener(listener: (deviceIds: readonly number[]) => void): void;
|
|
350
406
|
private reportIdentifiedFallback;
|
|
351
407
|
/**
|
|
352
408
|
* Restrict the cached unidentified access mode of a recipient after the
|
|
@@ -390,13 +446,56 @@ export declare class SignalProtocolServiceCipher {
|
|
|
390
446
|
* group carries. It answers null for a group with no master key.
|
|
391
447
|
*/
|
|
392
448
|
setGroupContextProvider(provider: (groupId: string) => Promise<GroupContentContext | null>): void;
|
|
393
|
-
/**
|
|
449
|
+
/**
|
|
450
|
+
* The content of a new group send, with the context of a managed group in it.
|
|
451
|
+
*
|
|
452
|
+
* @throws EncryptionError `GROUP_MASTER_KEY_MISSING` when the group is a
|
|
453
|
+
* managed group and the provider has no master key for it. Receivers
|
|
454
|
+
* deny managed group content with no context, so the send posts nothing.
|
|
455
|
+
*/
|
|
394
456
|
private contentWithGroupContext;
|
|
457
|
+
/**
|
|
458
|
+
* The group context that a new send to a group carries. Undefined when the
|
|
459
|
+
* client has no group context provider, or when the group is an ad hoc
|
|
460
|
+
* group with no master key.
|
|
461
|
+
*
|
|
462
|
+
* @throws EncryptionError `GROUP_MASTER_KEY_MISSING` when the group is a
|
|
463
|
+
* managed group and the provider has no master key for it
|
|
464
|
+
*/
|
|
465
|
+
private groupSendContext;
|
|
395
466
|
/**
|
|
396
467
|
* Decide on received managed-group content against verified group state.
|
|
397
468
|
* Without an evaluator, managed-group content is refused.
|
|
398
469
|
*/
|
|
399
470
|
setGroupReceiveEvaluator(evaluate: GroupReceiveEvaluator): void;
|
|
471
|
+
/**
|
|
472
|
+
* Apply the group master key of a `GroupKeySync` from an own device. The
|
|
473
|
+
* receiver gets the sending own device with the registration of its
|
|
474
|
+
* session, when the session names one. Without a receiver, a
|
|
475
|
+
* `GroupKeySync` is consumed and writes nothing: a device without
|
|
476
|
+
* `config.groups` drops the sync, the sender does not send it again, and
|
|
477
|
+
* that device gets the key only from group traffic.
|
|
478
|
+
*/
|
|
479
|
+
setGroupKeySyncReceiver(receive: (input: GroupKeySyncInput, sender: KnownOwnDevice) => Promise<void>): void;
|
|
480
|
+
/**
|
|
481
|
+
* Consume committed content that carries a `GroupKeySync`.
|
|
482
|
+
* `processIncomingEnvelope`, the Relay subscription and the receive queue
|
|
483
|
+
* call this method, so they never give that content to the application.
|
|
484
|
+
* `decryptEnvelope` and the raw decrypt methods `receive`,
|
|
485
|
+
* `decryptMessage` and `decryptMessages` do not call it. They return the
|
|
486
|
+
* sync unapplied, master key included. The commit and `restoreCommitted`
|
|
487
|
+
* already refused a sync from another account, so the content comes from
|
|
488
|
+
* an own device.
|
|
489
|
+
*
|
|
490
|
+
* The receiver gets only a 32-byte master key and a non-negative safe
|
|
491
|
+
* integer revision, as a group context must carry. A custom content
|
|
492
|
+
* adapter can give other values. Such a sync is consumed, writes nothing,
|
|
493
|
+
* and logs a warning.
|
|
494
|
+
*
|
|
495
|
+
* @returns True when the content is a `GroupKeySync`, which the caller
|
|
496
|
+
* then completes with no delivery. False for other content.
|
|
497
|
+
*/
|
|
498
|
+
consumeGroupKeySync(content: CommittedContent): Promise<boolean>;
|
|
400
499
|
/**
|
|
401
500
|
* Decrypt incoming envelope - routes to appropriate cipher
|
|
402
501
|
*
|
|
@@ -441,11 +540,6 @@ export declare class SignalProtocolServiceCipher {
|
|
|
441
540
|
private commitAt;
|
|
442
541
|
/** Open a sealed envelope and return the envelope that it holds. */
|
|
443
542
|
private unsealEnvelope;
|
|
444
|
-
/**
|
|
445
|
-
* Fill the sender fields of a converted legacy record from its
|
|
446
|
-
* redelivered envelope. The record keeps its age and its arrival order.
|
|
447
|
-
*/
|
|
448
|
-
private fillAwaitingEnvelope;
|
|
449
543
|
/**
|
|
450
544
|
* The checks of committed content that run before its distribution
|
|
451
545
|
* installs: the replay check, sync content from another account, and a
|
|
@@ -476,8 +570,7 @@ export declare class SignalProtocolServiceCipher {
|
|
|
476
570
|
* Test: "gives the content once, and the failed message is a duplicate
|
|
477
571
|
* after a restart".
|
|
478
572
|
*
|
|
479
|
-
* @param record - A record that holds plaintext and its sender.
|
|
480
|
-
* converted legacy record waits for its envelope, and has no sender.
|
|
573
|
+
* @param record - A record that holds plaintext and its sender.
|
|
481
574
|
* @param stopSignal - Stops the wait for the sender key lock.
|
|
482
575
|
* @returns `committed` with the content, or `denied` when a check fails
|
|
483
576
|
*/
|
|
@@ -638,7 +731,7 @@ export declare class SignalProtocolServiceCipher {
|
|
|
638
731
|
private toSesameMessage;
|
|
639
732
|
/**
|
|
640
733
|
* Archive the session with one device, for the session reset of a retry
|
|
641
|
-
* request that ended as `
|
|
734
|
+
* request that ended as `posting-deadline`.
|
|
642
735
|
*
|
|
643
736
|
* The archive takes the decrypt lock of the device first, so each decrypt
|
|
644
737
|
* from the device in progress ends before it, and a decrypt that starts
|
|
@@ -765,6 +858,11 @@ export declare class SignalProtocolServiceCipher {
|
|
|
765
858
|
private encryptToUser;
|
|
766
859
|
private encryptToUserWithOutbox;
|
|
767
860
|
private encryptToUserWithOutboxLocked;
|
|
861
|
+
/**
|
|
862
|
+
* Prepare and store a new direct intent with its reserved client
|
|
863
|
+
* timestamp. The session setup can post to the Relay.
|
|
864
|
+
*/
|
|
865
|
+
private storeNewDirectIntent;
|
|
768
866
|
/**
|
|
769
867
|
* The evidence of one `send()` call of a direct or group intent. It starts
|
|
770
868
|
* from the stored progress of the intent and stores each answer of the
|
|
@@ -1137,7 +1235,16 @@ export declare class SignalProtocolServiceCipher {
|
|
|
1137
1235
|
* payload has no send result, so the reporter gives the protocol error of
|
|
1138
1236
|
* an accepted post without the `deviceSetChecked` mark to the app.
|
|
1139
1237
|
*
|
|
1140
|
-
*
|
|
1238
|
+
* A target with device IDs posts only to those devices, and each pass
|
|
1239
|
+
* declares the other own devices beside the posts. A target that reads
|
|
1240
|
+
* the own list without a record reads it once when this device holds no
|
|
1241
|
+
* own device record.
|
|
1242
|
+
*
|
|
1243
|
+
* @returns Each own device whose copy the relay accepted, with the
|
|
1244
|
+
* registration that the accepted copy named
|
|
1245
|
+
* @throws {DeviceSetReconciliationError} when the phase ends unresolved.
|
|
1246
|
+
* The `accepted` list of the target holds the devices whose copy the
|
|
1247
|
+
* relay accepted before the failure.
|
|
1141
1248
|
*/
|
|
1142
1249
|
private sendDeclaredSyncPayload;
|
|
1143
1250
|
private encryptToGroupWithOutbox;
|
|
@@ -1466,6 +1573,11 @@ export declare class SignalProtocolServiceCipher {
|
|
|
1466
1573
|
* @see https://developers.google.com/tink/streaming-aead/aes_gcm_hkdf_streaming
|
|
1467
1574
|
*/
|
|
1468
1575
|
private encryptBinaryAttachment;
|
|
1576
|
+
/**
|
|
1577
|
+
* Log a failed release of a send timestamp reservation. The send then
|
|
1578
|
+
* throws its own error, not the release error.
|
|
1579
|
+
*/
|
|
1580
|
+
private warnReleaseFailure;
|
|
1469
1581
|
private prepareAttachmentUpload;
|
|
1470
1582
|
}
|
|
1471
1583
|
//# sourceMappingURL=signal-service-cipher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signal-service-cipher.d.ts","sourceRoot":"","sources":["../../client/signal-service-cipher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO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