Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump umbral-pre to 0.8.1 #43

Merged
merged 2 commits into from
Jan 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions .github/workflows/nucypher-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,23 +109,21 @@ jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
toolchain: stable
target: x86_64-unknown-linux-gnu
override: true
- uses: actions-rs/tarpaulin@v0.1
with:
version: latest
# Only checking the coverage of the main library,
# bindings are covered by their language's tests.
# Also have to exclude `nucypher-core-python` explicitly,
# since it cannot be compiled for testing
# (https://github.com/PyO3/pyo3/issues/340)
args: --exclude-files nucypher-core-wasm/** --exclude-files nucypher-core-python/** --workspace --exclude nucypher-core-python --all-features -- --test-threads 1
- uses: codecov/codecov-action@v1
- uses: actions/upload-artifact@v1
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
# Only checking the coverage of the main library,
# bindings are covered by their language's tests.
- name: Generate code coverage
run: cargo llvm-cov --workspace --lcov --output-path lcov.info --all-features
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
name: code-coverage-report
path: cobertura.xml
files: lcov.info
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion nucypher-core-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crate-type = ["cdylib"]
[dependencies]
pyo3 = "0.17"
nucypher-core = { path = "../nucypher-core" }
umbral-pre = { version = "0.8", features = ["bindings-python"] }
umbral-pre = { version = "0.8.1", features = ["bindings-python"] }
derive_more = { version = "0.99", default-features = false, features = ["from", "as_ref"] }

[build-dependencies]
Expand Down
9 changes: 9 additions & 0 deletions nucypher-core-python/nucypher_core/umbral.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ class Signature:
def to_der_bytes(self) -> bytes:
...

def to_be_bytes(self) -> bytes:
...


class Capsule:

Expand All @@ -90,6 +93,9 @@ class Capsule:
def __bytes__(self) -> bytes:
...

def to_bytes_simple(self) -> bytes:
...


class KeyFrag:

Expand Down Expand Up @@ -154,6 +160,9 @@ class CapsuleFrag:
def __bytes__(self) -> bytes:
...

def to_bytes_simple(self) -> bytes:
...


class VerifiedCapsuleFrag:

Expand Down
2 changes: 1 addition & 1 deletion nucypher-core-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ crate-type = ["cdylib", "rlib"]
default = ["console_error_panic_hook"]

[dependencies]
umbral-pre = { version = "0.8", features = ["bindings-wasm"] }
umbral-pre = { version = "0.8.1", features = ["bindings-wasm"] }
nucypher-core = { path = "../nucypher-core" }
wasm-bindgen = "0.2.74"
js-sys = "0.3.51"
Expand Down
2 changes: 1 addition & 1 deletion nucypher-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ readme = "README.md"
categories = ["cryptography", "no-std"]

[dependencies]
umbral-pre = { version = "0.8", features = ["serde-support"] }
umbral-pre = { version = "0.8.1", features = ["serde-support"] }
serde = { version = "1", default-features = false, features = ["derive"] }
generic-array = "0.14"
sha3 = "0.10"
Expand Down