Skip to content

test(xmldsig): verify generated signatures with xmlsec1 #90

Description

@polaz

Problem

The signing pipeline is covered by internal round-trip tests, but it is not yet verified by an independent XMLDSig implementation.

Scope

  • Sign RSA-SHA256, ECDSA P-256/SHA-256, and ECDSA P-384/SHA-384 documents through the public signing API.
  • Verify each generated document with the xmlsec1 command-line verifier and its matching public key.
  • Prove that the external verifier rejects a tampered signed payload.
  • Install xmlsec1 in CI so the interoperability contract is mandatory.

Acceptance Criteria

  • External verification succeeds for all supported signing algorithms above.
  • A modified signed payload is rejected by xmlsec1.
  • CI runs the interop tests on every supported Rust toolchain.

Validation

  • cargo nextest run --all-features
  • cargo test --doc --all-features

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