@sideband/secure-relay 0.0.1
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/LICENSE +190 -0
- package/README.md +86 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/constants.d.ts +33 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +35 -0
- package/dist/constants.js.map +1 -0
- package/dist/crypto.d.ts +70 -0
- package/dist/crypto.d.ts.map +1 -0
- package/dist/crypto.js +145 -0
- package/dist/crypto.js.map +1 -0
- package/dist/handshake.d.ts +42 -0
- package/dist/handshake.d.ts.map +1 -0
- package/dist/handshake.js +83 -0
- package/dist/handshake.js.map +1 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/replay.d.ts +32 -0
- package/dist/replay.d.ts.map +1 -0
- package/dist/replay.js +89 -0
- package/dist/replay.js.map +1 -0
- package/dist/session.d.ts +67 -0
- package/dist/session.d.ts.map +1 -0
- package/dist/session.js +123 -0
- package/dist/session.js.map +1 -0
- package/dist/types.d.ts +79 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +39 -0
- package/dist/types.js.map +1 -0
- package/package.json +63 -0
- package/src/constants.ts +49 -0
- package/src/crypto.ts +234 -0
- package/src/handshake.ts +169 -0
- package/src/index.ts +132 -0
- package/src/replay.ts +115 -0
- package/src/session.ts +196 -0
- package/src/types.ts +104 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
Copyright 2025-present Sideband <https://sideband.tech>
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
+
you may not use this file except in compliance with the License.
|
|
182
|
+
You may obtain a copy of the License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software
|
|
187
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
+
See the License for the specific language governing permissions and
|
|
190
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# @sideband/secure-relay
|
|
2
|
+
|
|
3
|
+
End-to-end encrypted communication between browsers and daemons via untrusted relay servers.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Ed25519 signatures** — MITM protection via daemon identity verification
|
|
8
|
+
- **X25519 key exchange** — Forward secrecy with ephemeral keys
|
|
9
|
+
- **ChaCha20-Poly1305** — Authenticated encryption for all messages
|
|
10
|
+
- **TOFU identity pinning** — Trust-on-first-use with key change detection
|
|
11
|
+
- **Replay protection** — Bitmap-based sequence window
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
bun add @sideband/secure-relay
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import {
|
|
23
|
+
generateIdentityKeyPair,
|
|
24
|
+
createHandshakeInit,
|
|
25
|
+
processHandshakeInit,
|
|
26
|
+
processHandshakeAccept,
|
|
27
|
+
createClientSession,
|
|
28
|
+
createDaemonSession,
|
|
29
|
+
encryptClientToDaemon,
|
|
30
|
+
decryptClientToDaemon,
|
|
31
|
+
encryptDaemonToClient,
|
|
32
|
+
decryptDaemonToClient,
|
|
33
|
+
asDaemonId,
|
|
34
|
+
asClientId,
|
|
35
|
+
} from "@sideband/secure-relay";
|
|
36
|
+
|
|
37
|
+
// Daemon: generate identity keypair (persist this!)
|
|
38
|
+
const identity = generateIdentityKeyPair();
|
|
39
|
+
const daemonId = asDaemonId("my-daemon");
|
|
40
|
+
|
|
41
|
+
// Client: initiate handshake
|
|
42
|
+
const { message: init, ephemeralKeyPair } = createHandshakeInit();
|
|
43
|
+
|
|
44
|
+
// Daemon: process init, create accept
|
|
45
|
+
const { message: accept, result } = processHandshakeInit(
|
|
46
|
+
init,
|
|
47
|
+
daemonId,
|
|
48
|
+
identity,
|
|
49
|
+
);
|
|
50
|
+
const clientSession = createClientSession(
|
|
51
|
+
asClientId("client-123"),
|
|
52
|
+
result.sessionKeys,
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
// Client: verify signature against TOFU-pinned key, derive session
|
|
56
|
+
const { sessionKeys } = processHandshakeAccept(
|
|
57
|
+
accept,
|
|
58
|
+
daemonId,
|
|
59
|
+
pinnedIdentityKey, // from local storage
|
|
60
|
+
ephemeralKeyPair,
|
|
61
|
+
);
|
|
62
|
+
const daemonSession = createDaemonSession(sessionKeys);
|
|
63
|
+
|
|
64
|
+
// Encrypt/decrypt messages
|
|
65
|
+
const encrypted = encryptClientToDaemon(daemonSession, plaintext);
|
|
66
|
+
const decrypted = decryptClientToDaemon(clientSession, encrypted);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Error Handling
|
|
70
|
+
|
|
71
|
+
All errors throw `SbrpError` with a specific `code`:
|
|
72
|
+
|
|
73
|
+
| Code | Meaning |
|
|
74
|
+
| ---------------------- | ----------------------------------------- |
|
|
75
|
+
| `identity_key_changed` | Pinned key doesn't match (potential MITM) |
|
|
76
|
+
| `handshake_failed` | Signature verification failed |
|
|
77
|
+
| `decrypt_failed` | Message authentication failed |
|
|
78
|
+
| `sequence_error` | Replay detected or sequence out of window |
|
|
79
|
+
|
|
80
|
+
## Specification
|
|
81
|
+
|
|
82
|
+
See [Secure Relay Protocol](https://sideband.tech/specs/secure-relay-protocol) for the full protocol specification.
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
Apache-2.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/constants.ts","../../../node_modules/.bun/@noble+ciphers@1.3.0/node_modules/@noble/ciphers/esm/utils.d.ts","../../../node_modules/.bun/@noble+ciphers@1.3.0/node_modules/@noble/ciphers/esm/chacha.d.ts","../../../node_modules/.bun/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/modular.d.ts","../../../node_modules/.bun/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/curve.d.ts","../../../node_modules/.bun/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/utils.d.ts","../../../node_modules/.bun/@noble+curves@1.9.7/node_modules/@noble/curves/esm/utils.d.ts","../../../node_modules/.bun/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/edwards.d.ts","../../../node_modules/.bun/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts","../../../node_modules/.bun/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/montgomery.d.ts","../../../node_modules/.bun/@noble+curves@1.9.7/node_modules/@noble/curves/esm/ed25519.d.ts","../../../node_modules/.bun/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/hkdf.d.ts","../../../node_modules/.bun/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_md.d.ts","../../../node_modules/.bun/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.d.ts","../../../node_modules/.bun/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.d.ts","../src/types.ts","../src/crypto.ts","../src/handshake.ts","../src/replay.ts","../src/session.ts","../src/index.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/utility.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/header.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/globals.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/web-globals/crypto.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/assert.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/buffer.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/child_process.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/cluster.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/console.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/constants.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/crypto.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/dgram.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/dns.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/domain.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/events.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/fs.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/http.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/http2.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/https.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/inspector.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/module.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/net.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/os.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/path.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/process.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/punycode.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/querystring.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/readline.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/repl.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/sea.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/stream.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/test.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/timers.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/tls.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/tty.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/url.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/util.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/v8.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/vm.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/wasi.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/zlib.d.ts","../../../node_modules/.bun/@types+node@24.10.1/node_modules/@types/node/index.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/client-stats.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/client.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/h2c-client.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/snapshot-agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/api.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/util.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/index.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/globals.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/s3.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/fetch.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/bun.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/extensions.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/devserver.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/ffi.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/html-rewriter.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/jsc.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/sqlite.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/vendor/expect-type/utils.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/vendor/expect-type/overloads.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/vendor/expect-type/branding.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/vendor/expect-type/messages.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/vendor/expect-type/index.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/test.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/wasm.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/overrides.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/deprecated.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/redis.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/shell.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/serve.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/sql.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/security.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/bun.ns.d.ts","../../../node_modules/.bun/bun-types@1.3.3/node_modules/bun-types/index.d.ts","../../../node_modules/.bun/@types+bun@1.3.3/node_modules/@types/bun/index.d.ts"],"fileIdsList":[[82,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[84,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[84,85,87,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[85,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[84,85,87,88,89,90,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[86,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[86,93,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[94,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232,234],[107,117,118,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,119,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,125,137,138,155,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,121,126,131,137,138,140,152,163,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,121,122,131,137,138,140,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,123,137,138,164,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,124,125,132,137,138,141,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,125,137,138,152,160,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,126,128,131,137,138,140,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,119,120,127,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,128,129,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,130,131,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,119,120,131,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,131,132,133,137,138,152,163,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,131,132,133,137,138,147,152,155,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,128,131,134,137,138,140,152,163,208,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,131,132,134,135,137,138,140,152,160,163,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,134,136,137,138,152,160,163,209,210,211,212,214,225,226,227,228,229,230,231,232],[105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,131,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,139,163,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,128,131,137,138,140,152,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,141,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,142,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,119,120,137,138,143,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,145,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,146,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,131,137,138,147,148,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,147,149,164,166,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,132,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,131,137,138,152,153,155,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,154,155,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,152,153,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,155,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,156,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,117,120,137,138,152,157,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,131,137,138,158,159,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,158,159,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,125,137,138,140,152,160,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,161,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,140,162,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,134,137,138,146,163,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,125,137,138,164,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,152,165,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,139,166,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,167,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,125,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,208,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,168,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,131,133,137,138,143,152,155,163,165,166,168,208,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,152,169,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,125,132,134,137,138,160,164,168,208,209,210,211,214,215,225,226,227,228,229,230,231,232],[107,120,137,138,209,210,211,212,214,225,226,228,229,230,231,232],[107,120,137,138,209,210,211,212,225,226,227,228,229,230,231,232],[107,120,137,138,208,209,210,212,214,225,226,227,228,229,230,231,232],[107,120,125,137,138,143,152,155,160,164,168,208,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,170,209,210,211,212,213,214,215,216,217,218,224,225,226,227,228,229,230,231,232,233],[107,120,125,132,133,137,138,141,155,160,163,169,209,210,211,212,214,225,227,228,229,230,231,232],[107,120,137,138,209,210,211,212,214,225,226,227,229,230,231,232],[107,120,132,137,138,209,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231],[107,120,137,138,209,210,211,212,214,225,226,227,228,229,231,232],[107,120,137,138,209,210,211,212,214,225,226,227,228,230,231,232],[107,120,137,138,209,210,211,212,214,218,225,226,227,228,229,230,232],[107,120,137,138,209,210,211,212,214,223,225,226,227,228,229,230,231,232],[107,120,137,138,209,210,211,212,214,219,220,225,226,227,228,229,230,231,232],[107,120,137,138,209,210,211,212,214,219,220,221,222,225,226,227,228,229,230,231,232],[107,120,137,138,209,210,211,212,214,219,221,225,226,227,228,229,230,231,232],[107,120,137,138,209,210,211,212,214,219,225,226,227,228,229,230,231,232],[107,120,137,138,209,210,211,212,214,226,227,228,229,230,231,232],[107,120,137,138,163,174,177,180,181,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,152,163,177,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,163,177,181,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,152,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,171,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,175,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,163,173,174,177,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,140,160,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,170,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,170,171,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,140,163,173,177,209,210,211,212,214,225,226,227,228,229,230,231,232],[102,103,104,107,120,131,137,138,152,163,172,176,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,177,185,193,209,210,211,212,214,225,226,227,228,229,230,231,232],[103,107,120,137,138,175,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,177,202,203,209,210,211,212,214,225,226,227,228,229,230,231,232],[103,107,120,137,138,155,163,170,172,177,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,177,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,163,173,177,209,210,211,212,214,225,226,227,228,229,230,231,232],[102,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,171,172,173,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,203,204,205,206,207,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,128,137,138,177,195,198,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,177,185,186,187,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,175,177,186,188,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,176,209,210,211,212,214,225,226,227,228,229,230,231,232],[103,107,120,137,138,171,177,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,177,181,186,188,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,181,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,163,175,177,180,209,210,211,212,214,225,226,227,228,229,230,231,232],[103,107,120,137,138,173,177,185,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,177,195,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,188,209,210,211,212,214,225,226,227,228,229,230,231,232],[107,120,137,138,155,168,170,171,177,202,209,210,211,212,214,225,226,227,228,229,230,231,232],[81,83,86,91,92,95,96,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[96,97,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[81,96,97,98,99,100,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[81,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232],[96,97,99,107,120,137,138,209,210,211,212,214,225,226,227,228,229,230,231,232]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"480a5f224f1608e33cae35bbf46e49cc6557de628adc0fea92a62f9121bb468d","signature":"3f3b00dc82446b5599bac02691e89e0eb8cb395d61ea865cbc8794e6559d7633"},{"version":"d0bc6215139a7953105ca72f282cac725495494ee3f287ad668dcff2b5f4dd86","impliedFormat":99},{"version":"57765bf96d5d5010756485e0c264526a8204dee375ff90d6fa0ab57c646c72f0","impliedFormat":99},{"version":"5d82e1ce7f42896df4695ef76ef13e1dce77507450134dbec4178e486929566e","impliedFormat":99},{"version":"0488374d4c4109d628436e850b24615bb321e737f642c81fde5f832e16461148","impliedFormat":99},{"version":"b0bf8f866d3c05dce6c2778455252391bbc3fa0e8c1675e78dcee8fab2e1dd96","impliedFormat":99},{"version":"cdb9aa7409622f2b54fbaa4c05badf6c18a4d6efa79883928f0c312d81844e0a","impliedFormat":99},{"version":"e34b70307fd58492cf0b4806f690791b097d86bb90711f214b6d260fe4f29f23","impliedFormat":99},{"version":"48f7bf3b39f234811d4b60817abf3fb4c056e6dd65a0293646afdec16bdc5df1","impliedFormat":99},{"version":"b4b94a87756c19b9e3fdeaec2821f5e93318ab4f3724661952de20a18807c33f","impliedFormat":99},{"version":"95780bc77dc4e04192117142b9c1a3855df2e16fd55e86395b8292a8fb1ed83f","impliedFormat":99},{"version":"7be160a80a553c7a5a8c2130af12381382ade81fd4a6b48778ca93db0a74ad2c","impliedFormat":99},{"version":"675058f412cecd4e2c028e1a74aa34d5510ab03ed78dae712437890bb0aba6ba","impliedFormat":99},{"version":"cf6dc97686cc424e560bc9938f79964cccecd270ad144ac0ba85f2d8caa1115d","impliedFormat":99},{"version":"906ffd3898da72d32978e9fad75567c66ce5346ed249e0ebf1acfbb424d4c3f6","impliedFormat":99},{"version":"c18fb7becbdafd05dde42a7e6a88f1bf57cbf2b914bfa3102cd35fe2214ff9ef","signature":"3175ceae9af1b7e6638d20b5f982b57a237ce1adb84570465ab25eab69640ea8"},"a625cfdf05cfa29c54434b45849d090130415299472fdc6c8e8fac058a06c7fe","3e2494a20652360d848cc387bdf991097c12b604a87a422796e91060fadc5819",{"version":"7bd9f65b0df476fb182a8afd217004dbbc7c01906a0260a7037e894504753bd8","signature":"8c916ca89b50d25502b94f421a8680625b411552328d109e61dc7e1992d31c08"},{"version":"caab0332b9f271f937f382f1c31a88090db37288d476cf0fbbc5ec77d4cc57c4","signature":"619b3bdd9cf2b8d64c95a9aadb73acaae4f6559967ad006c37f8cd375898688e"},{"version":"3be51e484df00001695fce340a5ef013596e02676eeecdbcbdcdfab6e057ec0b","signature":"3886483d7062c52ec324385fefad40564aef527dcce3147f1ab95349c24969d4"},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"378281aa35786c27d5811af7e6bcaa492eebd0c7013d48137c35bbc69a2b9751","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"1b2dd1cbeb0cc6ae20795958ba5950395ebb2849b7c8326853dd15530c77ab0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"387a023d363f755eb63450a66c28b14cdd7bc30a104565e2dbf0a8988bb4a56c","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"830171b27c5fdf9bcbe4cf7d428fcf3ae2c67780fb7fbdccdf70d1623d938bc4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ea15fd99b2e34cb25fe8346c955000bb70c8b423ae4377a972ef46bfb37f595","impliedFormat":1},{"version":"7cf69dd5502c41644c9e5106210b5da7144800670cbe861f66726fa209e231c4","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"f9b4137a0d285bd77dba2e6e895530112264310ae47e07bf311feae428fb8b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b21e13ed07d0df176ae31d6b7f01f7b17d66dbeb489c0d31d00de2ca14883da","impliedFormat":1},{"version":"51aecd2df90a3cffea1eb4696b33b2d78594ea2aa2138e6b9471ec4841c6c2ee","impliedFormat":1},{"version":"9d8f9e63e29a3396285620908e7f14d874d066caea747dc4b2c378f0599166b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"f929f0b6b3421a2d34344b0f421f45aeb2c84ad365ebf29d04312023b3accc58","impliedFormat":1},{"version":"db9ada976f9e52e13f7ae8b9a320f4b67b87685938c5879187d8864b2fbe97f3","impliedFormat":1},{"version":"9f39e70a354d0fba29ac3cdf6eca00b7f9e96f64b2b2780c432e8ea27f133743","impliedFormat":1},{"version":"0dace96cc0f7bc6d0ee2044921bdf19fe42d16284dbcc8ae200800d1c9579335","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"c64e1888baaa3253ca4405b455e4bf44f76357868a1bd0a52998ade9a092ad78","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8cf132379078d0974a59df26069689a2d33c7dc826b5be56231841cb2f32e58","impliedFormat":1},{"version":"fbf413fc617837453c878a9174a1f1b383616857a3f8366bc41cf30df4aea7d5","impliedFormat":1},{"version":"148c73ec11318850f571172ceae3e55ce479d850fe18ec8eae0abd99d9f6c319","impliedFormat":1},{"version":"230bdc111d7578276e4a3bb9d075d85c78c6b68f428c3a9935e2eaa10f4ae1f5","impliedFormat":1},{"version":"e8aabbee5e7b9101b03bb4222607d57f38859b8115a8050a4eb91b4ee43a3a73","impliedFormat":1},{"version":"bbf42f98a5819f4f06e18c8b669a994afe9a17fe520ae3454a195e6eabf7700d","impliedFormat":1},{"version":"c0bb1b65757c72bbf8ddf7eaa532223bacf58041ff16c883e76f45506596e925","impliedFormat":1},{"version":"c8b85f7aed29f8f52b813f800611406b0bfe5cf3224d20a4bdda7c7f73ce368e","affectsGlobalScope":true,"impliedFormat":1},{"version":"145dcf25fd4967c610c53d93d7bc4dce8fbb1b6dd7935362472d4ae49363c7ba","impliedFormat":1},{"version":"ff65b8a8bd380c6d129becc35de02f7c29ad7ce03300331ca91311fb4044d1a9","impliedFormat":1},{"version":"76957a6d92b94b9e2852cf527fea32ad2dc0ef50f67fe2b14bd027c9ceef2d86","impliedFormat":1},{"version":"9043daec15206650fa119bad6b8d70136021ea7d52673a71f79a87a42ee38d44","affectsGlobalScope":true,"impliedFormat":1},{"version":"4e2de7ab2f74e36d7078bccdf831585b10dc6330bab56054921531b03f9beaf3","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"5fb39858b2459864b139950a09adae4f38dad87c25bf572ce414f10e4bd7baab","impliedFormat":1},{"version":"65faec1b4bd63564aeec33eab9cacfaefd84ce2400f03903a71a1841fbce195f","impliedFormat":1},{"version":"b33b74b97952d9bf4fbd2951dcfbb5136656ddb310ce1c84518aaa77dbca9992","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"6b306cd4282bbb54d4a6bb23cfb7a271160983dfc38c67b5a132504cfcc34896","affectsGlobalScope":true,"impliedFormat":1},{"version":"c119835edf36415081dfd9ed15fc0cd37aaa28d232be029ad073f15f3d88c323","impliedFormat":1},{"version":"450172a56b944c2d83f45cc11c9a388ea967cd301a21202aa0a23c34c7506a18","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"72f8936aebf0c4a1adab767b97d34ba7d3a308afcf76de4417b9c16fb92ed548","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"69e0a41d620fb678a899c65e073413b452f4db321b858fe422ad93fd686cd49a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3585d6891e9ea18e07d0755a6d90d71331558ba5dc5561933553209f886db106","affectsGlobalScope":true,"impliedFormat":1},{"version":"86be71cbb0593468644932a6eb96d527cfa600cecfc0b698af5f52e51804451d","impliedFormat":1},{"version":"84dd6b0fd2505135692935599d6606f50a421389e8d4535194bcded307ee5cf2","impliedFormat":1},{"version":"0d5b085f36e6dc55bc6332ecb9c733be3a534958c238fb8d8d18d4a2b6f2a15a","impliedFormat":1},{"version":"db19ea066fdc5f97df3f769e582ae3000380ab7942e266654bdb1a4650d19eaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"2a034894bf28c220a331c7a0229d33564803abe2ac1b9a5feee91b6b9b6e88ea","impliedFormat":1},{"version":"d7e9ab1b0996639047c61c1e62f85c620e4382206b3abb430d9a21fb7bc23c77","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"eabae5daa40501125bc1f6da9ff442ecc0159e1b3bfe19b37552cc5a90aa23fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"53e074a281b50dc3bbdddac7a1c2946100c80a7f5c3161452ab98b31db2e31ba","impliedFormat":1},{"version":"f3d3e999a323c85c8a63ce90c6e4624ff89fe137a0e2508fddc08e0556d08abf","impliedFormat":1},{"version":"d1549b9a6ae3e008ebc14f2f7db472cb11b1d5678d461cfce6f7bf7c9d0428b2","impliedFormat":1},{"version":"49ae37a1b5de16f762c8a151eeaec6b558ce3c27251052ef7a361144af42cad4","impliedFormat":1},{"version":"fc9e630f9302d0414ccd6c8ed2706659cff5ae454a56560c6122fa4a3fac5bbd","affectsGlobalScope":true,"impliedFormat":1},{"version":"aa0a44af370a2d7c1aac988a17836f57910a6c52689f52f5b3ac1d4c6cadcb23","impliedFormat":1},{"version":"0ac74c7586880e26b6a599c710b59284a284e084a2bbc82cd40fb3fbfdea71ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ce12357dadbb8efc4e4ec4dab709c8071bf992722fc9adfea2fe0bd5b50923f","impliedFormat":1},{"version":"31bd1a31f935276adf90384a35edbd4614018ff008f57d62ffb57ac538e94e51","impliedFormat":1},{"version":"ffd344731abee98a0a85a735b19052817afd2156d97d1410819cd9bcd1bd575e","impliedFormat":1},{"version":"475e07c959f4766f90678425b45cf58ac9b95e50de78367759c1e5118e85d5c3","impliedFormat":1},{"version":"a524ae401b30a1b0814f1bbcdae459da97fa30ae6e22476e506bb3f82e3d9456","impliedFormat":1},{"version":"7375e803c033425e27cb33bae21917c106cb37b508fd242cccd978ef2ee244c7","impliedFormat":1},{"version":"eeb890c7e9218afdad2f30ad8a76b0b0b5161d11ce13b6723879de408e6bc47a","impliedFormat":1},{"version":"bb35ce2892f70447f1fd6e76dbbaa915309181414728bc22877bd99ddef4905d","impliedFormat":1},{"version":"b05b9ef20d18697e468c3ae9cecfff3f47e8976f9522d067047e3f236db06a41","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f8e16da629db93b8ac37eead362fa3d335ec7dffe78768b8c08507bc538e14f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6b386c7b6ce6f369d18246904fa5eac73566167c88fb6508feba74fa7501a384","affectsGlobalScope":true,"impliedFormat":1},{"version":"592a109e67b907ffd2078cd6f727d5c326e06eaada169eef8fb18546d96f6797","impliedFormat":1},{"version":"f2eb1e35cae499d57e34b4ac3650248776fe7dbd9a3ec34b23754cfd8c22fceb","impliedFormat":1},{"version":"384be7807dcba0ab54d6a0c194d957fceba0ef0ea96370c19fcd5b609a32927f","impliedFormat":1},{"version":"9e98bd421e71f70c75dae7029e316745c89fa7b8bc8b43a91adf9b82c206099c","impliedFormat":1},{"version":"fc803e6b01f4365f71f51f9ce13f71396766848204d4f7a1b2b6154434b84b15","impliedFormat":1},{"version":"c8109fe76467db6e801d0edfbc50e6826934686467c9418ce6b246232ce7f109","affectsGlobalScope":true,"impliedFormat":1},{"version":"afba8037ba6511d63f8670523deedd2dd7754fd0c75689c2a88c84d1fe82edb9","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be812b06e518320ba82e2aff3ac2ca37370a9df917db708f081b9043fa3315","impliedFormat":1}],"root":[81,[96,101]],"options":{"allowJs":true,"composite":true,"declaration":true,"declarationMap":true,"jsx":4,"module":200,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":false,"noUncheckedIndexedAccess":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[83,1],[82,2],[85,3],[88,4],[89,4],[84,2],[90,5],[91,6],[87,7],[93,7],[92,7],[94,8],[95,9],[86,2],[235,10],[117,11],[118,11],[119,12],[107,13],[120,14],[121,15],[122,16],[105,2],[123,17],[124,18],[125,19],[126,20],[127,21],[128,22],[129,22],[130,23],[131,24],[132,25],[133,26],[108,2],[106,2],[134,27],[135,28],[136,29],[170,30],[137,31],[138,2],[139,32],[140,33],[141,34],[142,35],[143,36],[144,37],[145,38],[146,39],[147,40],[148,40],[149,41],[150,2],[151,42],[152,43],[154,44],[153,45],[155,46],[156,47],[157,48],[158,49],[159,50],[160,51],[161,52],[162,53],[163,54],[164,55],[165,56],[166,57],[167,58],[109,2],[110,59],[111,2],[112,2],[113,60],[114,61],[115,2],[116,46],[168,62],[169,63],[212,64],[233,2],[227,65],[214,66],[213,2],[211,67],[215,2],[209,68],[216,2],[234,69],[217,2],[226,70],[228,71],[210,72],[232,73],[230,74],[229,75],[231,76],[218,2],[224,77],[221,78],[223,79],[222,80],[220,81],[219,2],[225,82],[79,2],[80,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[23,2],[24,2],[4,2],[25,2],[29,2],[26,2],[27,2],[28,2],[30,2],[31,2],[32,2],[5,2],[33,2],[34,2],[35,2],[36,2],[6,2],[40,2],[37,2],[38,2],[39,2],[41,2],[7,2],[42,2],[47,2],[48,2],[43,2],[44,2],[45,2],[46,2],[8,2],[52,2],[49,2],[50,2],[51,2],[53,2],[9,2],[54,2],[55,2],[56,2],[58,2],[57,2],[59,2],[60,2],[10,2],[61,2],[62,2],[63,2],[11,2],[64,2],[65,2],[66,2],[67,2],[68,2],[1,2],[69,2],[70,2],[12,2],[74,2],[72,2],[77,2],[76,2],[71,2],[75,2],[73,2],[78,2],[185,83],[197,84],[183,85],[198,86],[207,87],[174,88],[175,89],[173,90],[206,91],[201,92],[205,93],[177,94],[194,95],[176,96],[204,97],[171,98],[172,92],[178,99],[179,2],[184,100],[182,99],[103,101],[208,102],[199,103],[188,104],[187,99],[189,105],[192,106],[186,107],[190,108],[202,91],[180,109],[181,110],[193,111],[104,86],[196,112],[195,99],[191,113],[200,2],[102,2],[203,114],[81,2],[97,115],[98,116],[101,117],[99,118],[100,119],[96,2]],"affectedFilesPendingEmit":[[97,51],[98,51],[101,51],[100,51],[96,51]],"emitSignatures":[[96,"9a92b23112eacf9cb027896a6b01c7e58474df68ebad256eed1ccceb7d1aa024"],[97,"3b90ff21778e381e88093eddf68bf3f784f4f9c194dc5aee800cbd56a8efc480"],[98,"93b9e1dc37c57f27e26121dd2c3707ff76adc2f822225c29f9519bf7cd78e90e"],[100,"886c2975f04708bc17cacdf4aca75baf17ea123e6f407c8e22f43897cfa913c3"],[101,"925671f17a8918be1e7483fa6a6a7e7d9de79b371f14ed7ce72a5d8300896145"]],"latestChangedDtsFile":"./types.d.ts","version":"5.9.3"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Protocol constants for Sideband Relay Protocol (SBRP).
|
|
3
|
+
*/
|
|
4
|
+
/** Domain separation context for handshake signature payload */
|
|
5
|
+
export declare const SBRP_HANDSHAKE_CONTEXT = "sbrp-v1-handshake";
|
|
6
|
+
/** Domain separation context for transcript hash (HKDF salt) */
|
|
7
|
+
export declare const SBRP_TRANSCRIPT_CONTEXT = "sbrp-v1-transcript";
|
|
8
|
+
/** HKDF info string for session key derivation */
|
|
9
|
+
export declare const SBRP_SESSION_KEYS_INFO = "sbrp-session-keys";
|
|
10
|
+
/** Length of session keys in bytes (browserToDaemon + daemonToBrowser) */
|
|
11
|
+
export declare const SESSION_KEYS_LENGTH = 64;
|
|
12
|
+
/** Length of a single symmetric key in bytes */
|
|
13
|
+
export declare const SYMMETRIC_KEY_LENGTH = 32;
|
|
14
|
+
/** Length of Ed25519 public key in bytes */
|
|
15
|
+
export declare const ED25519_PUBLIC_KEY_LENGTH = 32;
|
|
16
|
+
/** Length of Ed25519 private key seed in bytes */
|
|
17
|
+
export declare const ED25519_PRIVATE_KEY_LENGTH = 32;
|
|
18
|
+
/** Length of Ed25519 signature in bytes */
|
|
19
|
+
export declare const ED25519_SIGNATURE_LENGTH = 64;
|
|
20
|
+
/** Length of X25519 public key in bytes */
|
|
21
|
+
export declare const X25519_PUBLIC_KEY_LENGTH = 32;
|
|
22
|
+
/** Length of X25519 private key in bytes */
|
|
23
|
+
export declare const X25519_PRIVATE_KEY_LENGTH = 32;
|
|
24
|
+
/** Length of ChaCha20-Poly1305 nonce in bytes */
|
|
25
|
+
export declare const NONCE_LENGTH = 12;
|
|
26
|
+
/** Length of Poly1305 auth tag in bytes */
|
|
27
|
+
export declare const AUTH_TAG_LENGTH = 16;
|
|
28
|
+
/** Default replay window size (bits) */
|
|
29
|
+
export declare const DEFAULT_REPLAY_WINDOW_SIZE = 64n;
|
|
30
|
+
/** Direction bytes in nonce (4 bytes, big-endian) */
|
|
31
|
+
export declare const DIRECTION_CLIENT_TO_DAEMON: Uint8Array<ArrayBuffer>;
|
|
32
|
+
export declare const DIRECTION_DAEMON_TO_CLIENT: Uint8Array<ArrayBuffer>;
|
|
33
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AAEH,gEAAgE;AAChE,eAAO,MAAM,sBAAsB,sBAAsB,CAAC;AAE1D,gEAAgE;AAChE,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAE5D,kDAAkD;AAClD,eAAO,MAAM,sBAAsB,sBAAsB,CAAC;AAE1D,0EAA0E;AAC1E,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC,gDAAgD;AAChD,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC,4CAA4C;AAC5C,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,kDAAkD;AAClD,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAE7C,2CAA2C;AAC3C,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAE3C,2CAA2C;AAC3C,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAE3C,4CAA4C;AAC5C,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,iDAAiD;AACjD,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B,2CAA2C;AAC3C,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,wCAAwC;AACxC,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAE9C,qDAAqD;AACrD,eAAO,MAAM,0BAA0B,yBAA+B,CAAC;AACvE,eAAO,MAAM,0BAA0B,yBAA+B,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: 2025-present Sideband
|
|
2
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
3
|
+
/**
|
|
4
|
+
* Protocol constants for Sideband Relay Protocol (SBRP).
|
|
5
|
+
*/
|
|
6
|
+
/** Domain separation context for handshake signature payload */
|
|
7
|
+
export const SBRP_HANDSHAKE_CONTEXT = "sbrp-v1-handshake";
|
|
8
|
+
/** Domain separation context for transcript hash (HKDF salt) */
|
|
9
|
+
export const SBRP_TRANSCRIPT_CONTEXT = "sbrp-v1-transcript";
|
|
10
|
+
/** HKDF info string for session key derivation */
|
|
11
|
+
export const SBRP_SESSION_KEYS_INFO = "sbrp-session-keys";
|
|
12
|
+
/** Length of session keys in bytes (browserToDaemon + daemonToBrowser) */
|
|
13
|
+
export const SESSION_KEYS_LENGTH = 64;
|
|
14
|
+
/** Length of a single symmetric key in bytes */
|
|
15
|
+
export const SYMMETRIC_KEY_LENGTH = 32;
|
|
16
|
+
/** Length of Ed25519 public key in bytes */
|
|
17
|
+
export const ED25519_PUBLIC_KEY_LENGTH = 32;
|
|
18
|
+
/** Length of Ed25519 private key seed in bytes */
|
|
19
|
+
export const ED25519_PRIVATE_KEY_LENGTH = 32;
|
|
20
|
+
/** Length of Ed25519 signature in bytes */
|
|
21
|
+
export const ED25519_SIGNATURE_LENGTH = 64;
|
|
22
|
+
/** Length of X25519 public key in bytes */
|
|
23
|
+
export const X25519_PUBLIC_KEY_LENGTH = 32;
|
|
24
|
+
/** Length of X25519 private key in bytes */
|
|
25
|
+
export const X25519_PRIVATE_KEY_LENGTH = 32;
|
|
26
|
+
/** Length of ChaCha20-Poly1305 nonce in bytes */
|
|
27
|
+
export const NONCE_LENGTH = 12;
|
|
28
|
+
/** Length of Poly1305 auth tag in bytes */
|
|
29
|
+
export const AUTH_TAG_LENGTH = 16;
|
|
30
|
+
/** Default replay window size (bits) */
|
|
31
|
+
export const DEFAULT_REPLAY_WINDOW_SIZE = 64n;
|
|
32
|
+
/** Direction bytes in nonce (4 bytes, big-endian) */
|
|
33
|
+
export const DIRECTION_CLIENT_TO_DAEMON = new Uint8Array([0, 0, 0, 1]);
|
|
34
|
+
export const DIRECTION_DAEMON_TO_CLIENT = new Uint8Array([0, 0, 0, 2]);
|
|
35
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,6CAA6C;AAE7C;;GAEG;AAEH,gEAAgE;AAChE,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CAAC;AAE1D,gEAAgE;AAChE,MAAM,CAAC,MAAM,uBAAuB,GAAG,oBAAoB,CAAC;AAE5D,kDAAkD;AAClD,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CAAC;AAE1D,0EAA0E;AAC1E,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAEtC,gDAAgD;AAChD,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAEvC,4CAA4C;AAC5C,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAE5C,kDAAkD;AAClD,MAAM,CAAC,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAE7C,2CAA2C;AAC3C,MAAM,CAAC,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAE3C,2CAA2C;AAC3C,MAAM,CAAC,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAE3C,4CAA4C;AAC5C,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAE5C,iDAAiD;AACjD,MAAM,CAAC,MAAM,YAAY,GAAG,EAAE,CAAC;AAE/B,2CAA2C;AAC3C,MAAM,CAAC,MAAM,eAAe,GAAG,EAAE,CAAC;AAElC,wCAAwC;AACxC,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAAC;AAE9C,qDAAqD;AACrD,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACvE,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC"}
|
package/dist/crypto.d.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { randomBytes } from "@noble/hashes/utils";
|
|
2
|
+
import type { DaemonId, EphemeralKeyPair, IdentityKeyPair, TrafficKeys } from "./types.js";
|
|
3
|
+
import { Direction } from "./types.js";
|
|
4
|
+
/** Generate a new Ed25519 identity keypair */
|
|
5
|
+
export declare function generateIdentityKeyPair(): IdentityKeyPair;
|
|
6
|
+
/** Generate a new X25519 ephemeral keypair */
|
|
7
|
+
export declare function generateEphemeralKeyPair(): EphemeralKeyPair;
|
|
8
|
+
/** Compute SHA-256 fingerprint of an identity public key */
|
|
9
|
+
export declare function computeFingerprint(identityPublicKey: Uint8Array): string;
|
|
10
|
+
/**
|
|
11
|
+
* Create the signature payload for handshake authentication.
|
|
12
|
+
*
|
|
13
|
+
* payload = SHA256("sbrp-v1-handshake" || daemonId || browserPublicKey || daemonEphemeralPublicKey)
|
|
14
|
+
*/
|
|
15
|
+
export declare function createSignaturePayload(daemonId: DaemonId, browserPublicKey: Uint8Array, daemonEphemeralPublicKey: Uint8Array): Uint8Array;
|
|
16
|
+
/** Sign a payload with an Ed25519 identity private key */
|
|
17
|
+
export declare function signPayload(payload: Uint8Array, identityPrivateKey: Uint8Array): Uint8Array;
|
|
18
|
+
/** Verify an Ed25519 signature */
|
|
19
|
+
export declare function verifySignature(payload: Uint8Array, signature: Uint8Array, identityPublicKey: Uint8Array): boolean;
|
|
20
|
+
/** Compute X25519 shared secret */
|
|
21
|
+
export declare function computeSharedSecret(myPrivateKey: Uint8Array, peerPublicKey: Uint8Array): Uint8Array;
|
|
22
|
+
/**
|
|
23
|
+
* Create the transcript hash for key derivation.
|
|
24
|
+
*
|
|
25
|
+
* transcript = SHA256("sbrp-v1-transcript" || daemonId || browserPublicKey || daemonPublicKey || signature)
|
|
26
|
+
*/
|
|
27
|
+
export declare function createTranscriptHash(daemonId: DaemonId, browserPublicKey: Uint8Array, daemonPublicKey: Uint8Array, signature: Uint8Array): Uint8Array;
|
|
28
|
+
/**
|
|
29
|
+
* Derive traffic keys using HKDF-SHA256.
|
|
30
|
+
*
|
|
31
|
+
* Keys are derived with transcript hash as salt to bind to the authenticated session.
|
|
32
|
+
*/
|
|
33
|
+
export declare function deriveTrafficKeys(sharedSecret: Uint8Array, transcriptHash: Uint8Array): TrafficKeys;
|
|
34
|
+
/**
|
|
35
|
+
* Construct a nonce for ChaCha20-Poly1305.
|
|
36
|
+
*
|
|
37
|
+
* Nonce format (12 bytes):
|
|
38
|
+
* - Bytes 0-3: Direction (0x00000001 = client→daemon, 0x00000002 = daemon→client)
|
|
39
|
+
* - Bytes 4-11: Sequence number (big-endian uint64)
|
|
40
|
+
*/
|
|
41
|
+
export declare function constructNonce(direction: Direction, seq: bigint): Uint8Array;
|
|
42
|
+
/**
|
|
43
|
+
* Encrypt a message using ChaCha20-Poly1305.
|
|
44
|
+
*
|
|
45
|
+
* Returns: nonce (12 bytes) || ciphertext || authTag (16 bytes)
|
|
46
|
+
*/
|
|
47
|
+
export declare function encrypt(key: Uint8Array, direction: Direction, seq: bigint, plaintext: Uint8Array): Uint8Array;
|
|
48
|
+
/**
|
|
49
|
+
* Decrypt a message using ChaCha20-Poly1305.
|
|
50
|
+
*
|
|
51
|
+
* Input format: nonce (12 bytes) || ciphertext || authTag (16 bytes)
|
|
52
|
+
* Returns the plaintext, or throws on decryption failure.
|
|
53
|
+
*/
|
|
54
|
+
export declare function decrypt(key: Uint8Array, data: Uint8Array): Uint8Array;
|
|
55
|
+
/**
|
|
56
|
+
* Extract sequence number from encrypted message data.
|
|
57
|
+
*
|
|
58
|
+
* Reads bytes 4-11 of the nonce as big-endian uint64.
|
|
59
|
+
*/
|
|
60
|
+
export declare function extractSequence(data: Uint8Array): bigint;
|
|
61
|
+
/**
|
|
62
|
+
* Best-effort zeroization of sensitive key material.
|
|
63
|
+
*
|
|
64
|
+
* Note: JavaScript/GC limitations mean this is not guaranteed to prevent
|
|
65
|
+
* key material from remaining in memory.
|
|
66
|
+
*/
|
|
67
|
+
export declare function zeroize(data: Uint8Array): void;
|
|
68
|
+
/** Generate random bytes */
|
|
69
|
+
export { randomBytes };
|
|
70
|
+
//# sourceMappingURL=crypto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../src/crypto.ts"],"names":[],"mappings":"AAeA,OAAO,EAAe,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAY/D,OAAO,KAAK,EACV,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,WAAW,EACZ,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIvC,8CAA8C;AAC9C,wBAAgB,uBAAuB,IAAI,eAAe,CAIzD;AAED,8CAA8C;AAC9C,wBAAgB,wBAAwB,IAAI,gBAAgB,CAI3D;AAED,4DAA4D;AAC5D,wBAAgB,kBAAkB,CAAC,iBAAiB,EAAE,UAAU,GAAG,MAAM,CAMxE;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,UAAU,EAC5B,wBAAwB,EAAE,UAAU,GACnC,UAAU,CASZ;AAED,0DAA0D;AAC1D,wBAAgB,WAAW,CACzB,OAAO,EAAE,UAAU,EACnB,kBAAkB,EAAE,UAAU,GAC7B,UAAU,CAEZ;AAED,kCAAkC;AAClC,wBAAgB,eAAe,CAC7B,OAAO,EAAE,UAAU,EACnB,SAAS,EAAE,UAAU,EACrB,iBAAiB,EAAE,UAAU,GAC5B,OAAO,CAET;AAED,mCAAmC;AACnC,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,UAAU,EACxB,aAAa,EAAE,UAAU,GACxB,UAAU,CAEZ;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,UAAU,EAC5B,eAAe,EAAE,UAAU,EAC3B,SAAS,EAAE,UAAU,GACpB,UAAU,CAUZ;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,YAAY,EAAE,UAAU,EACxB,cAAc,EAAE,UAAU,GACzB,WAAW,CAab;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,UAAU,CAc5E;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CACrB,GAAG,EAAE,UAAU,EACf,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,UAAU,GACpB,UAAU,CAMZ;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,GAAG,UAAU,CAUrE;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAMxD;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAE9C;AAED,4BAA4B;AAC5B,OAAO,EAAE,WAAW,EAAE,CAAC"}
|