@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.
Files changed (145) hide show
  1. package/CHANGELOG.md +329 -0
  2. package/README.md +2 -2
  3. package/SECURITY.md +2 -2
  4. package/device/README.md +4 -3
  5. package/dist/client/client.d.ts +20 -55
  6. package/dist/client/client.d.ts.map +1 -1
  7. package/dist/client/client.js +133 -165
  8. package/dist/client/client.js.map +1 -1
  9. package/dist/client/content-adapter.d.ts +35 -6
  10. package/dist/client/content-adapter.d.ts.map +1 -1
  11. package/dist/client/content-adapter.js +28 -0
  12. package/dist/client/content-adapter.js.map +1 -1
  13. package/dist/client/event-hooks.d.ts +22 -11
  14. package/dist/client/event-hooks.d.ts.map +1 -1
  15. package/dist/client/event-hooks.js.map +1 -1
  16. package/dist/client/group-fetcher.d.ts.map +1 -1
  17. package/dist/client/group-fetcher.js +43 -0
  18. package/dist/client/group-fetcher.js.map +1 -1
  19. package/dist/client/group-key-sync.d.ts +65 -0
  20. package/dist/client/group-key-sync.d.ts.map +1 -0
  21. package/dist/client/group-key-sync.js +286 -0
  22. package/dist/client/group-key-sync.js.map +1 -0
  23. package/dist/client/group-outbox.d.ts +20 -6
  24. package/dist/client/group-outbox.d.ts.map +1 -1
  25. package/dist/client/group-outbox.js +153 -80
  26. package/dist/client/group-outbox.js.map +1 -1
  27. package/dist/client/group-receive-authorization.d.ts +16 -9
  28. package/dist/client/group-receive-authorization.d.ts.map +1 -1
  29. package/dist/client/group-receive-authorization.js +25 -16
  30. package/dist/client/group-receive-authorization.js.map +1 -1
  31. package/dist/client/hosted.d.ts +7 -7
  32. package/dist/client/hosted.js +7 -7
  33. package/dist/client/index.d.ts +1 -1
  34. package/dist/client/index.d.ts.map +1 -1
  35. package/dist/client/index.js.map +1 -1
  36. package/dist/client/receive-queue.d.ts +3 -4
  37. package/dist/client/receive-queue.d.ts.map +1 -1
  38. package/dist/client/receive-queue.js +24 -32
  39. package/dist/client/receive-queue.js.map +1 -1
  40. package/dist/client/relay-subscription.d.ts.map +1 -1
  41. package/dist/client/relay-subscription.js +4 -9
  42. package/dist/client/relay-subscription.js.map +1 -1
  43. package/dist/client/retry-request-envelope.d.ts +4 -2
  44. package/dist/client/retry-request-envelope.d.ts.map +1 -1
  45. package/dist/client/retry-request-envelope.js +6 -4
  46. package/dist/client/retry-request-envelope.js.map +1 -1
  47. package/dist/client/retry-request-lifecycle.d.ts +7 -8
  48. package/dist/client/retry-request-lifecycle.d.ts.map +1 -1
  49. package/dist/client/retry-request-lifecycle.js +10 -7
  50. package/dist/client/retry-request-lifecycle.js.map +1 -1
  51. package/dist/client/retry-terminal-recovery.d.ts +14 -15
  52. package/dist/client/retry-terminal-recovery.d.ts.map +1 -1
  53. package/dist/client/retry-terminal-recovery.js +16 -17
  54. package/dist/client/retry-terminal-recovery.js.map +1 -1
  55. package/dist/client/retry-utils.d.ts +22 -0
  56. package/dist/client/retry-utils.d.ts.map +1 -1
  57. package/dist/client/retry-utils.js +30 -0
  58. package/dist/client/retry-utils.js.map +1 -1
  59. package/dist/client/send-deadline.js +1 -1
  60. package/dist/client/send-deadline.js.map +1 -1
  61. package/dist/client/send-timestamp.d.ts +71 -14
  62. package/dist/client/send-timestamp.d.ts.map +1 -1
  63. package/dist/client/send-timestamp.js +87 -19
  64. package/dist/client/send-timestamp.js.map +1 -1
  65. package/dist/client/signal-service-cipher.d.ts +125 -13
  66. package/dist/client/signal-service-cipher.d.ts.map +1 -1
  67. package/dist/client/signal-service-cipher.js +413 -102
  68. package/dist/client/signal-service-cipher.js.map +1 -1
  69. package/dist/client/types.d.ts +21 -16
  70. package/dist/client/types.d.ts.map +1 -1
  71. package/dist/client/types.js.map +1 -1
  72. package/dist/index.d.ts +1 -1
  73. package/dist/index.d.ts.map +1 -1
  74. package/dist/index.js.map +1 -1
  75. package/dist/internal/groups/key-sync-ledger.d.ts +65 -0
  76. package/dist/internal/groups/key-sync-ledger.d.ts.map +1 -0
  77. package/dist/internal/groups/key-sync-ledger.js +104 -0
  78. package/dist/internal/groups/key-sync-ledger.js.map +1 -0
  79. package/dist/internal/groups/receive-record.d.ts +4 -1
  80. package/dist/internal/groups/receive-record.d.ts.map +1 -1
  81. package/dist/internal/groups/receive-record.js.map +1 -1
  82. package/dist/internal/session/cipher.d.ts.map +1 -1
  83. package/dist/internal/session/cipher.js +14 -0
  84. package/dist/internal/session/cipher.js.map +1 -1
  85. package/dist/local/store/conformance/cases/durability.d.ts.map +1 -1
  86. package/dist/local/store/conformance/cases/durability.js +6 -0
  87. package/dist/local/store/conformance/cases/durability.js.map +1 -1
  88. package/dist/local/store/conformance/records.d.ts.map +1 -1
  89. package/dist/local/store/conformance/records.js +3 -0
  90. package/dist/local/store/conformance/records.js.map +1 -1
  91. package/dist/local/store/expo/adapter.js +2 -2
  92. package/dist/local/store/expo/adapter.js.map +1 -1
  93. package/dist/local/store/key-value/adapter.d.ts +6 -5
  94. package/dist/local/store/key-value/adapter.d.ts.map +1 -1
  95. package/dist/local/store/key-value/adapter.js +21 -19
  96. package/dist/local/store/key-value/adapter.js.map +1 -1
  97. package/dist/local/store/key-value/receive-work.d.ts +0 -5
  98. package/dist/local/store/key-value/receive-work.d.ts.map +1 -1
  99. package/dist/local/store/key-value/receive-work.js +0 -16
  100. package/dist/local/store/key-value/receive-work.js.map +1 -1
  101. package/dist/local/store/node/adapter.js +2 -2
  102. package/dist/local/store/node/adapter.js.map +1 -1
  103. package/dist/local/store/react-native/adapter.js +2 -2
  104. package/dist/local/store/react-native/adapter.js.map +1 -1
  105. package/dist/local/store/receive-work.d.ts +32 -32
  106. package/dist/local/store/receive-work.d.ts.map +1 -1
  107. package/dist/local/store/receive-work.js +112 -65
  108. package/dist/local/store/receive-work.js.map +1 -1
  109. package/dist/local/store/received-content.d.ts +0 -5
  110. package/dist/local/store/received-content.d.ts.map +1 -1
  111. package/dist/local/store/received-content.js +0 -17
  112. package/dist/local/store/received-content.js.map +1 -1
  113. package/dist/local/store/reliability.d.ts +191 -53
  114. package/dist/local/store/reliability.d.ts.map +1 -1
  115. package/dist/local/store/reliability.js +517 -37
  116. package/dist/local/store/reliability.js.map +1 -1
  117. package/dist/local/store/sqlite/key-storage/metadata.d.ts +1 -8
  118. package/dist/local/store/sqlite/key-storage/metadata.d.ts.map +1 -1
  119. package/dist/local/store/sqlite/key-storage/metadata.js +1 -18
  120. package/dist/local/store/sqlite/key-storage/metadata.js.map +1 -1
  121. package/dist/local/store/sqlite/migrations.d.ts.map +1 -1
  122. package/dist/local/store/sqlite/migrations.js +8 -0
  123. package/dist/local/store/sqlite/migrations.js.map +1 -1
  124. package/dist/local/store/sqlite/store.d.ts +5 -5
  125. package/dist/local/store/sqlite/store.d.ts.map +1 -1
  126. package/dist/local/store/sqlite/store.js +29 -9
  127. package/dist/local/store/sqlite/store.js.map +1 -1
  128. package/dist/local/store/web/adapter.d.ts +11 -10
  129. package/dist/local/store/web/adapter.d.ts.map +1 -1
  130. package/dist/local/store/web/adapter.js +69 -51
  131. package/dist/local/store/web/adapter.js.map +1 -1
  132. package/dist/local/store/web-sqlite/adapter.js +2 -2
  133. package/dist/local/store/web-sqlite/adapter.js.map +1 -1
  134. package/dist/types/api.d.ts +50 -71
  135. package/dist/types/api.d.ts.map +1 -1
  136. package/dist/types/errors.d.ts +52 -18
  137. package/dist/types/errors.d.ts.map +1 -1
  138. package/dist/types/errors.js +58 -17
  139. package/dist/types/errors.js.map +1 -1
  140. package/docs/ASSURANCE.md +5 -5
  141. package/docs/DEVIATIONS.md +126 -9
  142. package/docs/ERROR_HANDLING.md +38 -23
  143. package/docs/GETTING_STARTED.md +17 -0
  144. package/local/store/README.md +32 -8
  145. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,334 @@
