{
  "module": "pqc_interop",
  "claim_type": "enumeration",
  "provenance": "synthetic",
  "tool_version": "openssl+liboqs",
  "elapsed_seconds": 7.13,
  "notes": [
    "29 real interoperability/negative/X.509/TLS/rollback checks"
  ],
  "case_count": 29,
  "reproduction_recipe": [
    "Each case is one real correctness check, not a generated instance of a template -- see the seven test families (provider capability, key/signature + KEM negative tests, X.509, TLS/client-server incl. proxy/fragmentation, rollback) and expected_context.category for which family a given case belongs to.",
    "provider_*: query oqs.get_enabled_kem_mechanisms()/get_enabled_sig_mechanisms() for the named algorithm (qshield.pqc_lab.provider_capability).",
    "negative_kem_*/negative_sig_*: run qshield.pqc_lab.negative_kem_test()/negative_signature_test() -- corrupt a real ML-KEM ciphertext or ML-DSA signature/message/public-key and confirm the expected rejection behavior.",
    "x509_*/tls_*/proxy_*/fragmentation_*: generate a real three-tier ML-DSA X.509 chain and run a real TLS 1.3 handshake with hybrid X25519MLKEM768 key exchange via the system `openssl` binary (qshield.pqc_x509_lab) -- no oqs-provider needed, OpenSSL 3.5's default provider supports both natively.",
    "cert_scanner_*: run qshield.scanners.certificates.scan_certificate_files() against a real ML-DSA or SLH-DSA certificate and confirm it's reported as a finding, not silently dropped.",
    "rollback_*: rotate qshield.signing_keys' active signing key one or more times and confirm reports signed under retired keys stay verifiable, the rotation sequence is captured in the tamper-evident audit chain, a tampered manifest key_id is rejected, and no retired private key survives on disk."
  ],
  "cases": [
    {
      "case_id": "pqc_interop:provider_ml_kem_512",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "provider_capability"
      },
      "expected_note": "liboqs enables ML-KEM-512",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "provider_capability",
        "description": "liboqs enables ML-KEM-512"
      }
    },
    {
      "case_id": "pqc_interop:provider_ml_kem_768",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "provider_capability"
      },
      "expected_note": "liboqs enables ML-KEM-768",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "provider_capability",
        "description": "liboqs enables ML-KEM-768"
      }
    },
    {
      "case_id": "pqc_interop:provider_ml_kem_1024",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "provider_capability"
      },
      "expected_note": "liboqs enables ML-KEM-1024",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "provider_capability",
        "description": "liboqs enables ML-KEM-1024"
      }
    },
    {
      "case_id": "pqc_interop:provider_ml_dsa_44",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "provider_capability"
      },
      "expected_note": "liboqs enables ML-DSA-44",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "provider_capability",
        "description": "liboqs enables ML-DSA-44"
      }
    },
    {
      "case_id": "pqc_interop:provider_ml_dsa_65",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "provider_capability"
      },
      "expected_note": "liboqs enables ML-DSA-65",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "provider_capability",
        "description": "liboqs enables ML-DSA-65"
      }
    },
    {
      "case_id": "pqc_interop:provider_ml_dsa_87",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "provider_capability"
      },
      "expected_note": "liboqs enables ML-DSA-87",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "provider_capability",
        "description": "liboqs enables ML-DSA-87"
      }
    },
    {
      "case_id": "pqc_interop:negative_kem_no_exception_on_corrupted_ciphertext",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "negative_kem"
      },
      "expected_note": "ML-KEM decap on a corrupted ciphertext does not raise (FIPS 203 implicit rejection)",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "negative_kem",
        "description": "ML-KEM decap on a corrupted ciphertext does not raise (FIPS 203 implicit rejection)"
      }
    },
    {
      "case_id": "pqc_interop:negative_kem_corrupted_ciphertext_secret_mismatch",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "negative_kem"
      },
      "expected_note": "ML-KEM decap on a corrupted ciphertext does not match the sender's shared secret",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "negative_kem",
        "description": "ML-KEM decap on a corrupted ciphertext does not match the sender's shared secret"
      }
    },
    {
      "case_id": "pqc_interop:negative_sig_genuine_accepted",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "negative_signature"
      },
      "expected_note": "A genuine ML-DSA signature verifies",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "negative_signature",
        "description": "A genuine ML-DSA signature verifies"
      }
    },
    {
      "case_id": "pqc_interop:negative_sig_tampered_message_rejected",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "negative_signature"
      },
      "expected_note": "ML-DSA verify rejects a tampered message",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "negative_signature",
        "description": "ML-DSA verify rejects a tampered message"
      }
    },
    {
      "case_id": "pqc_interop:negative_sig_corrupted_signature_rejected",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "negative_signature"
      },
      "expected_note": "ML-DSA verify rejects a corrupted signature",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "negative_signature",
        "description": "ML-DSA verify rejects a corrupted signature"
      }
    },
    {
      "case_id": "pqc_interop:negative_sig_wrong_public_key_rejected",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "negative_signature"
      },
      "expected_note": "ML-DSA verify rejects the correct signature checked against the wrong public key",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "negative_signature",
        "description": "ML-DSA verify rejects the correct signature checked against the wrong public key"
      }
    },
    {
      "case_id": "pqc_interop:x509_chain_validates",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "x509"
      },
      "expected_note": "A real ML-DSA three-tier X.509 chain validates",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "x509",
        "description": "A real ML-DSA three-tier X.509 chain validates"
      }
    },
    {
      "case_id": "pqc_interop:x509_wrong_leaf_rejected",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "x509"
      },
      "expected_note": "Chain validation rejects a leaf from an unrelated CA",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "x509",
        "description": "Chain validation rejects a leaf from an unrelated CA"
      }
    },
    {
      "case_id": "pqc_interop:x509_rollover_new_leaf_validates",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "x509"
      },
      "expected_note": "A newly-issued leaf from the same intermediate CA validates",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "x509",
        "description": "A newly-issued leaf from the same intermediate CA validates"
      }
    },
    {
      "case_id": "pqc_interop:x509_rollover_old_leaf_still_validates",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "x509"
      },
      "expected_note": "The original leaf still validates after a new leaf is issued (renewal doesn't break the old one)",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "x509",
        "description": "The original leaf still validates after a new leaf is issued (renewal doesn't break the old one)"
      }
    },
    {
      "case_id": "pqc_interop:cert_scanner_mldsa_directly_observed",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "x509"
      },
      "expected_note": "CertificateScanner reports an ML-DSA certificate as a directly_observed finding, not a dropped error",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "x509",
        "description": "CertificateScanner reports an ML-DSA certificate as a directly_observed finding, not a dropped error"
      }
    },
    {
      "case_id": "pqc_interop:cert_scanner_slhdsa_signature_oid_fallback",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "x509"
      },
      "expected_note": "CertificateScanner reports an SLH-DSA certificate via signature-OID fallback, not a dropped error",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "x509",
        "description": "CertificateScanner reports an SLH-DSA certificate via signature-OID fallback, not a dropped error"
      }
    },
    {
      "case_id": "pqc_interop:tls_handshake_connects",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "tls"
      },
      "expected_note": "A real TLS handshake against an ML-DSA-signed server completes",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "tls",
        "description": "A real TLS handshake against an ML-DSA-signed server completes"
      }
    },
    {
      "case_id": "pqc_interop:tls_handshake_verification_ok",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "tls"
      },
      "expected_note": "The client verifies the server's ML-DSA certificate chain",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "tls",
        "description": "The client verifies the server's ML-DSA certificate chain"
      }
    },
    {
      "case_id": "pqc_interop:tls_handshake_protocol_tls13",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "tls"
      },
      "expected_note": "The negotiated protocol is TLS 1.3",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "tls",
        "description": "The negotiated protocol is TLS 1.3"
      }
    },
    {
      "case_id": "pqc_interop:tls_handshake_negotiated_hybrid_kem_group",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "tls"
      },
      "expected_note": "The negotiated key-exchange group is the hybrid X25519MLKEM768",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "tls",
        "description": "The negotiated key-exchange group is the hybrid X25519MLKEM768"
      }
    },
    {
      "case_id": "pqc_interop:tls_handshake_wrong_root_rejected",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "tls"
      },
      "expected_note": "Verification fails when the client trusts an unrelated root CA",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "tls",
        "description": "Verification fails when the client trusts an unrelated root CA"
      }
    },
    {
      "case_id": "pqc_interop:proxy_traversal_handshake_succeeds",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "proxy"
      },
      "expected_note": "The PQC handshake completes through a PQC-unaware transparent TCP relay",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "proxy",
        "description": "The PQC handshake completes through a PQC-unaware transparent TCP relay"
      }
    },
    {
      "case_id": "pqc_interop:fragmentation_handshake_succeeds",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "fragmentation"
      },
      "expected_note": "The PQC handshake completes when forced across many small (16-byte) TCP segments",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "fragmentation",
        "description": "The PQC handshake completes when forced across many small (16-byte) TCP segments"
      }
    },
    {
      "case_id": "pqc_interop:rollback_reports_remain_verifiable_across_rotations",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "rollback"
      },
      "expected_note": "Reports signed before a signing-key rotation remain verifiable after multiple further rotations",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "rollback",
        "description": "Reports signed before a signing-key rotation remain verifiable after multiple further rotations"
      }
    },
    {
      "case_id": "pqc_interop:rollback_rotation_sequence_audited",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "rollback"
      },
      "expected_note": "A sequence of signing-key rotations is fully captured, unbroken, in the tamper-evident audit chain",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "rollback",
        "description": "A sequence of signing-key rotations is fully captured, unbroken, in the tamper-evident audit chain"
      }
    },
    {
      "case_id": "pqc_interop:rollback_tampered_key_id_rejected",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "rollback"
      },
      "expected_note": "Verification rejects a report whose manifest key_id was tampered to point at a different valid key",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "rollback",
        "description": "Verification rejects a report whose manifest key_id was tampered to point at a different valid key"
      }
    },
    {
      "case_id": "pqc_interop:rollback_retired_key_not_recoverable",
      "claim_type": "enumeration",
      "expected": {
        "vulnerable": null,
        "present": true
      },
      "expected_context": {
        "category": "rollback"
      },
      "expected_note": "No private-key bytes for a retired signing key exist on disk after rotation",
      "actual_outcome": "PRESENT",
      "actual_detail": {
        "category": "rollback",
        "description": "No private-key bytes for a retired signing key exist on disk after rotation"
      }
    }
  ]
}