Skip to content

Conversation

@hjeljeli32
Copy link

This PR adds the missing CDDL definitions for Leios BLS cryptographic objects:
• Verification keys
• Signatures
• Proofs-of-possession
• MinPk and MinSig size variants

The update follows the team discussion confirming that:
• All BLS objects are encoded as fixed-size bytes in CDDL
• MinPk is the expected variant for Leios deployment
• Consensus may switch to MinSig without modifying other CDDL structures

Copy link
Collaborator

@will-break-it will-break-it left a comment

Choose a reason for hiding this comment

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

Thanks for the fixes and the additions!

@hjeljeli32 hjeljeli32 requested a review from ch1bo December 4, 2025 02:35
Leios uses **BLS12-381 MinSig** (small signature, large verification key).
– Verification key = compressed G2 = 96 bytes
– Signature = compressed G1 = 48 bytes
– Proof-of-Possession = 48 bytes
Copy link
Member

@ch1bo ch1bo Dec 4, 2025

Choose a reason for hiding this comment

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

@hjeljeli32 Rendering of this list is off

image

IIRC we used prettier to format the markdown during editing and there is https://github.com/input-output-hk/ouroboros-leios/blob/main/scripts/format-cip.sh

Copy link
Author

Choose a reason for hiding this comment

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

@ch1bo
I ran the format-cip.sh formatter and also fixed the Unicode dashes in the MinSig list so the Markdown renders correctly now.
Thanks for catching that!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants