{
  "policyFormat": "pkic.cbom.policy",
  "policyFormatVersion": "0.1",
  "policyId": "pkic.example.policy.edge-posture",
  "version": "0.1",
  "title": "Post-quantum posture of a connection, from both of its ends",
  "status": "illustrative",
  "$comment": "An example policy. It joins the two ends of each connection along peerInterface (deployment-disclosure I4, decision 0026) and, for each purpose, says whether the connection meets the target and, if not, which end limits it. Each end is described by its own operator's records: the configured record says what the end permits, and the observed record, where supplied, says what was negotiated. The classification and the targets are the readiness-gap policy's, so the two results can be read together. The evaluation method is implemented by evaluate_policy.py. The result points to every record it used by digest.",
  "method": "edge-posture",
  "inputs": {
    "profiles": [
      "pkic.example.deployment-disclosure",
      "pkic.example.pqc-migration"
    ],
    "stages": [
      "implemented",
      "configured",
      "observed"
    ]
  },
  "classification": [
    {
      "names": [
        "RSA-1024"
      ],
      "family": "RSA",
      "securityStrength": 80,
      "quantumVulnerable": true
    },
    {
      "names": [
        "RSA-2048",
        "RS256",
        "RS384",
        "RS512",
        "PS256",
        "PS384",
        "PS512",
        "RSA-SHA256",
        "RSA-OAEP",
        "RSA-OAEP-256",
        "rsa_pkcs1_sha256",
        "rsa_pss_rsae_sha256",
        "rsa_pss_rsae_sha384",
        "rsa_pss_rsae_sha512",
        "rsa_pss_pss_sha256",
        "RSA-SHA384",
        "RSA-SHA512"
      ],
      "family": "RSA",
      "securityStrength": 112,
      "quantumVulnerable": true,
      "note": "JOSE and TLS names do not carry the RSA key size. They are classified at 112 bits, the strength of the RSA-2048 keys Keycloak generates by default; a record that states a larger key in its key material is classified by that key."
    },
    {
      "names": [
        "RSA-3072"
      ],
      "family": "RSA",
      "securityStrength": 128,
      "quantumVulnerable": true
    },
    {
      "names": [
        "ffdhe2048"
      ],
      "family": "FFDH",
      "securityStrength": 112,
      "quantumVulnerable": true
    },
    {
      "names": [
        "ffdhe3072"
      ],
      "family": "FFDH",
      "securityStrength": 128,
      "quantumVulnerable": true
    },
    {
      "names": [
        "X25519",
        "secp256r1",
        "P-256",
        "ECDH-ES",
        "ES256",
        "ECDSA-P256-SHA256",
        "ecdsa_secp256r1_sha256",
        "Ed25519",
        "EdDSA",
        "ed25519",
        "ECDSA-SHA256"
      ],
      "family": "EC",
      "securityStrength": 128,
      "quantumVulnerable": true
    },
    {
      "names": [
        "secp384r1",
        "P-384",
        "ES384",
        "ecdsa_secp384r1_sha384",
        "ECDSA-SHA384"
      ],
      "family": "EC",
      "securityStrength": 192,
      "quantumVulnerable": true
    },
    {
      "names": [
        "X448",
        "Ed448",
        "ed448"
      ],
      "family": "EC",
      "securityStrength": 224,
      "quantumVulnerable": true
    },
    {
      "names": [
        "secp521r1",
        "P-521",
        "ES512",
        "ecdsa_secp521r1_sha512",
        "ECDSA-SHA512"
      ],
      "family": "EC",
      "securityStrength": 256,
      "quantumVulnerable": true
    },
    {
      "names": [
        "X25519MLKEM768",
        "SecP256r1MLKEM768",
        "SecP384r1MLKEM1024",
        "ML-KEM-768",
        "ML-KEM-1024",
        "ML-KEM-512"
      ],
      "family": "ML-KEM",
      "quantumVulnerable": false,
      "note": "Hybrid groups are classified by their post-quantum component."
    },
    {
      "names": [
        "ML-DSA-44",
        "ML-DSA-65",
        "ML-DSA-87",
        "mldsa44",
        "mldsa65",
        "mldsa87",
        "SLH-DSA-SHA2-128s",
        "SLH-DSA-SHAKE-128s"
      ],
      "family": "ML-DSA/SLH-DSA",
      "quantumVulnerable": false
    },
    {
      "names": [
        "AES-128",
        "AES-128-GCM",
        "AES-256-GCM",
        "ChaCha20-Poly1305",
        "HMAC-SHA512",
        "HS256",
        "HS384",
        "HS512"
      ],
      "family": "symmetric",
      "quantumVulnerable": false,
      "note": "Symmetric algorithms are outside the IR 8547 public-key transition."
    }
  ],
  "purposes": {
    "key-establishment": {
      "attribute": "keyExchange",
      "capabilityAttribute": "keyExchangeSupported",
      "target": {
        "quantumVulnerable": false,
        "familyIn": [
          "ML-KEM"
        ]
      }
    },
    "entity-authentication": {
      "attribute": "authentication",
      "capabilityAttribute": "authenticationSupported",
      "target": {
        "quantumVulnerable": false,
        "familyIn": [
          "ML-DSA/SLH-DSA"
        ]
      }
    }
  },
  "classes": {
    "target-met": "Every value negotiated on the connection meets the target. Without an observation, both ends permit a common value that meets it.",
    "limited-by-end": "One end permits a target value and the other does not. The end that does not is the limit, and is named. Where its product record states what blocks it, that is reported too.",
    "neither-end-permits": "Neither end permits a value that meets the target. Both ends have to change.",
    "fallback-or-intermediary": "Both ends permit a target value, and a session was seen to negotiate one that does not meet it. The limit is a fallback path or something between the two ends.",
    "no-common-target": "Both ends permit a target value, but not the same one, and no observation shows what they negotiate.",
    "limit-unknown": "At least one end has no configured record, or states its permitted values as decided elsewhere, so the limit cannot be placed.",
    "not-applicable": "No algorithm is applied for this purpose on the connection.",
    "unprotected": "An end applies no cryptography at all on this connection.",
    "peer-not-supplied": "An interface names a far end in a document that was not supplied to the evaluation.",
    "peer-not-found": "An interface names a far end that is not an interface in the document it points into."
  },
  "changelog": [
    {
      "version": "0.1",
      "date": "2026-11-01",
      "summary": "Initial example (decision 0026)."
    }
  ]
}
