diff --git a/Cargo.toml b/Cargo.toml index 658ebe0b..64072cd8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ num-traits = "0.2" polynomial = { version = "0.2.5", features = ["serde"] } primitive-types = "0.12" rand_core = "0.6" -p256k1 = { version = "5.5", default-features = false } +p256k1 = { version = "6.0", default-features = false } serde = { version = "1.0", features = ["derive"] } sha2 = "0.10" thiserror = "1.0" diff --git a/src/common.rs b/src/common.rs index 816dbec0..b0aebedf 100644 --- a/src/common.rs +++ b/src/common.rs @@ -120,7 +120,7 @@ pub struct SignatureShare { #[allow(non_snake_case)] /// An aggregated group signature -#[derive(Clone)] +#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] pub struct Signature { /// The sum of the public nonces with commitments to the signed message pub R: Point,