From 13f84beccc02f586e01c52c08d94edea572610c6 Mon Sep 17 00:00:00 2001 From: kevin Heifner Date: Mon, 16 Mar 2026 16:52:15 -0500 Subject: [PATCH] Embed ED25519 public key in signature blob (96 bytes) Update ed_signature from 64 to 96 bytes to match the new self-contained ED25519 signature format: [0..31] 32-byte public key + [32..95] 64-byte signature. This eliminates the need for separate ed_pubkey_extension in transaction extensions. Companion to wire-sysio ed-sig-key changes. --- libraries/sysiolib/core/sysio/crypto.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libraries/sysiolib/core/sysio/crypto.hpp b/libraries/sysiolib/core/sysio/crypto.hpp index d605a37c7..42e73bb4d 100644 --- a/libraries/sysiolib/core/sysio/crypto.hpp +++ b/libraries/sysiolib/core/sysio/crypto.hpp @@ -248,12 +248,13 @@ namespace sysio { /** * SYSIO ED signature data - * - * Fixed size representation of a ED25519 signature - * + * + * Fixed size representation of a ED25519 signature (96 bytes = 32 pubkey + 64 sig) + * The public key is embedded at [0..31], the signature at [32..95]. + * * @ingroup signature */ - using ed_signature = std::array; + using ed_signature = std::array; /** * SYSIO BLS signature data