Skip to content

Implement feedback from nucypher-core integration#119

Merged
piotr-roslaniec merged 12 commits intomainfrom
nucypher-core-integration
Jun 2, 2023
Merged

Implement feedback from nucypher-core integration#119
piotr-roslaniec merged 12 commits intomainfrom
nucypher-core-integration

Conversation

@piotr-roslaniec
Copy link
Copy Markdown

@piotr-roslaniec piotr-roslaniec commented May 22, 2023

Based on #118. Please review it first.

Type of PR:

  • Feature

Required reviews:

  • 2

What this does:

  • Implements changes required for Integrate with ferveo crate nucypher-core#53
  • Renames PublicKey to FerveoPublicKey and encrypt to ferveoEncrypt in WASM bindings to avoid WASM symbol conflict with rust-umbral WASM symbols
  • Releases *-pre-release packages for convenience, updates package metadata

Issues fixed/closed:

Why it's needed:

  • Need to apply this feedback before creating a stable release of ferveo and its bindings

Notes for reviewers:

  • I expect this PR to contain functional changes as it changes how bindings are used. This could result in breaking changes in bindings.
  • Should we consistently rename PublicKey to FerveoPublicKey across the codebase?

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 23, 2023

Codecov Report

Merging #119 (1b33424) into expose-bindings-from-main-crate (494d061) will decrease coverage by 0.10%.
The diff coverage is 57.29%.

@@                         Coverage Diff                         @@
##           expose-bindings-from-main-crate     #119      +/-   ##
===================================================================
- Coverage                            77.50%   77.41%   -0.10%     
===================================================================
  Files                                   24       24              
  Lines                                 4935     4968      +33     
===================================================================
+ Hits                                  3825     3846      +21     
- Misses                                1110     1122      +12     
Impacted Files Coverage Δ
ferveo/src/bindings_wasm.rs 0.00% <0.00%> (ø)
ferveo/src/validator.rs 82.14% <ø> (ø)
ferveo/src/bindings_python.rs 58.54% <28.57%> (-0.83%) ⬇️
ferveo/src/api.rs 90.46% <85.29%> (-0.68%) ⬇️
ferveo-common/src/keypair.rs 74.83% <100.00%> (+0.86%) ⬆️
ferveo/src/dkg.rs 95.49% <100.00%> (ø)
ferveo/src/lib.rs 97.40% <100.00%> (+<0.01%) ⬆️

@piotr-roslaniec piotr-roslaniec marked this pull request as ready for review May 29, 2023 07:05
black_box, criterion_group, criterion_main, BenchmarkId, Criterion,
};
use group_threshold_cryptography::{
use group_threshold_cryptography_pre_release::{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we intend to keep this crate name as _pre_release?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I will have these dependencies properly renamed and released during the stable ferveo release. Releasing *-pre-release crates was an exercise in preparing the stable release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

4 participants