# A correctly generated key that was disclosed afterwards: C2 only (classification R2-8).
case: leaked-key
subject: {secret_role: long-term, algorithm: ECDSA, parameters: P-256, context: "code-signing key generated in an HSM, later committed to a public repository by mistake"}
validity: {status: valid}
findings:
  - class: C2
    compromise: {mode: disclosed, party: public, history: unknown}
    evidence: demonstrated
    note: "No B2: the key was generated correctly and the disclosure came afterwards. Compare published-key, where the key was provisioned by copying a value that was already public, which is B2 as well."
disposition: {action: treat-as-compromised, rule: 1}