1
1
  # Changelog
2
2
 
3
+ ## 14.0.0
4
+
5
+ ### Breaking
6
+
7
+ - **`decryptGroupMessage` is removed from the client.**
8
+ `DefaultSignalProtocolClient` and the `SignalProtocolClient` interface no
9
+ longer have the method, which 12.0.0 deprecated. Use
10
+ `processIncomingEnvelope`. It returns a receive outcome and keeps the
11
+ content until `completeReceive`. Give it the framed message as a
12
+ `sender_key` envelope. The client resolves the group from the frame. See
13
+ step 20.
14
+ - **Managed group content with no group context is denied.** A client with
15
+ a `groups` config denies all such content. The reason is
16
+ `legacy-no-context`, also when the client has state of the group. An
17
+ earlier check can deny the content first, such as `blocked` for a blocked
18
+ group. Before, the client decided such content against its local group
19
+ state. Content from an SDK 11 sender is not delivered. A client with no
20
+ `groups` config refuses such content with a `GroupReceiveRefusedError` of
21
+ reason `configuration`. See step 21.
22
+ - **A send to a managed group with no stored master key throws.** When the
23
+ client has a `groups` config and its group store has no master key for
24
+ the managed group, a new send or a manual resend of content with no
25
+ logged group context throws `EncryptionError` with the new code
26
+ `GROUP_MASTER_KEY_MISSING`, and stores and posts nothing. An attachment
27
+ send also uploads nothing. A manual resend of logged content that
28
+ carries a group context keeps that context and needs no master key. A
29
+ replay that must build a sent transcript for an own device skips that
30
+ transcript, keeps its posts, and logs one warning with the code.
31
+ Before, the client posted content with no group context, which every
32
+ receiver now denies. A send to an ad hoc group does not change.
33
+ See step 21.
34
+ - **The output of `encryptGroupMessage` is denied for a managed group.**
35
+ The primitive adds no group context and checks no master key. Unless the
36
+ plaintext already carries a group context, a `processIncomingEnvelope`
37
+ receiver denies the output for a managed group. A receiver with a `groups`
38
+ config gives the reason `legacy-no-context`, or `blocked` when the group
39
+ is blocked. A receiver with no `groups` config refuses the output with a
40
+ `GroupReceiveRefusedError` of reason `configuration`. The primitive
41
+ remains for a caller that delivers the bytes itself and decrypts them
42
+ with `decryptEnvelope`. See step 21.
43
+ - **`ReceivedContent` is removed.** The type of an SDK 11 received-content
44
+ row, which 13.5.0 deprecated, is no longer exported. Use
45
+ `ReceiveWorkRecord`. See step 22.
46
+ - **`ReceiveWorkRecord.awaitingEnvelope` is removed, and the sender fields
47
+ are required.** Each `ReceiveWorkRecord` now has the required fields
48
+ `messageId`, `senderUserId` and `senderDeviceId`. See step 22.
49
+ - **The legacy received-content conversion is removed, and the SQLite open
50
+ wrapper is renamed.** `LegacyConversionMarker`,
51
+ `LegacyReceivedContentSource`, `convertLegacyReceivedContent`,
52
+ `legacyReceiveWork`, `LEGACY_RECEIVED_CONTENT_UNREADABLE`,
53
+ `receivedContentKey`, `parseReceivedContent`,
54
+ `legacyReceivedContentSource` and `KeyValueReceiveWork.legacySource` are
55
+ no longer exported. No store converts an SDK 11 received-content row.
56
+ `convertSqliteLegacyReceivedContent` is now
57
+ `sweepSqliteLegacyReceivedContent`. It keeps its contract: when the sweep
58
+ fails, it closes the database and throws the error again. See step 22.
59
+ - **Each durable store deletes the legacy received content at open.** At
60
+ each open, the IndexedDB, SQLite and key-value stores delete every SDK 11
61
+ received-content row and every converted record that waits for its
62
+ envelope. The sweep reads each row only to count the readable rows, then
63
+ deletes it. It logs one warning with the code
64
+ `LEGACY_RECEIVED_CONTENT_DELETED` and two fields: `count` holds the
65
+ deleted rows and records, and `readable` holds the deleted rows that
66
+ parse. A readable row is in a store that SDK 12.0.0 or later never opened.
67
+ The sweep relies on the Relay retention constraint. The Relay keeps an
68
+ undelivered envelope for at most its retention period, 30 days in
69
+ production. The constraint does not cover a device that received the
70
+ content on SDK 11 inside the last 30 days. For that device, 13.x would
71
+ convert the row and complete it when the Relay delivers the envelope
72
+ again. This release deletes the row at first open, and the sweep does not
73
+ restore it. An open that finds nothing logs nothing. The memory store
74
+ keeps no data across a restart and has no sweep. See step 22.
75
+ - **`SignalProtocolContentAdapter` has the required method
76
+ `serializeGroupKeySync`.** `ParsedSyncContent.type` has the new member
77
+ `'groupKeySync'`, and `ParsedSyncContent` has the new optional field
78
+ `groupKey`. A custom adapter must implement the method, and its
79
+ `inspectContent` must report the result as a sync of type `'groupKeySync'`
80
+ with its `groupKey`. An adapter that spreads the result of
81
+ `createDefaultSignalProtocolContentAdapter()` into itself gets the default
82
+ method. Code that switches on the sync `type` must handle
83
+ `'groupKeySync'`. See step 23.
84
+ - **The retry terminal class `expired-content` is now `request-expired`.**
85
+ `RetryTerminalClass` no longer holds `expired-content`. A retry request
86
+ whose latest attempt the Relay answered or holds ends as `request-expired`
87
+ when its content did not come before its deadline. The session does not
88
+ reset. A retry request whose latest attempt the Relay did not accept ends
89
+ as `posting-deadline` at its posting deadline or its deadline. The session
90
+ resets. Only a `posting-deadline` end resets the session. The class
91
+ `request-expired` is not the delivery error cause `request-ended`. At
92
+ client start, the SDK moves each stored retry request record to a new key
93
+ prefix, and rewrites a stored `expired-content` end to `request-expired`.
94
+ It keeps the time, the emitted flag and the session reset of the end, so
95
+ a moved end can carry `event.recovery` from an SDK 13.x reset. The reader
96
+ also reads a stored `expired-content` end as `request-expired`. That
97
+ reader is removed only when both conditions are true: the next major SDK
98
+ version ships, and at least 60 days have passed since the publish day of
99
+ 14.0.0. See step 24.
100
+ - **Each send timestamp is unique per sender device.** A new send reserves
101
+ its timestamp in the store before it writes its intent and before it posts
102
+ anything. A new send with a timestamp that a different send of the device
103
+ used throws `InvalidSendTimestampError` with the new reason
104
+ `already_used`, and stores and posts nothing. The SDK's own sends, the
105
+ profile key offer and the sender key distribution, reserve from the same
106
+ index of the device. So an application that passes
107
+ `timestamp: Date.now()` can get `already_used` when it did not use the
108
+ value again itself. Omit `timestamp`, or send again with no `timestamp`
109
+ on `already_used`. When a different send used the timestamp that the SDK
110
+ reads from its clock, the SDK moves to the next free millisecond. A moved
111
+ timestamp more than 5 minutes ahead of the SDK clock throws the error with
112
+ the reason `too_far_ahead`. A reservation with no stored send holds its
113
+ timestamp for 5 minutes, and a new send can then take it. A send that
114
+ spends longer than 5 minutes between its reservation and its stored
115
+ intent, and whose timestamp another send took in the meantime, fails with
116
+ `already_used` instead of posting a duplicate timestamp.
117
+ `InvalidSendTimestampError.earliest` and `latest` are now optional, and
118
+ are absent for `already_used`. `SendResult.clientTimestamp` is now
119
+ required, and every send returns it. After the SDK has stored a send, a
120
+ retry with the same `clientMessageId` keeps the original timestamp and
121
+ reserves nothing. A send that failed before the SDK stored it gets a new
122
+ timestamp on retry. A manual resend, a retry answer and a group resend
123
+ keep the original timestamp and reserve nothing. A sync to linked devices
124
+ and the null message of a session reset reserve no timestamp. See step 25.
125
+ - **A received message is keyed by its sender and timestamp only.** The
126
+ receive queue drops a copy by the key `[senderUserId, timestamp]`. A later
127
+ message of the same sender with the same timestamp drops with no notice
128
+ and runs no `onMessageDecrypted`. This applies to any body and to any
129
+ device of the sender. `ReceivedMessageKey` no longer has the fields
130
+ `contentDigest` and `senderDeviceId`. At the first start on this release,
131
+ the SDK moves the stored received-timestamp records to a new prefix. Two
132
+ old records of one sender and timestamp become one record with the
133
+ earliest receive time. A custom store that checks
134
+ `ReceiveWorkRecord.received` gets a key with the two fields `senderUserId`
135
+ and `timestamp`. A receive record that SDK 13.x stored can still carry
136
+ `senderDeviceId` and `contentDigest` in `received`, and a custom store must
137
+ accept that shape until the next major. A send to the own account posts
138
+ only a sent transcript to each other own device, and posts nothing when
139
+ the account has no other device. See step 26.
140
+ - **The stores refuse SDK 13.x after the first open of this release.** The
141
+ IndexedDB store opens its database at version 12, and the SQLite store
142
+ applies step 7. Neither changes a table. A 13.x tab then fails to open
143
+ the database with `VersionError`, and a 13.x SQLite store refuses the file
144
+ with `INVALID_STATE`. An open IndexedDB connection of this release closes
145
+ when another connection opens a newer version. When an open connection of
146
+ an older tab blocks the open, the store logs one warning with the code
147
+ `INDEXEDDB_OPEN_BLOCKED` and the field `version`, and the open completes
148
+ when that connection closes. The key-value store has no guard.
149
+ See step 27.
150
+
151
+ #### Upgrade steps
152
+
153
+ 20. Replace `decryptGroupMessage` with `processIncomingEnvelope`. A cipher
154
+ primitive that returns plaintext has a `decrypt*` name, such as
155
+ `decryptMessage`, `decryptEnvelope` and `decryptFile`. A receive
156
+ workflow that returns an outcome and keeps the content until
157
+ `completeReceive` has a `process*` name, such as
158
+ `processIncomingEnvelope`. Pass the delivered envelope with its Relay
159
+ `id`. An envelope with no `id` takes no receive lock, and a repeat call
160
+ gives the retained content again until `completeReceive`. A refusal now
161
+ gives a `denied` outcome and runs `onDecryptionError` instead of
162
+ throwing. A retryable decrypt failure sends a retry request and throws.
163
+ Receives that 13.x `decryptGroupMessage` left pending complete through
164
+ `completeReceive` once `listPendingReceives` lists them at
165
+ `awaiting-completion`. A `completeReceive` call before that stage
166
+ deletes nothing. A repeated `processIncomingEnvelope` call with the
167
+ same frame does not find them. It fails with `DECRYPTION_FAILED` and
168
+ sends a retry request. So stop any 13.x re-call loop and use
169
+ `listPendingReceives`.
170
+ 21. Expect a denial for all managed group content with no group context. A
171
+ client with a `groups` config gives the reason `legacy-no-context`. An
172
+ earlier check can deny the content first, such as `blocked` for a
173
+ blocked group. A client with no `groups` config refuses such content
174
+ with a `GroupReceiveRefusedError` of reason `configuration`. Before, the
175
+ client decided such content against local group state. Every sender must
176
+ run SDK 12.0.0 or later. A client with a `groups` config whose group
177
+ store has no master key for a managed group now refuses a new send to
178
+ that group, and a manual resend of content with no logged group
179
+ context. It throws `EncryptionError` with the
180
+ code `GROUP_MASTER_KEY_MISSING`, and stores and posts nothing. An
181
+ attachment send also uploads nothing. Store the group master key through
182
+ the link or sync path, then send again. A manual resend of logged content
183
+ that carries a group context keeps that context. A replay that must build
184
+ a sent transcript for an own device skips that transcript, keeps its
185
+ posts, and logs one warning with the code. The output of
186
+ `encryptGroupMessage` carries no group context unless its plaintext holds
187
+ one. A `processIncomingEnvelope` receiver with a `groups` config denies it
188
+ for a managed group as `legacy-no-context`, or as `blocked` when the group
189
+ is blocked. A receiver with no `groups` config refuses it with a
190
+ `GroupReceiveRefusedError` of reason `configuration`. Send managed group
191
+ content with `send`. A caller that delivers the bytes of
192
+ `encryptGroupMessage` itself decrypts them with `decryptEnvelope`.
193
+ 22. Expect each durable store to delete every SDK 11 received-content row
194
+ at the first open on this release. It also deletes every converted
195
+ record that waits for an envelope, and it logs the count once with the
196
+ code `LEGACY_RECEIVED_CONTENT_DELETED`. It also deletes each readable
197
+ SDK 11 row in a store that SDK 12.0.0 or later never opened, and the
198
+ count line carries that number in the separate field `readable`. The
199
+ sweep relies on the Relay retention constraint. The Relay keeps an
200
+ undelivered envelope for at most its retention period, 30 days in
201
+ production. Where the constraint holds, no SDK version shows the content
202
+ of such a row. The constraint does not cover a device that received the
203
+ content on SDK 11 inside the last 30 days. For that device, 13.x would
204
+ convert the row and complete it when the Relay delivers the envelope
205
+ again. This release deletes the row at first open, and the sweep does not
206
+ restore it. Remove all use of `ReceivedContent`,
207
+ `ReceiveWorkRecord.awaitingEnvelope`, `receivedContentKey` and
208
+ `parseReceivedContent`. A custom store must now set `messageId`,
209
+ `senderUserId` and `senderDeviceId` on each `ReceiveWorkRecord`.
210
+ 23. Upgrade every own device of one account in one release. An own device
211
+ on an older SDK version gives the raw group key sync to
212
+ `onMessageDecrypted`. That sync holds the group master key. A custom
213
+ content adapter must implement `serializeGroupKeySync`, or spread the
214
+ result of `createDefaultSignalProtocolContentAdapter()` into itself.
215
+ Handle `'groupKeySync'` when you switch on `ParsedSyncContent.type`. A
216
+ custom local store must keep each metadata value across a close and a
217
+ reopen. The first start on this release sends one `GroupKeySync` for
218
+ each managed group with a verified record and with stored state that
219
+ lists the account as a member, to each other own device.
220
+ 24. Replace `case 'expired-content':` with `case 'request-expired':` in
221
+ `onRetryTerminal`. A retry request whose latest attempt the Relay
222
+ answered or holds ends as `request-expired` at its deadline and resets no
223
+ session. A retry request whose latest attempt the Relay did not accept
224
+ ends as `posting-deadline` at its posting deadline or its deadline. It
225
+ resets the session. Only `posting-deadline` resets. A record that the
226
+ migration moved can carry `event.recovery` with `request-expired` during
227
+ the reader window. Do not confuse `request-expired` with the delivery
228
+ error cause `request-ended`. The reader window lasts until the next major
229
+ SDK version ships, and for at least 60 days after the publish day of
230
+ 14.0.0. In that window, the SDK reads a stored `expired-content` end as
231
+ `request-expired`.
232
+ 25. Expect a unique send timestamp per device. A new send with a timestamp
233
+ that a different send of the device used throws
234
+ `InvalidSendTimestampError` with the reason `already_used`. The field
235
+ `SendResult.clientTimestamp` is now required. Read the timestamp there
236
+ when the SDK picks it. A retry with the same `clientMessageId`, a manual
237
+ resend and a retry answer keep the original timestamp. The fields
238
+ `InvalidSendTimestampError.earliest` and `latest` are absent for
239
+ `already_used`.
240
+ 26. Expect the SDK to drop a later message of the same sender with the same
241
+ timestamp. This applies to any device of the sender. The rule also
242
+ covers sent transcripts from two own devices in two conversations. A
243
+ custom store that checks `ReceiveWorkRecord.received` gets a key with
244
+ `senderUserId` and `timestamp` only. A note to self arrives at each
245
+ other own device as a sent transcript only.
246
+ 27. Do not go back to SDK 13.x after the first open on this release. A 13.x
247
+ reader throws on a record of this release and does not degrade. A 13.x
248
+ web tab fails to open with `VersionError`. A 14.x open waits for each
249
+ open 13.x tab to close. A 13.x SQLite store refuses the file with
250
+ `INVALID_STATE`. The key-value store has no guard, so stop each 13.x
251
+ process on it before the first 14.x open.
252
+
253
+ ### Added
254
+
255
+ - **Own devices get the key of each managed group.** When a client creates a
256
+ managed group, joins one through an invite link, or accepts a member
257
+ invitation, it sends one `GroupKeySync` with the group master key and the
258
+ revision to each other own device. When the client sees an own device for
259
+ the first time, it sends the key of each group to that device only. Each
260
+ start sends the key of each group to each own device that the key sync
261
+ ledger does not mark for the group. So the first start on this release
262
+ sends one `GroupKeySync` for each group and own device, and a start after
263
+ a complete run sends none. The ledger marks the own devices whose copy
264
+ the Relay accepted and the own device that sent this device the key, so
265
+ a refused or failed send is sent again at the next start. A group sends
266
+ no key while its record is unverified, while it has no stored state, or
267
+ while its stored state does not list the account as a member. The
268
+ receiver accepts a `GroupKeySync` only from its own account. For a group
269
+ with no record, it writes the group record with the source `'sync'`
270
+ before the master key, and schedules a fetch of the group. So an own
271
+ device knows the group with no group traffic. A record that exists keeps
272
+ its source. A `GroupKeySync` from an own device clears the unverified
273
+ origin that a group context set, so the group leaves the per-sender
274
+ `unverified-cap`. A record that already has its master key gets no new
275
+ fetch, and a repeated `GroupKeySync` applies once.
276
+ `processIncomingEnvelope`, the Relay subscription and the receive queue
277
+ consume the content, so the application never gets it from them, and
278
+ `processIncomingEnvelope` gives the outcome `null-message`.
279
+ `decryptEnvelope` and the raw decrypt methods `receive`, `decryptMessage`
280
+ and `decryptMessages` return the sync unapplied, master key included. The
281
+ ledger is one metadata value for each group, under the key prefix
282
+ `open-e2ee:group-key-sync:v1:`. The client deletes the value when it
283
+ removes the group record. See step 23.
284
+
285
+ ### Fixed
286
+
287
+ - **A dying page no longer leaves a rotated pin with sessions.** The
288
+ IndexedDB store now writes the new pin last. If a page stops inside an
289
+ identity rotation transaction, a browser can commit only part of it. The
290
+ store then keeps the old pin. Before, the store could keep the new pin
291
+ together with sessions of the old identity. An encrypt on such a session
292
+ then failed the identity trust check, and the send reported
293
+ `EncryptionError` with code `ENCRYPTION_FAILED` for that device.
294
+ - **A dying page no longer leaves a session with unused prekeys.** The
295
+ IndexedDB store now deletes the one-time prekeys, records the Kyber
296
+ prekey use, and deletes the sender-key handoff rows of the device first.
297
+ It writes the pin, then the receive record, and then the session. If a page
298
+ stops inside a session commit, a browser can commit only part of it.
299
+ Before, the store could keep the receive record of a PreKey message
300
+ without its session while the one-time prekeys of that message stayed.
301
+ It could also keep the session while the one-time prekeys stayed or the
302
+ Kyber prekey use was not recorded. It could also keep the session with
303
+ handoff rows of the device, so a group send could skip the sender key
304
+ for that device. Now a commit that stops before the receive record keeps
305
+ no session. If it already deleted a one-time prekey of the message, a
306
+ redelivery of that PreKey message fails with `EncryptionError` with
307
+ code `PREKEY_NOT_FOUND`, and the client sends a retry request to the
308
+ sender. If it recorded only the Kyber prekey use, the next entry
309
+ applies. A commit that stops between the receive
310
+ record and the session keeps the content, and the client gives it to
311
+ the application.
312
+ - **A PreKey message whose Kyber prekey use the store recorded without its
313
+ session now gets a resend.** A session commit that stops after the Kyber
314
+ prekey use and before the session leaves that state. No released write
315
+ order could leave it, and the order above can. Without this change,
316
+ each redelivery of that PreKey message fails at the session commit
317
+ with `ReusedBaseKeyError`, the client does not acknowledge the envelope
318
+ and sends no retry request, and the message never arrives. Now, when no
319
+ session of the sender device holds the base key of the message, the
320
+ failure is a retryable decryption error. The client sends a retry
321
+ request to the sender and acknowledges the envelope. The sender makes a
322
+ new session from a fresh prekey bundle, with a new base key, and resends.
323
+ `processIncomingEnvelope` sends the request and throws `EncryptionError`
324
+ with code `DECRYPTION_FAILED`.
325
+
326
+ ## 13.5.2
327
+
328
+ ### Fixed
329
+
330
+ - Point the npm provenance badge at its section on npmjs.com.
331
+
3
332
  ## 13.5.1
