Skip to content

Commit 075ed8d

Browse files
authored
Fix a replay vulnerability in oberon (#333)
1 parent 12457e2 commit 075ed8d

File tree

29 files changed

+1403
-1402
lines changed

29 files changed

+1403
-1402
lines changed

.github/workflows/build-wasm.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ jobs:
3030
# ESLint and Prettier must be in `package.json`
3131
- name: Install Node.js dependencies
3232
run: npm ci
33+
# - name: Run linters
34+
# uses: wearerequired/[email protected]
35+
# with:
36+
# eslint: true
37+
# eslint_dir: wasm/
38+
# eslint_args: "--ext .ts,.tsx"
3339
- name: Run linters
34-
uses: wearerequired/[email protected]
35-
with:
36-
eslint: true
37-
eslint_dir: wasm/
38-
eslint_args: "--ext .ts,.tsx"
40+
run: npm run lint
3941
- uses: jetli/[email protected]
4042
with:
4143
version: 'latest'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

native/.cargo/_config.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
[source.crates-io]
22
replace-with = "vendored-sources"
33

4-
[source."https://github.com/mikelodder7/oberon"]
5-
git = "https://github.com/mikelodder7/oberon"
6-
branch = "main"
7-
replace-with = "vendored-sources"
8-
94
[source.vendored-sources]
105
directory = "vendor"

native/Cargo.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

native/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ serde_jcs = "0.1"
2626
sha2 = { version = "0.9", default-features = false }
2727
blake3 = "1.3.1"
2828
bs58 = "0.3"
29-
oberon = { git = "https://github.com/mikelodder7/oberon", branch = "main" }
29+
oberon = "1.1.1"
3030
rand = "0.8"
3131
subtle = "2.4"
3232

native/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ fn compile_protobuf_files() {
4848
],
4949
&["../proto", "../proto/pbmse/v1/"],
5050
)
51+
.format(true)
5152
.unwrap();
5253

5354
copy("okapi.examples.v1.rs", "./src/proto/okapi/okapi_examples.rs").unwrap();

0 commit comments

Comments
 (0)