beaconcrypt 0.3.10__tar.gz → 0.3.12__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.3.10 → beaconcrypt-0.3.12}/.github/workflows/go.yml +2 -2
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/.github/workflows/release.yml +5 -4
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/.github/workflows/rust.yml +4 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/Cargo.lock +38 -410
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/Cargo.toml +24 -8
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/PKG-INFO +1 -1
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/README.md +13 -8
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/beaconcrypt.go +54 -54
- beaconcrypt-0.3.12/beaconcrypt.pyi +34 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/beaconcrypt_test.go +4 -3
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/bindings.h +3 -88
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/doc/protocol.md +20 -14
- beaconcrypt-0.3.12/examples/go/.gitignore +1 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/go/go.mod +1 -1
- beaconcrypt-0.3.12/examples/go/go.sum +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/python/pyproject.toml +1 -1
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/python/uv.lock +11 -11
- beaconcrypt-0.3.12/examples/rust/README.md +6 -0
- beaconcrypt-0.3.12/examples/rust/main.rs +109 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/beacon.rs +2 -2
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/lib.rs +9 -9
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/pqxdh.rs +124 -63
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/pybinds.rs +2 -9
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/schema/cryptoframe.capnp +1 -1
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/server.rs +0 -13
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/shared.rs +135 -49
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/tests/protocol.rs +3 -1
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/tests/test_registration.py +3 -1
- beaconcrypt-0.3.10/beaconcrypt.pyi +0 -2
- beaconcrypt-0.3.10/examples/go/go.sum +0 -2
- beaconcrypt-0.3.10/src/cnsa2.rs +0 -562
- beaconcrypt-0.3.10/src/gobinds.rs +0 -340
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/.cargo/config.toml +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/.github/workflows/codeql.yml +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/.github/workflows/python.yml +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/.gitignore +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/LICENSE +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/build.rs +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/clippy.toml +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/doc/rationale.md +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/doc/threat_model.md +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/c/CMakeLists.txt +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/c/README.md +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/c/main.c +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/go/README.md +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/go/main.go +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/python/.gitignore +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/python/README.md +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/examples/python/main.py +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/go.mod +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/pyproject.toml +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/rustfmt.toml +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/scripts/generate_python_stubs.py +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/cbinds.rs +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/error.rs +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/schema/phase1.capnp +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/schema/phase2.capnp +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/src/schema/protogram.capnp +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/tests/beacon.rs +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/tests/server.rs +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/tests/test_encryption.py +0 -0
- {beaconcrypt-0.3.10 → beaconcrypt-0.3.12}/uv.lock +0 -0
|
@@ -63,7 +63,7 @@ jobs:
|
|
|
63
63
|
|
|
64
64
|
- name: Build native library
|
|
65
65
|
if: runner.os != 'Windows'
|
|
66
|
-
run: cargo build --verbose --features gobinds
|
|
66
|
+
run: cargo build --verbose --release --features gobinds
|
|
67
67
|
|
|
68
68
|
- name: Build native library on Windows
|
|
69
69
|
if: runner.os == 'Windows'
|
|
@@ -71,7 +71,7 @@ jobs:
|
|
|
71
71
|
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER: gcc
|
|
72
72
|
run: |
|
|
73
73
|
rustup target add x86_64-pc-windows-gnu
|
|
74
|
-
cargo build --verbose --target x86_64-pc-windows-gnu --features gobinds
|
|
74
|
+
cargo build --verbose --release --target x86_64-pc-windows-gnu --features gobinds
|
|
75
75
|
|
|
76
76
|
- name: Test Go module
|
|
77
77
|
if: runner.os != 'Windows'
|
|
@@ -98,19 +98,20 @@ jobs:
|
|
|
98
98
|
run: |
|
|
99
99
|
rustup target add x86_64-pc-windows-gnu --toolchain nightly
|
|
100
100
|
rustup component add rust-src --toolchain nightly
|
|
101
|
-
cargo +nightly rustc --release -Z build-std=std,panic_abort --target x86_64-pc-windows-gnu --no-default-features --features
|
|
101
|
+
cargo +nightly rustc --release -Z build-std=std,panic_abort --target x86_64-pc-windows-gnu --no-default-features --features gobinds --crate-type=staticlib
|
|
102
|
+
mv target/x86_64-pc-windows-gnu/release/libbeaconcrypt.a target/x86_64-pc-windows-gnu/release/libbeaconcrypt-gobinds-windows-mingw-x86_64.a
|
|
103
|
+
cargo +nightly rustc --release -Z build-std=std,panic_abort --target x86_64-pc-windows-gnu --no-default-features --features beacon --crate-type=staticlib
|
|
104
|
+
mv target/x86_64-pc-windows-gnu/release/libbeaconcrypt.a target/x86_64-pc-windows-gnu/release/libbeaconcrypt-beacon-windows-mingw-x86_64.a
|
|
102
105
|
ls target/x86_64-pc-windows-gnu/release
|
|
103
106
|
- name: Run tests
|
|
104
107
|
env:
|
|
105
108
|
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER: gcc
|
|
106
109
|
run: cargo test --verbose --target x86_64-pc-windows-gnu
|
|
107
|
-
- name: Rename
|
|
108
|
-
run: mv target/x86_64-pc-windows-gnu/release/libbeaconcrypt.a target/x86_64-pc-windows-gnu/release/libbeaconcrypt-windows-mingw-x86_64.a
|
|
109
110
|
- name: Upload release artifact
|
|
110
111
|
uses: actions/upload-artifact@v7
|
|
111
112
|
with:
|
|
112
113
|
name: beaconcrypt-static-windows-mingw-x86_64
|
|
113
|
-
path: target/x86_64-pc-windows-gnu/release/libbeaconcrypt
|
|
114
|
+
path: target/x86_64-pc-windows-gnu/release/libbeaconcrypt-*.a
|
|
114
115
|
retention-days: 7
|
|
115
116
|
|
|
116
117
|
release:
|
|
@@ -22,5 +22,9 @@ jobs:
|
|
|
22
22
|
run: sudo apt update && sudo apt install capnproto
|
|
23
23
|
- name: Build
|
|
24
24
|
run: cargo build --verbose
|
|
25
|
+
- name: Check PQXDH server build
|
|
26
|
+
run: cargo check --no-default-features --features pqxdh,server --lib
|
|
27
|
+
- name: Check PQXDH beacon build
|
|
28
|
+
run: cargo check --no-default-features --features pqxdh,beacon --lib
|
|
25
29
|
- name: Run tests
|
|
26
30
|
run: cargo test --verbose
|