Skip to content

Update Test-Suite for RFC 9810 CMP v3 #28

@Guiliano99

Description

@Guiliano99

With the publication of RFC 9810 — Internet X.509 Public Key Infrastructure: Certificate Management Protocol (CMP), the CMP test suite should be revised to reflect the finalized standard. All references, documentation, and test coverage must be updated to ensure compliance with the official RFC rather than the draft specifications.

Motivation and Context

  • The CMP RFC is finalized as RFC 9810.
  • Test coverage and implementation details should align with the final RFC specifications.
  • This ensures the test suite remains current with the latest CMP standards.

Desired Support

  • Update all references for draft-ietf-lamps-rfc4210bis* to RFC 9810.
  • Ensure test cases comply with the final RFC 9810 specifications.
  • Update documentation and coverage reports to reflect RFC 9810.
  • Verify that all CMP protocol features defined in RFC 9810 are properly tested.
  • Create a separate Test Coverage section for CMP that only lists CMP features not covered by RFC 9483.

Fixes

Required Work Items

  1. Update Test Case Comments and Documentation

    • Review all Robot Framework test files in the tests/, tests_mock_ca/, and tests_pq_and_hybrid/ directories.
    • Consider moving the KEM test cases to the tests/ folder since they are part of RFC 9810.
    • Update any comments or documentation strings that reference the draft version.
    • Ensure test case descriptions align with RFC 9810 terminology.
    • Add a configuration variable for KEM tests to choose an algorithm (e.g., RSA-KEM or ML-DSA).
  2. Validate Test Coverage Against RFC 9810

    • Review existing test cases to ensure they cover all features specified in RFC 9810.
    • Identify any new requirements or changes in RFC 9810 that may need additional test coverage.
    • Update test case descriptions to reference specific sections of RFC 9810 where applicable.
  3. Update Coverage Documentation

    • Update SERVER_TEST_COVERAGE.md to reference RFC 9810 (only CMP features that are not part of RFC 9483).
  4. Code Comments and Implementation Notes

    • Search through Python code in mock_ca/ and resources/ for draft references.
    • Update implementation comments that reference the draft version.
    • Ensure any RFC-specific implementation details are correctly referenced.
  5. Configuration Files

    • Review configuration files in the config/ directory for needed updates.
  6. Verification and Testing

    • Verify that MockCA and other components support all features as per RFC 9810.
    • Create additional issues to support any missing features if necessary.
  7. Update References Documentation

    • Update REFERENCES.md to replace draft references with RFC 9810.

Test Coverage

References

  • RFC 9810Internet X.509 Public Key Infrastructure — Certificate Management Protocol (CMP)
  • RFC 9483Lightweight Certificate Management Protocol (CMP) Profile

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