Skip to content

Protocol 30: document ML-DSA signature verification (CAP-87) #3184

Backlog

Description

@kaankacar

Problem

Protocol 30 (CAP-87) adds three host functions that verify ML-DSA (FIPS 204) signatures: verify_sig_ml_dsa_44, verify_sig_ml_dsa_65, and verify_sig_ml_dsa_87. No page under docs/ mentions them. Only the meeting notes do.

docs/learn/fundamentals/fees-resource-limits-metering.mdx:152 links ContractCostType at an old XDR commit. That list does not have the new ML-DSA cost types.

Proposed change

  • Add a short section on ML-DSA verification. Candidate places: docs/learn/fundamentals/contract-development/authorization.mdx, after "Secp256r1, passkeys and contract accounts" (line 122), and the signer types in docs/build/guides/contract-accounts/smart-wallets.mdx.

  • Name the Rust SDK methods: Crypto::ml_dsa_44_verify, ml_dsa_65_verify, and ml_dsa_87_verify (soroban-sdk 30.0.0-rc.1 release notes). They panic on an invalid signature, like ed25519_verify.

  • Give the sizes from CAP-87:

    Parameter set Public key Signature
    ML-DSA-44 1312 bytes 2420 bytes
    ML-DSA-65 1952 bytes 3309 bytes
    ML-DSA-87 2592 bytes 4627 bytes
  • State the scope. Contracts can verify ML-DSA signatures, for example in __check_auth of a contract account. Network transaction signatures stay Ed25519.

  • Update the ContractCostType link to the Protocol 30 XDR.

Status

Why now

Mainnet upgraded to Protocol 30 on November 23, 2026.

Activity

  1. added
    documentation
    on Nov 23, 2026
  2. stellar-doxie commented on Nov 23, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    I saw this issue. Nobody has called me in yet, so I am not working it. A maintainer can call me in.

    How to reach me: anyone with write permission can call me in with a /triage comment, the bot:take label, or by assigning @kaankacar, @ElliotFriend or @wmendes. The issue author can send me away with /triage stop. People with write permission can also use the bot:hands-off label.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions