-
Notifications
You must be signed in to change notification settings - Fork 4
Appendix B: Add BLS CDDL definitions for Leios cryptography #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: leios
Are you sure you want to change the base?
Appendix B: Add BLS CDDL definitions for Leios cryptography #27
Conversation
will-break-it
left a comment
There was a problem hiding this 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!
CIP-0164/README.md
Outdated
| 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 |
There was a problem hiding this comment.
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
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
There was a problem hiding this comment.
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!
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