Skip to content

Commit

Permalink
updaging blsful and vsss-rs
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Grantham <dwh@linuxprogrammer.org>
  • Loading branch information
dhuseby committed Mar 10, 2024
1 parent 836548c commit 52dc877
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "multikey"
version = "0.8.4"
version = "0.8.5"
edition = "2021"
authors = ["Dave Huseby <dwh@linuxprogrammer.org>"]
description = "Multikey self-describing cryptographic key data"
Expand All @@ -13,7 +13,7 @@ default = ["serde"]

[dependencies]
bcrypt-pbkdf = "0.10"
blsful = "2.4"
blsful = "2.5"
ed25519-dalek = { version = "2.0", features = ["rand_core"] }
elliptic-curve = "0.13"
hex = "0.4"
Expand All @@ -33,7 +33,7 @@ ssh-encoding = "0.2"
thiserror = "1.0"
typenum = "1.17"
unsigned-varint = { version = "0.8", features = ["std"]}
vsss-rs = "3.3"
vsss-rs = "3.4"
zeroize = "1.6"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions src/views/bls12381.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ impl<'a> ConvView for View<'a> {
let public_key = secret_key
.public_key()
.map_err(|e| ConversionsError::PublicKeyFailure(e.to_string()))?;
let key_bytes = public_key.0.value().to_vec();
let key_bytes = public_key.0 .0.value().to_vec();
Builder::new(Codec::Bls12381G1PubShare)
.with_comment(&self.mk.comment)
.with_key_bytes(&key_bytes)
Expand Down Expand Up @@ -431,7 +431,7 @@ impl<'a> ConvView for View<'a> {
let public_key = secret_key
.public_key()
.map_err(|e| ConversionsError::PublicKeyFailure(e.to_string()))?;
let key_bytes = public_key.0.value().to_vec();
let key_bytes = public_key.0 .0.value().to_vec();
Builder::new(Codec::Bls12381G1PubShare)
.with_comment(&self.mk.comment)
.with_key_bytes(&key_bytes)
Expand Down

0 comments on commit 52dc877

Please sign in to comment.