From 676002220f440aa2b7cdcbd3ac4e5f91c559d1de Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Wed, 3 Sep 2025 17:25:05 +0200 Subject: [PATCH 1/2] chore(common): rollback single signature encoding to JSON hex The binary encoding will be activated in a future distribution. --- mithril-common/src/crypto_helper/types/wrappers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mithril-common/src/crypto_helper/types/wrappers.rs b/mithril-common/src/crypto_helper/types/wrappers.rs index 4ef2cabb6fc..bb766cfdebc 100644 --- a/mithril-common/src/crypto_helper/types/wrappers.rs +++ b/mithril-common/src/crypto_helper/types/wrappers.rs @@ -31,9 +31,9 @@ pub type ProtocolMkProof = ProtocolKey>; impl_codec_and_type_conversions_for_protocol_key!( json_hex_codec => AggregateSignature, ed25519_dalek::VerifyingKey, ed25519_dalek::SigningKey, AggregateVerificationKey, - MKProof, VerificationKeyProofOfPossession, Sum6KesSig, OpCert + MKProof, VerificationKeyProofOfPossession, Sum6KesSig, OpCert, SingleSignature ); impl_codec_and_type_conversions_for_protocol_key!( - bytes_hex_codec => SingleSignature, ed25519_dalek::Signature + bytes_hex_codec => ed25519_dalek::Signature ); From 4671b53133c9af75ed5b6972a0f28fe9a95686f1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Wed, 3 Sep 2025 17:25:10 +0200 Subject: [PATCH 2/2] chore: upgrade crate versions * mithril-common from `0.6.15` to `0.6.16` --- Cargo.lock | 2 +- mithril-common/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cf389c21fdf..191f0cca8fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4201,7 +4201,7 @@ dependencies = [ [[package]] name = "mithril-common" -version = "0.6.15" +version = "0.6.16" dependencies = [ "anyhow", "async-trait", diff --git a/mithril-common/Cargo.toml b/mithril-common/Cargo.toml index ec51525a707..9d2322d0f88 100644 --- a/mithril-common/Cargo.toml +++ b/mithril-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-common" -version = "0.6.15" +version = "0.6.16" description = "Common types, interfaces, and utilities for Mithril nodes." authors = { workspace = true } edition = { workspace = true }