Skip to content

feat: implement XMLDSig full verify pipeline (P1-021) #29

@polaz

Description

@polaz

Summary

Implement roadmap task P1-021: end-to-end XMLDSig signature verification pipeline.

Scope

  • add full verification pipeline API for a Signature node:
    • parse Signature/SignedInfo
    • verify SignedInfo Reference digests (fail-fast)
    • canonicalize SignedInfo
    • decode SignatureValue (base64)
    • verify cryptographic signature using RSA/ECDSA public key
  • add integration tests for valid donor vectors (RSA + ECDSA)
  • add negative integration tests (tampered DigestValue / SignatureValue)
  • update README status to reflect that end-to-end XMLDSig signature verification is now implemented (while VerifyContext remains in progress)

Acceptance Criteria

  • pipeline returns structured result distinguishing digest-stage and signature-stage validity
  • donor RSA and ECDSA full-pipeline tests pass
  • tampered digest fails before signature stage
  • tampered signature fails after digest stage
  • cargo check/clippy/nextest/doc-tests pass
  • README status section updated consistently

Estimate

4h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions