beaconcrypt 0.4.3__tar.gz → 0.5.2__tar.gz
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.
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2}/Cargo.lock +108 -133
- beaconcrypt-0.5.2/Cargo.toml +9 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2}/PKG-INFO +1 -1
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/Cargo.toml +7 -15
- beaconcrypt-0.5.2/beaconcrypt/LICENSE +7 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/README.md +35 -10
- beaconcrypt-0.5.2/beaconcrypt/bindings.h +435 -0
- beaconcrypt-0.5.2/beaconcrypt/build.rs +60 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/examples/rust/main.rs +78 -12
- beaconcrypt-0.5.2/beaconcrypt/src/beacon.rs +577 -0
- beaconcrypt-0.5.2/beaconcrypt/src/cbinds.rs +1503 -0
- beaconcrypt-0.5.2/beaconcrypt/src/deser.rs +1022 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/src/error.rs +10 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/src/lib.rs +22 -7
- beaconcrypt-0.5.2/beaconcrypt/src/persistence.rs +1130 -0
- beaconcrypt-0.5.2/beaconcrypt/src/pqxdh.rs +591 -0
- beaconcrypt-0.5.2/beaconcrypt/src/pybinds.rs +559 -0
- beaconcrypt-0.5.2/beaconcrypt/src/ratchet.rs +622 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/src/ser.rs +113 -64
- beaconcrypt-0.5.2/beaconcrypt/src/server.rs +533 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/src/shared.rs +652 -606
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/tests/beacon.rs +3 -6
- beaconcrypt-0.5.2/beaconcrypt/tests/c_persistence.c +176 -0
- beaconcrypt-0.5.2/beaconcrypt/tests/construction.rs +39 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/tests/protocol.rs +466 -385
- beaconcrypt-0.5.2/beaconcrypt/tests/raw_receive.rs +164 -0
- beaconcrypt-0.5.2/beaconcrypt/tests/record_opening.rs +157 -0
- beaconcrypt-0.5.2/beaconcrypt/tests/registration_completion.rs +266 -0
- beaconcrypt-0.5.2/beaconcrypt/tests/registration_response_alias.rs +91 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/tests/rooterberg.rs +1 -1
- beaconcrypt-0.5.2/beaconcrypt/tests/server.rs +864 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/tests/wycheproof.rs +8 -12
- beaconcrypt-0.5.2/beaconcrypt-core/Cargo.toml +21 -0
- beaconcrypt-0.5.2/beaconcrypt-core/LICENSE +7 -0
- beaconcrypt-0.5.2/beaconcrypt-core/README.md +5 -0
- beaconcrypt-0.5.2/beaconcrypt-core/src/commitment.rs +108 -0
- beaconcrypt-0.5.2/beaconcrypt-core/src/constants.rs +1 -0
- beaconcrypt-0.5.2/beaconcrypt-core/src/lib.rs +29 -0
- beaconcrypt-0.5.2/beaconcrypt-core/src/pqxdh/concrete.rs +115 -0
- beaconcrypt-0.5.2/beaconcrypt-core/src/pqxdh.rs +1582 -0
- beaconcrypt-0.5.2/beaconcrypt-core/src/ratchet/concrete.rs +613 -0
- beaconcrypt-0.5.2/beaconcrypt-core/src/ratchet/control.rs +564 -0
- beaconcrypt-0.5.2/beaconcrypt-core/src/ratchet/refined.rs +986 -0
- beaconcrypt-0.5.2/beaconcrypt-core/src/ratchet.rs +1883 -0
- beaconcrypt-0.5.2/beaconcrypt-core/src/record.rs +185 -0
- beaconcrypt-0.5.2/beaconcrypt-core/tests/general_registration_admission.rs +137 -0
- beaconcrypt-0.5.2/beaconcrypt.pyi +102 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2}/pyproject.toml +5 -1
- beaconcrypt-0.4.3/.cargo/config.toml +0 -1
- beaconcrypt-0.4.3/.github/workflows/codeql.yml +0 -105
- beaconcrypt-0.4.3/.github/workflows/go.yml +0 -140
- beaconcrypt-0.4.3/.github/workflows/python.yml +0 -135
- beaconcrypt-0.4.3/.github/workflows/release.yml +0 -150
- beaconcrypt-0.4.3/.github/workflows/rust.yml +0 -32
- beaconcrypt-0.4.3/.gitignore +0 -77
- beaconcrypt-0.4.3/.gitmodules +0 -6
- beaconcrypt-0.4.3/beaconcrypt.go +0 -417
- beaconcrypt-0.4.3/beaconcrypt.pyi +0 -47
- beaconcrypt-0.4.3/beaconcrypt_test.go +0 -1449
- beaconcrypt-0.4.3/bindings.h +0 -146
- beaconcrypt-0.4.3/build.rs +0 -37
- beaconcrypt-0.4.3/clippy.toml +0 -1
- beaconcrypt-0.4.3/doc/multi-opening-fixture.md +0 -218
- beaconcrypt-0.4.3/doc/persistence.md +0 -95
- beaconcrypt-0.4.3/doc/protocol.md +0 -156
- beaconcrypt-0.4.3/doc/rationale.md +0 -11
- beaconcrypt-0.4.3/doc/rooterberg.md +0 -59
- beaconcrypt-0.4.3/doc/threat_model.md +0 -38
- beaconcrypt-0.4.3/doc/wycheproof.md +0 -56
- beaconcrypt-0.4.3/examples/c/CMakeLists.txt +0 -70
- beaconcrypt-0.4.3/examples/c/README.md +0 -16
- beaconcrypt-0.4.3/examples/c/main.c +0 -326
- beaconcrypt-0.4.3/examples/go/.gitignore +0 -1
- beaconcrypt-0.4.3/examples/go/README.md +0 -11
- beaconcrypt-0.4.3/examples/go/go.mod +0 -7
- beaconcrypt-0.4.3/examples/go/go.sum +0 -0
- beaconcrypt-0.4.3/examples/go/main.go +0 -161
- beaconcrypt-0.4.3/examples/python/.gitignore +0 -2
- beaconcrypt-0.4.3/examples/python/README.md +0 -4
- beaconcrypt-0.4.3/examples/python/main.py +0 -69
- beaconcrypt-0.4.3/examples/python/pyproject.toml +0 -11
- beaconcrypt-0.4.3/go.mod +0 -7
- beaconcrypt-0.4.3/go.sum +0 -4
- beaconcrypt-0.4.3/rustfmt.toml +0 -5
- beaconcrypt-0.4.3/scripts/derive_multi_opening.py +0 -270
- beaconcrypt-0.4.3/scripts/generate_kat_vectors.go +0 -321
- beaconcrypt-0.4.3/scripts/generate_kat_vectors.py +0 -242
- beaconcrypt-0.4.3/scripts/generate_python_stubs.py +0 -47
- beaconcrypt-0.4.3/src/beacon.rs +0 -6
- beaconcrypt-0.4.3/src/cbinds.rs +0 -385
- beaconcrypt-0.4.3/src/deser.rs +0 -775
- beaconcrypt-0.4.3/src/pqxdh.rs +0 -1027
- beaconcrypt-0.4.3/src/pybinds.rs +0 -198
- beaconcrypt-0.4.3/src/server.rs +0 -79
- beaconcrypt-0.4.3/tests/server.rs +0 -308
- beaconcrypt-0.4.3/tests/test_encryption.py +0 -317
- beaconcrypt-0.4.3/tests/test_registration.py +0 -74
- beaconcrypt-0.4.3/tests/test_server_state.py +0 -237
- beaconcrypt-0.4.3/uv.lock +0 -247
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2}/LICENSE +0 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/examples/rust/README.md +0 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/src/schema/cryptoframe.capnp +0 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/src/schema/phase1.capnp +0 -0
- {beaconcrypt-0.4.3 → beaconcrypt-0.5.2/beaconcrypt}/src/schema/phase2.capnp +0 -0
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
3
|
version = 4
|
|
4
4
|
|
|
5
|
-
[[package]]
|
|
6
|
-
name = "adler2"
|
|
7
|
-
version = "2.0.1"
|
|
8
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
|
|
10
|
-
|
|
11
5
|
[[package]]
|
|
12
6
|
name = "adler32"
|
|
13
7
|
version = "1.2.0"
|
|
@@ -72,14 +66,15 @@ dependencies = [
|
|
|
72
66
|
|
|
73
67
|
[[package]]
|
|
74
68
|
name = "base64"
|
|
75
|
-
version = "0.
|
|
69
|
+
version = "0.23.1"
|
|
76
70
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
-
checksum = "
|
|
71
|
+
checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
|
|
78
72
|
|
|
79
73
|
[[package]]
|
|
80
74
|
name = "beaconcrypt"
|
|
81
|
-
version = "0.
|
|
75
|
+
version = "0.5.2"
|
|
82
76
|
dependencies = [
|
|
77
|
+
"beaconcrypt-core",
|
|
83
78
|
"capnp",
|
|
84
79
|
"capnpc",
|
|
85
80
|
"cbindgen",
|
|
@@ -90,11 +85,18 @@ dependencies = [
|
|
|
90
85
|
"zeroize",
|
|
91
86
|
]
|
|
92
87
|
|
|
88
|
+
[[package]]
|
|
89
|
+
name = "beaconcrypt-core"
|
|
90
|
+
version = "0.1.1"
|
|
91
|
+
dependencies = [
|
|
92
|
+
"zeroize",
|
|
93
|
+
]
|
|
94
|
+
|
|
93
95
|
[[package]]
|
|
94
96
|
name = "bitflags"
|
|
95
|
-
version = "2.13.
|
|
97
|
+
version = "2.13.2"
|
|
96
98
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
97
|
-
checksum = "
|
|
99
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
98
100
|
|
|
99
101
|
[[package]]
|
|
100
102
|
name = "bumpalo"
|
|
@@ -110,18 +112,18 @@ checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
|
|
|
110
112
|
|
|
111
113
|
[[package]]
|
|
112
114
|
name = "capnp"
|
|
113
|
-
version = "0.
|
|
115
|
+
version = "0.27.2"
|
|
114
116
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
115
|
-
checksum = "
|
|
117
|
+
checksum = "93f7ce2b1b49d58b2b754f9146ef07e3244f9b67e7563bc1292fbd5f01b142f0"
|
|
116
118
|
dependencies = [
|
|
117
119
|
"embedded-io",
|
|
118
120
|
]
|
|
119
121
|
|
|
120
122
|
[[package]]
|
|
121
123
|
name = "capnpc"
|
|
122
|
-
version = "0.
|
|
124
|
+
version = "0.27.0"
|
|
123
125
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
124
|
-
checksum = "
|
|
126
|
+
checksum = "82ca16312ddb64529d31c8dc46148671c22e57b80134fa5f17811ad5a6a79492"
|
|
125
127
|
dependencies = [
|
|
126
128
|
"capnp",
|
|
127
129
|
]
|
|
@@ -147,9 +149,9 @@ dependencies = [
|
|
|
147
149
|
|
|
148
150
|
[[package]]
|
|
149
151
|
name = "cc"
|
|
150
|
-
version = "1.
|
|
152
|
+
version = "1.8.0"
|
|
151
153
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
152
|
-
checksum = "
|
|
154
|
+
checksum = "6651c9ed80effdc7db0ff72512157f901af5e3549e341e24b1dd4887d836d838"
|
|
153
155
|
dependencies = [
|
|
154
156
|
"find-msvc-tools",
|
|
155
157
|
"shlex",
|
|
@@ -157,24 +159,24 @@ dependencies = [
|
|
|
157
159
|
|
|
158
160
|
[[package]]
|
|
159
161
|
name = "cfg-if"
|
|
160
|
-
version = "1.0.
|
|
162
|
+
version = "1.0.5"
|
|
161
163
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
-
checksum = "
|
|
164
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
163
165
|
|
|
164
166
|
[[package]]
|
|
165
167
|
name = "clap"
|
|
166
|
-
version = "4.6.
|
|
168
|
+
version = "4.6.7"
|
|
167
169
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
168
|
-
checksum = "
|
|
170
|
+
checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
|
|
169
171
|
dependencies = [
|
|
170
172
|
"clap_builder",
|
|
171
173
|
]
|
|
172
174
|
|
|
173
175
|
[[package]]
|
|
174
176
|
name = "clap_builder"
|
|
175
|
-
version = "4.6.
|
|
177
|
+
version = "4.6.7"
|
|
176
178
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
177
|
-
checksum = "
|
|
179
|
+
checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
|
|
178
180
|
dependencies = [
|
|
179
181
|
"anstream",
|
|
180
182
|
"anstyle",
|
|
@@ -184,9 +186,9 @@ dependencies = [
|
|
|
184
186
|
|
|
185
187
|
[[package]]
|
|
186
188
|
name = "clap_lex"
|
|
187
|
-
version = "1.1.
|
|
189
|
+
version = "1.1.1"
|
|
188
190
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
189
|
-
checksum = "
|
|
191
|
+
checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
|
|
190
192
|
|
|
191
193
|
[[package]]
|
|
192
194
|
name = "colorchoice"
|
|
@@ -196,57 +198,35 @@ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
|
196
198
|
|
|
197
199
|
[[package]]
|
|
198
200
|
name = "crc32fast"
|
|
199
|
-
version = "1.5.
|
|
201
|
+
version = "1.5.2"
|
|
200
202
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
201
|
-
checksum = "
|
|
203
|
+
checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78"
|
|
202
204
|
dependencies = [
|
|
203
205
|
"cfg-if",
|
|
204
206
|
]
|
|
205
207
|
|
|
206
208
|
[[package]]
|
|
207
209
|
name = "ct-codecs"
|
|
208
|
-
version = "1.1.
|
|
210
|
+
version = "1.1.8"
|
|
209
211
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
210
|
-
checksum = "
|
|
212
|
+
checksum = "8fd9f3db6f2cfef61c10613071955154ffdc9e515daebff26de4b54e35038fdd"
|
|
211
213
|
|
|
212
214
|
[[package]]
|
|
213
215
|
name = "ctor"
|
|
214
|
-
version = "0.
|
|
216
|
+
version = "1.0.13"
|
|
215
217
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
216
|
-
checksum = "
|
|
218
|
+
checksum = "914a755b7c2d4af2bdcff7ce1739e2db9a1b81a9b07123d8015786ae03c0980d"
|
|
217
219
|
dependencies = [
|
|
218
|
-
"ctor-proc-macro",
|
|
219
|
-
"dtor",
|
|
220
220
|
"link-section",
|
|
221
|
+
"linktime-proc-macro",
|
|
221
222
|
]
|
|
222
223
|
|
|
223
|
-
[[package]]
|
|
224
|
-
name = "ctor-proc-macro"
|
|
225
|
-
version = "0.0.12"
|
|
226
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
227
|
-
checksum = "a7ab264ea985f1bd27887d7b21ea2bb046728e05d11909ca138d700c494730db"
|
|
228
|
-
|
|
229
224
|
[[package]]
|
|
230
225
|
name = "dary_heap"
|
|
231
226
|
version = "0.3.9"
|
|
232
227
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
228
|
checksum = "8b1e3a325bc115f096c8b77bbf027a7c2592230e70be2d985be950d3d5e60ebe"
|
|
234
229
|
|
|
235
|
-
[[package]]
|
|
236
|
-
name = "dtor"
|
|
237
|
-
version = "0.6.0"
|
|
238
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
239
|
-
checksum = "30e4690622ab6700ced40fc370a3f07b7d111f0154bb6fb08f73b4c8834f75b6"
|
|
240
|
-
dependencies = [
|
|
241
|
-
"dtor-proc-macro",
|
|
242
|
-
]
|
|
243
|
-
|
|
244
|
-
[[package]]
|
|
245
|
-
name = "dtor-proc-macro"
|
|
246
|
-
version = "0.0.12"
|
|
247
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
248
|
-
checksum = "8c98b077c7463d01d22dde8a24378ddf1ca7263dc687cffbed38819ea6c21131"
|
|
249
|
-
|
|
250
230
|
[[package]]
|
|
251
231
|
name = "embedded-io"
|
|
252
232
|
version = "0.7.1"
|
|
@@ -255,9 +235,9 @@ checksum = "9eb1aa714776b75c7e67e1da744b81a129b3ff919c8712b5e1b32252c1f07cc7"
|
|
|
255
235
|
|
|
256
236
|
[[package]]
|
|
257
237
|
name = "equivalent"
|
|
258
|
-
version = "1.0.
|
|
238
|
+
version = "1.0.3"
|
|
259
239
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
260
|
-
checksum = "
|
|
240
|
+
checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
|
|
261
241
|
|
|
262
242
|
[[package]]
|
|
263
243
|
name = "errno"
|
|
@@ -287,17 +267,16 @@ dependencies = [
|
|
|
287
267
|
|
|
288
268
|
[[package]]
|
|
289
269
|
name = "find-msvc-tools"
|
|
290
|
-
version = "0.1.
|
|
270
|
+
version = "0.1.14"
|
|
291
271
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
-
checksum = "
|
|
272
|
+
checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484"
|
|
293
273
|
|
|
294
274
|
[[package]]
|
|
295
275
|
name = "flate2"
|
|
296
|
-
version = "1.1.
|
|
276
|
+
version = "1.1.10"
|
|
297
277
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
298
|
-
checksum = "
|
|
278
|
+
checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
|
|
299
279
|
dependencies = [
|
|
300
|
-
"miniz_oxide",
|
|
301
280
|
"zlib-rs",
|
|
302
281
|
]
|
|
303
282
|
|
|
@@ -343,9 +322,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
343
322
|
|
|
344
323
|
[[package]]
|
|
345
324
|
name = "http"
|
|
346
|
-
version = "1.
|
|
325
|
+
version = "1.5.0"
|
|
347
326
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
348
|
-
checksum = "
|
|
327
|
+
checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
|
|
349
328
|
dependencies = [
|
|
350
329
|
"bytes",
|
|
351
330
|
"itoa",
|
|
@@ -359,9 +338,9 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
|
|
|
359
338
|
|
|
360
339
|
[[package]]
|
|
361
340
|
name = "indexmap"
|
|
362
|
-
version = "2.14.
|
|
341
|
+
version = "2.14.2"
|
|
363
342
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
364
|
-
checksum = "
|
|
343
|
+
checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
|
|
365
344
|
dependencies = [
|
|
366
345
|
"equivalent",
|
|
367
346
|
"hashbrown 0.17.1",
|
|
@@ -381,15 +360,15 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
|
381
360
|
|
|
382
361
|
[[package]]
|
|
383
362
|
name = "libc"
|
|
384
|
-
version = "0.2.
|
|
363
|
+
version = "0.2.191"
|
|
385
364
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
386
|
-
checksum = "
|
|
365
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
387
366
|
|
|
388
367
|
[[package]]
|
|
389
368
|
name = "libflate"
|
|
390
|
-
version = "2.3.
|
|
369
|
+
version = "2.3.2"
|
|
391
370
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
392
|
-
checksum = "
|
|
371
|
+
checksum = "561a8da1a50e1428d3c51321dafeca849df992a5bb67720c386131234caba82e"
|
|
393
372
|
dependencies = [
|
|
394
373
|
"adler32",
|
|
395
374
|
"crc32fast",
|
|
@@ -411,9 +390,9 @@ dependencies = [
|
|
|
411
390
|
|
|
412
391
|
[[package]]
|
|
413
392
|
name = "libsodium-rs"
|
|
414
|
-
version = "0.
|
|
393
|
+
version = "0.3.0"
|
|
415
394
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
416
|
-
checksum = "
|
|
395
|
+
checksum = "550e3e6ffc3ff73ba09734ce2a110a5346cb928b1004ac292d9b17efe88490be"
|
|
417
396
|
dependencies = [
|
|
418
397
|
"ct-codecs",
|
|
419
398
|
"ctor",
|
|
@@ -426,9 +405,9 @@ dependencies = [
|
|
|
426
405
|
|
|
427
406
|
[[package]]
|
|
428
407
|
name = "libsodium-sys-stable"
|
|
429
|
-
version = "1.24.
|
|
408
|
+
version = "1.24.3"
|
|
430
409
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
431
|
-
checksum = "
|
|
410
|
+
checksum = "1f55c1c508d31e2cf0a649c9c889e4bcf554cbfb2a6803f049f219784b044283"
|
|
432
411
|
dependencies = [
|
|
433
412
|
"cc",
|
|
434
413
|
"libc",
|
|
@@ -443,9 +422,15 @@ dependencies = [
|
|
|
443
422
|
|
|
444
423
|
[[package]]
|
|
445
424
|
name = "link-section"
|
|
446
|
-
version = "0.
|
|
425
|
+
version = "0.19.3"
|
|
447
426
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
448
|
-
checksum = "
|
|
427
|
+
checksum = "39c29a617ce3df32c08497bdc1ab6e2376e0b17948ac166a2fbe5977c5954cd9"
|
|
428
|
+
|
|
429
|
+
[[package]]
|
|
430
|
+
name = "linktime-proc-macro"
|
|
431
|
+
version = "0.2.3"
|
|
432
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
433
|
+
checksum = "7e57c38c1e860fd37c604281cdfb1dd2216977fd76a50f85ba2f388ef3219616"
|
|
449
434
|
|
|
450
435
|
[[package]]
|
|
451
436
|
name = "linux-raw-sys"
|
|
@@ -455,9 +440,9 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
|
|
455
440
|
|
|
456
441
|
[[package]]
|
|
457
442
|
name = "log"
|
|
458
|
-
version = "0.4.
|
|
443
|
+
version = "0.4.34"
|
|
459
444
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
-
checksum = "
|
|
445
|
+
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
461
446
|
|
|
462
447
|
[[package]]
|
|
463
448
|
name = "memchr"
|
|
@@ -471,16 +456,6 @@ version = "0.2.5"
|
|
|
471
456
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
472
457
|
checksum = "22f9645cb765ea72b8111f36c522475d2daa0d22c957a9826437e97534bc4e9e"
|
|
473
458
|
|
|
474
|
-
[[package]]
|
|
475
|
-
name = "miniz_oxide"
|
|
476
|
-
version = "0.8.9"
|
|
477
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
478
|
-
checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
|
|
479
|
-
dependencies = [
|
|
480
|
-
"adler2",
|
|
481
|
-
"simd-adler32",
|
|
482
|
-
]
|
|
483
|
-
|
|
484
459
|
[[package]]
|
|
485
460
|
name = "no_std_io2"
|
|
486
461
|
version = "0.9.4"
|
|
@@ -510,15 +485,15 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
|
|
|
510
485
|
|
|
511
486
|
[[package]]
|
|
512
487
|
name = "pkg-config"
|
|
513
|
-
version = "0.3.
|
|
488
|
+
version = "0.3.34"
|
|
514
489
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
515
|
-
checksum = "
|
|
490
|
+
checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
|
|
516
491
|
|
|
517
492
|
[[package]]
|
|
518
493
|
name = "portable-atomic"
|
|
519
|
-
version = "1.
|
|
494
|
+
version = "1.15.0"
|
|
520
495
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
521
|
-
checksum = "
|
|
496
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
522
497
|
|
|
523
498
|
[[package]]
|
|
524
499
|
name = "proc-macro2"
|
|
@@ -531,9 +506,9 @@ dependencies = [
|
|
|
531
506
|
|
|
532
507
|
[[package]]
|
|
533
508
|
name = "pyo3"
|
|
534
|
-
version = "0.
|
|
509
|
+
version = "0.30.1"
|
|
535
510
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
536
|
-
checksum = "
|
|
511
|
+
checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
|
|
537
512
|
dependencies = [
|
|
538
513
|
"libc",
|
|
539
514
|
"once_cell",
|
|
@@ -545,18 +520,18 @@ dependencies = [
|
|
|
545
520
|
|
|
546
521
|
[[package]]
|
|
547
522
|
name = "pyo3-build-config"
|
|
548
|
-
version = "0.
|
|
523
|
+
version = "0.30.1"
|
|
549
524
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
550
|
-
checksum = "
|
|
525
|
+
checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
|
|
551
526
|
dependencies = [
|
|
552
527
|
"target-lexicon",
|
|
553
528
|
]
|
|
554
529
|
|
|
555
530
|
[[package]]
|
|
556
531
|
name = "pyo3-ffi"
|
|
557
|
-
version = "0.
|
|
532
|
+
version = "0.30.1"
|
|
558
533
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
559
|
-
checksum = "
|
|
534
|
+
checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
|
|
560
535
|
dependencies = [
|
|
561
536
|
"libc",
|
|
562
537
|
"pyo3-build-config",
|
|
@@ -564,26 +539,26 @@ dependencies = [
|
|
|
564
539
|
|
|
565
540
|
[[package]]
|
|
566
541
|
name = "pyo3-macros"
|
|
567
|
-
version = "0.
|
|
542
|
+
version = "0.30.1"
|
|
568
543
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
569
|
-
checksum = "
|
|
544
|
+
checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
|
|
570
545
|
dependencies = [
|
|
571
546
|
"proc-macro2",
|
|
572
547
|
"pyo3-macros-backend",
|
|
573
548
|
"quote",
|
|
574
|
-
"syn
|
|
549
|
+
"syn 3.0.9",
|
|
575
550
|
]
|
|
576
551
|
|
|
577
552
|
[[package]]
|
|
578
553
|
name = "pyo3-macros-backend"
|
|
579
|
-
version = "0.
|
|
554
|
+
version = "0.30.1"
|
|
580
555
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
581
|
-
checksum = "
|
|
556
|
+
checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
|
|
582
557
|
dependencies = [
|
|
583
558
|
"heck",
|
|
584
559
|
"proc-macro2",
|
|
585
560
|
"quote",
|
|
586
|
-
"syn
|
|
561
|
+
"syn 3.0.9",
|
|
587
562
|
]
|
|
588
563
|
|
|
589
564
|
[[package]]
|
|
@@ -609,9 +584,9 @@ checksum = "3582f63211428f83597b51b2ddb88e2a91a9d52d12831f9d08f5e624e8977422"
|
|
|
609
584
|
|
|
610
585
|
[[package]]
|
|
611
586
|
name = "rustix"
|
|
612
|
-
version = "1.1.
|
|
587
|
+
version = "1.1.5"
|
|
613
588
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
614
|
-
checksum = "
|
|
589
|
+
checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
|
|
615
590
|
dependencies = [
|
|
616
591
|
"bitflags",
|
|
617
592
|
"errno",
|
|
@@ -647,14 +622,14 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
|
647
622
|
dependencies = [
|
|
648
623
|
"proc-macro2",
|
|
649
624
|
"quote",
|
|
650
|
-
"syn 3.0.
|
|
625
|
+
"syn 3.0.9",
|
|
651
626
|
]
|
|
652
627
|
|
|
653
628
|
[[package]]
|
|
654
629
|
name = "serde_json"
|
|
655
|
-
version = "1.0.
|
|
630
|
+
version = "1.0.154"
|
|
656
631
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
657
|
-
checksum = "
|
|
632
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
658
633
|
dependencies = [
|
|
659
634
|
"itoa",
|
|
660
635
|
"memchr",
|
|
@@ -665,9 +640,9 @@ dependencies = [
|
|
|
665
640
|
|
|
666
641
|
[[package]]
|
|
667
642
|
name = "serde_spanned"
|
|
668
|
-
version = "1.1.
|
|
643
|
+
version = "1.1.2"
|
|
669
644
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
670
|
-
checksum = "
|
|
645
|
+
checksum = "4e7523beb55eece201a2356bee0bbca0d1ab466c14c07703b2e0ee6d42cb0c2c"
|
|
671
646
|
dependencies = [
|
|
672
647
|
"serde_core",
|
|
673
648
|
]
|
|
@@ -703,9 +678,9 @@ dependencies = [
|
|
|
703
678
|
|
|
704
679
|
[[package]]
|
|
705
680
|
name = "syn"
|
|
706
|
-
version = "3.0.
|
|
681
|
+
version = "3.0.9"
|
|
707
682
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
708
|
-
checksum = "
|
|
683
|
+
checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
|
|
709
684
|
dependencies = [
|
|
710
685
|
"proc-macro2",
|
|
711
686
|
"quote",
|
|
@@ -744,22 +719,22 @@ dependencies = [
|
|
|
744
719
|
|
|
745
720
|
[[package]]
|
|
746
721
|
name = "thiserror"
|
|
747
|
-
version = "
|
|
722
|
+
version = "2.0.21"
|
|
748
723
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
749
|
-
checksum = "
|
|
724
|
+
checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
|
|
750
725
|
dependencies = [
|
|
751
726
|
"thiserror-impl",
|
|
752
727
|
]
|
|
753
728
|
|
|
754
729
|
[[package]]
|
|
755
730
|
name = "thiserror-impl"
|
|
756
|
-
version = "
|
|
731
|
+
version = "2.0.21"
|
|
757
732
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
758
|
-
checksum = "
|
|
733
|
+
checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
|
|
759
734
|
dependencies = [
|
|
760
735
|
"proc-macro2",
|
|
761
736
|
"quote",
|
|
762
|
-
"syn
|
|
737
|
+
"syn 3.0.9",
|
|
763
738
|
]
|
|
764
739
|
|
|
765
740
|
[[package]]
|
|
@@ -788,18 +763,18 @@ dependencies = [
|
|
|
788
763
|
|
|
789
764
|
[[package]]
|
|
790
765
|
name = "toml_parser"
|
|
791
|
-
version = "1.1.
|
|
766
|
+
version = "1.1.5+spec-1.1.0"
|
|
792
767
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
793
|
-
checksum = "
|
|
768
|
+
checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c"
|
|
794
769
|
dependencies = [
|
|
795
770
|
"winnow 1.0.4",
|
|
796
771
|
]
|
|
797
772
|
|
|
798
773
|
[[package]]
|
|
799
774
|
name = "toml_writer"
|
|
800
|
-
version = "1.1.
|
|
775
|
+
version = "1.1.3+spec-1.1.0"
|
|
801
776
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
802
|
-
checksum = "
|
|
777
|
+
checksum = "06bdbd8cfc056b8d2e2e85f29b56a3bdbecb527cef81eb39e3e7b98af4652770"
|
|
803
778
|
|
|
804
779
|
[[package]]
|
|
805
780
|
name = "typed-path"
|
|
@@ -809,15 +784,15 @@ checksum = "8e28f89b80c87b8fb0cf04ab448d5dd0dd0ade2f8891bae878de66a75a28600e"
|
|
|
809
784
|
|
|
810
785
|
[[package]]
|
|
811
786
|
name = "unicode-ident"
|
|
812
|
-
version = "1.0.
|
|
787
|
+
version = "1.0.27"
|
|
813
788
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
814
|
-
checksum = "
|
|
789
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
815
790
|
|
|
816
791
|
[[package]]
|
|
817
792
|
name = "ureq"
|
|
818
|
-
version = "3.
|
|
793
|
+
version = "3.4.2"
|
|
819
794
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
820
|
-
checksum = "
|
|
795
|
+
checksum = "9a7ac20be9b7726e0bbdbf974c059676d9acb1cd414961f570a4e8231cacd7fc"
|
|
821
796
|
dependencies = [
|
|
822
797
|
"base64",
|
|
823
798
|
"log",
|
|
@@ -828,9 +803,9 @@ dependencies = [
|
|
|
828
803
|
|
|
829
804
|
[[package]]
|
|
830
805
|
name = "ureq-proto"
|
|
831
|
-
version = "0.6.
|
|
806
|
+
version = "0.6.4"
|
|
832
807
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
833
|
-
checksum = "
|
|
808
|
+
checksum = "f86fd172ccca569e458f61b6bdd6220965a9ef36e672a6852953b51a0e1583be"
|
|
834
809
|
dependencies = [
|
|
835
810
|
"base64",
|
|
836
811
|
"http",
|
|
@@ -895,9 +870,9 @@ dependencies = [
|
|
|
895
870
|
|
|
896
871
|
[[package]]
|
|
897
872
|
name = "zeroize"
|
|
898
|
-
version = "1.9.
|
|
873
|
+
version = "1.9.1"
|
|
899
874
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
900
|
-
checksum = "
|
|
875
|
+
checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879"
|
|
901
876
|
dependencies = [
|
|
902
877
|
"zeroize_derive",
|
|
903
878
|
]
|
|
@@ -929,9 +904,9 @@ dependencies = [
|
|
|
929
904
|
|
|
930
905
|
[[package]]
|
|
931
906
|
name = "zlib-rs"
|
|
932
|
-
version = "0.6.
|
|
907
|
+
version = "0.6.8"
|
|
933
908
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
934
|
-
checksum = "
|
|
909
|
+
checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112"
|
|
935
910
|
|
|
936
911
|
[[package]]
|
|
937
912
|
name = "zmij"
|
|
@@ -941,9 +916,9 @@ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
|
|
941
916
|
|
|
942
917
|
[[package]]
|
|
943
918
|
name = "zopfli"
|
|
944
|
-
version = "0.8.
|
|
919
|
+
version = "0.8.4"
|
|
945
920
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
946
|
-
checksum = "
|
|
921
|
+
checksum = "aaf7fc5d30c28483d93805c4a5e12b05bbb52407fa67c5f8bd552374cd01fb11"
|
|
947
922
|
dependencies = [
|
|
948
923
|
"bumpalo",
|
|
949
924
|
"crc32fast",
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "beaconcrypt"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.5.2"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
license-file = "LICENSE"
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
description = "Cryptographic transport for C2 channels"
|
|
8
8
|
rust-version = "1.96"
|
|
9
9
|
repository = "https://github.com/0xd6cb6d73/beaconcrypt"
|
|
10
|
-
exclude = [
|
|
11
|
-
"rooterberg/**",
|
|
12
|
-
"wycheproof/**",
|
|
13
|
-
]
|
|
14
10
|
|
|
15
11
|
[lib]
|
|
16
12
|
name = "beaconcrypt"
|
|
@@ -47,18 +43,20 @@ path = "tests/wycheproof.rs"
|
|
|
47
43
|
required-features = ["pqxdh"]
|
|
48
44
|
|
|
49
45
|
[build-dependencies]
|
|
50
|
-
capnpc = "0.
|
|
46
|
+
capnpc = "0.27"
|
|
51
47
|
cbindgen = "0.29"
|
|
52
48
|
|
|
53
49
|
[dev-dependencies]
|
|
50
|
+
beaconcrypt-core = { path = "../beaconcrypt-core", features = ["test-utils"] }
|
|
54
51
|
serde = { version = "1", features = ["derive"] }
|
|
55
52
|
serde_json = "1"
|
|
56
53
|
|
|
57
54
|
[dependencies]
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
beaconcrypt-core = { version = "0.1.1", path = "../beaconcrypt-core" }
|
|
56
|
+
capnp = "0.27.2"
|
|
57
|
+
libsodium-rs = "=0.3.0"
|
|
60
58
|
zeroize = "1.9"
|
|
61
|
-
pyo3 = { version = "0.
|
|
59
|
+
pyo3 = { version = "0.30.1", features = ["abi3-py311", "experimental-inspect"], optional = true }
|
|
62
60
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
63
61
|
serde_json = { version = "1", optional = true }
|
|
64
62
|
|
|
@@ -72,12 +70,6 @@ cbinds = ["beacon", "server", "pqxdh"]
|
|
|
72
70
|
pybinds = ["dep:pyo3", "beacon", "server", "pqxdh"]
|
|
73
71
|
all = ["gobinds", "pybinds", "cbinds"]
|
|
74
72
|
|
|
75
|
-
[profile.release]
|
|
76
|
-
strip = true
|
|
77
|
-
lto = true
|
|
78
|
-
codegen-units = 1
|
|
79
|
-
panic = "abort"
|
|
80
|
-
|
|
81
73
|
[package.metadata.maturin]
|
|
82
74
|
name = "beaconcrypt"
|
|
83
75
|
bindings = "pyo3"
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
BSD Zero Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 by 0xd6cb6d73 72226198+0xd6cb6d73@users.noreply.github.com
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|