Repository navigation
Document ML-DSA signature verification - #3187
Conversation
Protocol 30 (CAP-87) adds host functions that verify ML-DSA (FIPS 204) signatures. - authorization: add a section with the host functions, the key and signature sizes, and the Rust SDK methods. - smart-wallets: add a short section that links to it. - fees-resource-limits-metering: link ContractCostType at the Protocol 30 XDR, which has the ML-DSA cost types.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
/triage |
|
🤖 Automated message from Doxie. Reviewing because @kaankacar asked with /triage. Verified: the names, sizes, context rule, and envelope scope match CAP-87 and soroban-sdk v30.0.0-rc.1. The anchor renders on the preview. I pushed one fix (53343b4): the fees page's other XDR link now uses the same v30.0 commit, with the type name and closing parenthesis corrected. Ready to merge. What I checked
|
ElliotFriend
left a comment
There was a problem hiding this comment.
Looks good, checked against CAP-87 and the SDK source.
soroban-sdk 30.0.0 is released. The section named 30.0.0-rc.1.
|
🤖 Automated message from Doxie. Back on this because @kaankacar pushed ce43b3c. Verified: soroban-sdk 30.0.0 is the stable release and has Ready to merge. What I checked
|
Refs #3184
What
docs/learn/fundamentals/contract-development/authorization.mdx: add the section "ML-DSA and post-quantum signatures". It lists the three host functions, the key and signature sizes, the context argument, and the Rust SDK methods.docs/build/guides/contract-accounts/smart-wallets.mdx: add a short section "ML-DSA on Stellar" that links to it.docs/learn/fundamentals/fees-resource-limits-metering.mdx: point theContractCostTypelink at the Protocol 30 XDR. That list has the ML-DSA cost types.Verification
rs-soroban-sdkv30.0.0soroban-sdk/src/crypto.rs:Crypto::ml_dsa_44_verify,ml_dsa_65_verify, andml_dsa_87_verify. They panic on a signature that is not valid.stellar-xdrv30.0Stellar-contract-config-setting.xlines 116-318:ContractCostType, with the ML-DSA entries 86 to 94.pnpm checkpasses.Notes
30.0.0, not30.0.0-rc.1.