4
333
 
5
334
  ### Fixed
package/README.md CHANGED
@@ -13,7 +13,7 @@ The default policy requires post-quantum session establishment and ratcheting. T
13
13
 
14
14
  [![License: MIT OR Apache-2.0](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-2f6f5e)](./LICENSE)
15
15
  [![npm version](https://img.shields.io/npm/v/@open-e2ee/signal-protocol-sdk)](https://www.npmjs.com/package/@open-e2ee/signal-protocol-sdk)
16
- [![npm provenance](https://img.shields.io/badge/npm-provenance-2f6f5e)](https://www.npmjs.com/package/@open-e2ee/signal-protocol-sdk#provenance)
16
+ [![npm provenance](https://img.shields.io/badge/npm-provenance-2f6f5e)](https://www.npmjs.com/package/@open-e2ee/signal-protocol-sdk#user-content-provenance)
17
17
  [![Checks](https://github.com/open-e2ee/signal-protocol-js/actions/workflows/ci.yml/badge.svg)](https://github.com/open-e2ee/signal-protocol-js/actions/workflows/ci.yml)
18
18
 
19
19
  [Documentation](https://docs.open-e2ee.dev) · [API reference](https://docs.open-e2ee.dev/reference/api) · [OpenE2EE Signal Protocol Relay](https://open-e2ee.dev/relay/) · [Security](./SECURITY.md)
@@ -35,7 +35,7 @@ The relay never needs message plaintext or device private keys.
35
35
 
36
36
  The OpenE2EE Signal Protocol SDK implements a versioned profile of the published Signal Protocol specifications. It is not affiliated with Signal Messenger and is **not wire-compatible with Signal Messenger or libsignal**. Messages, identities, and safety numbers do not interoperate. See the [notice](./NOTICE) and [documented deviations](./docs/DEVIATIONS.md).
37
37
 
38
- Version `13.5.x`. Public APIs and persisted formats follow semantic versioning.
38
+ Version `14.0.x`. Public APIs and persisted formats follow semantic versioning.
39
39
 
40
40
  ## Install
41
41
 
package/SECURITY.md CHANGED
@@ -7,8 +7,8 @@ backports.
7
7
 
8
8
  | Version | Supported |
9
9
  | -------- | ------------------ |
10
- | 13.5.x | :white_check_mark: |
11
- | < 13.5.0 | :x: |
10
+ | 14.0.x | :white_check_mark: |
11
+ | < 14.0.0 | :x: |
12
12
 
13
13
  ## Reporting a Vulnerability
14
14
 
package/device/README.md CHANGED
@@ -130,9 +130,10 @@ device's key. Existing custom-adapter refusal and rollback rules still apply.
130
130
 
131
131
  The link copies the master key of each group that the active device's group
132
132
  store lists into the new device's group store. The copy runs in the calling
133
- process, so no master key crosses the Relay. A client with `groups` on the new
134
- device then fetches each copied group. The application calls no group method
135
- for this. The link copies no protocol state, so sessions start fresh.
133
+ process, so the link sends no master key through the Relay. A client with
134
+ `groups` on the new device then fetches each copied group. The application calls
135
+ no group method for this. The link copies no protocol state, so sessions start
136
+ fresh.
136
137
 
137
138
  A group record that a release before 12.0.0 wrote, and that the active device
138
139
  has not read since, is not listed and is not copied. Read each group once on
@@ -106,6 +106,7 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
106
106
  private groupReceiveEvaluator?;
107
107
  /** The single fetcher that brings each group up to its claimed revision. */
108
108
  private groupFetcher?;
109
+ private groupKeySync?;
109
110
  /** The current membership that a retry resend of group content needs. */
110
111
  private readonly groupMembership;
111
112
  /** The processor of the stored receive records. */
@@ -309,7 +310,7 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
309
310
  private waitForStopReceiptSends;
310
311
  /**
311
312
  * The session reset steps of a retry request that ended as
312
- * `expired-content` or `posting-deadline`. Their session hooks run through
313
+ * `posting-deadline`. Their session hooks run through
313
314
  * the given context, and its stop signal stops their lock waits and relay
314
315
  * requests. There are none without a relay.
315
316
  */
@@ -630,10 +631,11 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
630
631
  * - `duplicate`: this client processed the envelope, or the application
631
632
  * already has the content of the failed envelope of a retry request.
632
633
  * The client acknowledged the envelope.
633
- * - `null-message`: the envelope carries no content. The client consumed
634
- * it and acknowledged it. A null message for a failed envelope marks
635
- * that envelope processed, but a content resend for it that comes later
636
- * still gives its content.
634
+ * - `null-message`: the envelope carries no content for the application.
635
+ * It is a null message, or a `GroupKeySync` from an own device that the
636
+ * client consumed. The client acknowledged it. A null message for a
637
+ * failed envelope marks that envelope processed, but a content resend
638
+ * for it that comes later still gives its content.
637
639
  * - `denied`: the client refused the content. The ratchet step is spent,
638
640
  * and the client acknowledged the envelope. Content from another
639
641
  * account that carries a sync message is denied in any envelope.
@@ -751,9 +753,6 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
751
753
  * Receive one envelope that the application passed. The queue skips its
752
754
  * record while the receive runs, and runs a pass after it.
753
755
  *
754
- * @param direct - The group and the receive record ID of a framed group
755
- * message that `decryptGroupMessage` passed. A decrypt failure then
756
- * throws with no retry request and no report.
757
756
  * @returns The outcome, and the error behind a `pending` or `denied`
758
757
  * outcome
759
758
  */
@@ -771,12 +770,6 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
771
770
  private openForCaller;
772
771
  /** The receive commit of an envelope that the application passed. */
773
772
  private callerReceiveCommit;
774
- /**
775
- * Fill the sender fields of a converted legacy record from the envelope
776
- * that the application passed. The record keeps its age and its arrival
777
- * order, and becomes a helper record.
778
- */
779
- private fillAwaitingRecord;
780
773
  /**
781
774
  * Decrypt one opened envelope under the receive admission, and commit its
782
775
  * receive record with the ratchet step.
@@ -787,7 +780,9 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
787
780
  * the outcome is `denied`. A retryable failure (per SESAME spec §4.1)
788
781
  * sends a retry request, which acknowledges the envelope, and throws. A
789
782
  * failure after the decrypt built the record is a store failure: it
790
- * throws with no request, and the ratchet step rolled back.
783
+ * throws with no request, and the ratchet step rolled back. A refused
784
+ * Kyber prekey use with no session for its base key is retryable, as
785
+ * `isPartialCommitKyberPreKeyUse` tells.
791
786
  *
792
787
  * @returns The committed record, or the outcome when nothing committed
793
788
  */
@@ -1385,6 +1380,16 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
1385
1380
  * use this to encrypt messages. All group members can decrypt
1386
1381
  * the same ciphertext, making it efficient for large groups.
1387
1382
  *
1383
+ * This primitive adds no group context and checks no group master key.
1384
+ * Unless the plaintext carries a group context, a
1385
+ * `processIncomingEnvelope` receiver denies the output for a managed
1386
+ * group. A receiver with a `groups` config gives the reason
1387
+ * `legacy-no-context`, or `blocked` when the group is blocked. A receiver
1388
+ * with no `groups` config refuses the output with a
1389
+ * `GroupReceiveRefusedError` of reason `configuration`. Send managed group
1390
+ * content with `send`. A caller that delivers the bytes itself decrypts
1391
+ * them with `decryptEnvelope`, as a `sender_key` envelope.
1392
+ *
1388
1393
  * @param groupId - Group identifier
1389
1394
  * @param plaintext - Message to encrypt
1390
1395
  * @returns Framed SenderKeyMessage bytes
@@ -1401,46 +1406,6 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
1401
1406
  * ```
1402
1407
  */
1403
1408
  encryptGroupMessage(groupId: string, plaintext: string): Promise<Uint8Array>;
1404
- /**
1405
- * Decrypt a group message from a sender
1406
- *
1407
- * Use this to decrypt messages from other group members.
1408
- * You must process the sender's distribution message first.
1409
- *
1410
- * The message passes the group decision of `processIncomingEnvelope`.
1411
- * Content whose group state must update first stays stored, and a later
1412
- * call with the same message decides it with no second decrypt.
1413
- *
1414
- * @deprecated Use `processIncomingEnvelope`, which returns a receive
1415
- * outcome and keeps the content until the application completes the
1416
- * receive. This method completes the receive before it returns, so a
1417
- * plaintext that the application loses is gone.
1418
- *
1419
- * @param groupId - Group identifier
1420
- * @param senderId - Sender's user ID
1421
- * @param senderDeviceId - Sender's device ID
1422
- * @param framedMessage - Framed SenderKeyMessage bytes
1423
- * @returns Decrypted plaintext
1424
- * @throws GroupReceiveUnavailableError when the group state of the content
1425
- * is not current. Its `messageId` names the stored receive. Call again
1426
- * later with the same message.
1427
- * @throws GroupReceiveRefusedError when the client refuses the content
1428
- * @throws EncryptionError MESSAGE_DUPLICATE for a message that this client
1429
- * processed, or that carries no content, and STORAGE_QUOTA_EXCEEDED when
1430
- * the receive queue has no room
1431
- *
1432
- * @example
1433
- * ```typescript
1434
- * const plaintext = await signal.decryptGroupMessage(
1435
- * 'group-123',
1436
- * senderId,
1437
- * senderDeviceId,
1438
- * encryptedMessage
1439
- * );
1440
- * console.log('Message:', plaintext);
1441
- * ```
1442
- */
1443
- decryptGroupMessage(groupId: string, senderId: string, senderDeviceId: number, framedMessage: Uint8Array): Promise<string>;
1444
1409
  /**
1445
1410
  * Rotate sender key for a group (forward secrecy on membership changes).
1446
1411
  *
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../client/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAQH,OAAO,KAAK,EAGV,oBAAoB,EACpB,WAAW,EACZ,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEjF,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EACb,oBAAoB,EAIrB,MAAM,UAAU,CAAC;AAoBlB,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAChC,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAiB,aAAa,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC1F,OAAO,EAA+B,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,kCAAkC,CAAC;AAC1C,OA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