{
  "format": "3p.countersign-vectors/1",
  "domain": "inst.test",
  "keyfile": {
    "format": "3p.domain-keys/1",
    "domain": "inst.test",
    "keys": [
      {
        "kid": "2026-registrar",
        "jwk": {
          "crv": "P-256",
          "kty": "EC",
          "x": "VxaimlR-vipbvbbvAeH_Z2azjX_SA1OTlfaVAgbFVUE",
          "y": "ztpZmHK26Q3jFeike43nMyuWi1yYCssbGNEOA1O7rhI"
        },
        "purpose": [
          "countersign"
        ],
        "valid_from": "2026-01-01",
        "valid_until": null
      }
    ],
    "retired": [
      {
        "kid": "2025-registrar",
        "jwk": {
          "crv": "P-256",
          "kty": "EC",
          "x": "qmdPslnFwzLbdOiID_dqmdk8XoE-UsaV_ExDGNiiVTM",
          "y": "0IbXZNhcrMvjGX-c6s7K5RTTyqxjhZFJr3NmyhXRAng"
        },
        "purpose": [
          "countersign"
        ],
        "valid_from": "2025-01-01",
        "valid_until": "2025-12-31"
      }
    ],
    "revoked": [
      "2024-stolen"
    ]
  },
  "note": "test keys only; identify nobody",
  "cases": [
    {
      "name": "counts",
      "packet": {
        "format": "3p.card/1",
        "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
        "persona": "study",
        "issued": "2026-10-18T00:00:00Z",
        "expires": "2099-01-01T00:00:00Z",
        "facts": [
          {
            "id": "f1",
            "text": "Completed the MSc",
            "attestations": [
              {
                "tier": "signed",
                "by": "inst.test",
                "countersign": {
                  "format": "3p.countersign/1",
                  "of": {
                    "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
                    "fact": "6eb2cdffcd1b7e6654138e1403b040c8d77365961f3275e1f48a1e41757a9872"
                  },
                  "by": {
                    "domain": "inst.test",
                    "kid": "2026-registrar"
                  },
                  "issued": "2026-10-01T00:00:00Z",
                  "proof": {
                    "alg": "ECDSA-P256-SHA256",
                    "key": {
                      "crv": "P-256",
                      "kty": "EC",
                      "x": "VxaimlR-vipbvbbvAeH_Z2azjX_SA1OTlfaVAgbFVUE",
                      "y": "ztpZmHK26Q3jFeike43nMyuWi1yYCssbGNEOA1O7rhI"
                    },
                    "sig": "EoDkoEnunaLH9INvF7o0JCf5l8LOPzi9ne7GNZiindklACDzTXEZ2zl9CPur1bvGzyZIC668emZ1y2OIE1raUA"
                  }
                }
              }
            ]
          },
          {
            "id": "f2",
            "text": "Taught the signals course",
            "attestations": []
          }
        ],
        "preferences": [],
        "constraints": [],
        "context": [],
        "salience": [],
        "proof": {
          "alg": "ECDSA-P256-SHA256",
          "key": {
            "crv": "P-256",
            "kty": "EC",
            "x": "5PPLYpiXKKqloemmUAXYFA-7J_5q8ymINxdliajh-v0",
            "y": "PRTkKIaDABpooaDPGUN7rU10M5489A-bJ1bVR9CWErU"
          },
          "sig": "U2kCkbPngd98MHZdgj5ytp-8Be-g92VziKrCfIlHSuliMhXMg0VzHdjseho9DWAjomhwtm5m2rj85uzmJUB_3A"
        }
      },
      "fact": "f1",
      "ok": true,
      "says": "countersigned by a key published at inst.test"
    },
    {
      "name": "retired-key-in-its-time",
      "packet": {
        "format": "3p.card/1",
        "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
        "persona": "study",
        "issued": "2026-10-18T00:00:00Z",
        "expires": "2099-01-01T00:00:00Z",
        "facts": [
          {
            "id": "f1",
            "text": "Completed the MSc",
            "attestations": [
              {
                "tier": "signed",
                "by": "inst.test",
                "countersign": {
                  "format": "3p.countersign/1",
                  "of": {
                    "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
                    "fact": "6eb2cdffcd1b7e6654138e1403b040c8d77365961f3275e1f48a1e41757a9872"
                  },
                  "by": {
                    "domain": "inst.test",
                    "kid": "2025-registrar"
                  },
                  "issued": "2025-06-01T00:00:00Z",
                  "proof": {
                    "alg": "ECDSA-P256-SHA256",
                    "key": {
                      "crv": "P-256",
                      "kty": "EC",
                      "x": "qmdPslnFwzLbdOiID_dqmdk8XoE-UsaV_ExDGNiiVTM",
                      "y": "0IbXZNhcrMvjGX-c6s7K5RTTyqxjhZFJr3NmyhXRAng"
                    },
                    "sig": "quulgYc4Ank2x1pcpgJ-V483yy733Sb1feIjNLBu0B4JVk5opom3B75vFyR47sPG5c1OL25VQdfBDloRKCqSHg"
                  }
                }
              }
            ]
          },
          {
            "id": "f2",
            "text": "Taught the signals course",
            "attestations": []
          }
        ],
        "preferences": [],
        "constraints": [],
        "context": [],
        "salience": [],
        "proof": {
          "alg": "ECDSA-P256-SHA256",
          "key": {
            "crv": "P-256",
            "kty": "EC",
            "x": "5PPLYpiXKKqloemmUAXYFA-7J_5q8ymINxdliajh-v0",
            "y": "PRTkKIaDABpooaDPGUN7rU10M5489A-bJ1bVR9CWErU"
          },
          "sig": "MScHv5UkmReD54hzFuP-T26Th1zHruZtxSy4rrLeEcQsky7Vzmcao4MWMJHJbvgYqHRsR9ii1E7uUZStnLD66g"
        }
      },
      "fact": "f1",
      "ok": true,
      "says": "countersigned by a key published at inst.test"
    },
    {
      "name": "retired-key-after",
      "packet": {
        "format": "3p.card/1",
        "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
        "persona": "study",
        "issued": "2026-10-18T00:00:00Z",
        "expires": "2099-01-01T00:00:00Z",
        "facts": [
          {
            "id": "f1",
            "text": "Completed the MSc",
            "attestations": [
              {
                "tier": "signed",
                "by": "inst.test",
                "countersign": {
                  "format": "3p.countersign/1",
                  "of": {
                    "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
                    "fact": "6eb2cdffcd1b7e6654138e1403b040c8d77365961f3275e1f48a1e41757a9872"
                  },
                  "by": {
                    "domain": "inst.test",
                    "kid": "2025-registrar"
                  },
                  "issued": "2026-02-01T00:00:00Z",
                  "proof": {
                    "alg": "ECDSA-P256-SHA256",
                    "key": {
                      "crv": "P-256",
                      "kty": "EC",
                      "x": "qmdPslnFwzLbdOiID_dqmdk8XoE-UsaV_ExDGNiiVTM",
                      "y": "0IbXZNhcrMvjGX-c6s7K5RTTyqxjhZFJr3NmyhXRAng"
                    },
                    "sig": "6G6F7fQbq5PSaXC1R6WL67lweaA5cEKq6hc5NZE4nVRv4FYOHshg2wj4WnDZsU2OQ05Y--VYAeAF5lxMQ9uhIw"
                  }
                }
              }
            ]
          },
          {
            "id": "f2",
            "text": "Taught the signals course",
            "attestations": []
          }
        ],
        "preferences": [],
        "constraints": [],
        "context": [],
        "salience": [],
        "proof": {
          "alg": "ECDSA-P256-SHA256",
          "key": {
            "crv": "P-256",
            "kty": "EC",
            "x": "5PPLYpiXKKqloemmUAXYFA-7J_5q8ymINxdliajh-v0",
            "y": "PRTkKIaDABpooaDPGUN7rU10M5489A-bJ1bVR9CWErU"
          },
          "sig": "ECEsWNWIUuq49DdF-ACA0wxIwzmKfME3tuCUcVbRGddnv_6FpNeVYUEpR5obzVz7bZrTDShjgX0-XKdRlB3apw"
        }
      },
      "fact": "f1",
      "ok": false,
      "says": "signed outside the dates inst.test gives that key"
    },
    {
      "name": "revoked",
      "packet": {
        "format": "3p.card/1",
        "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
        "persona": "study",
        "issued": "2026-10-18T00:00:00Z",
        "expires": "2099-01-01T00:00:00Z",
        "facts": [
          {
            "id": "f1",
            "text": "Completed the MSc",
            "attestations": [
              {
                "tier": "signed",
                "by": "inst.test",
                "countersign": {
                  "format": "3p.countersign/1",
                  "of": {
                    "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
                    "fact": "6eb2cdffcd1b7e6654138e1403b040c8d77365961f3275e1f48a1e41757a9872"
                  },
                  "by": {
                    "domain": "inst.test",
                    "kid": "2024-stolen"
                  },
                  "issued": "2026-10-01T00:00:00Z",
                  "proof": {
                    "alg": "ECDSA-P256-SHA256",
                    "key": {
                      "crv": "P-256",
                      "kty": "EC",
                      "x": "qmdPslnFwzLbdOiID_dqmdk8XoE-UsaV_ExDGNiiVTM",
                      "y": "0IbXZNhcrMvjGX-c6s7K5RTTyqxjhZFJr3NmyhXRAng"
                    },
                    "sig": "lHRBSZBnrWADNbjz943LV3HtKANov9MyDULmVspt0fkHrFcuhJhHR9AxVYHisQFyYqPUt2NMnwvybtO_9hpWMA"
                  }
                }
              }
            ]
          },
          {
            "id": "f2",
            "text": "Taught the signals course",
            "attestations": []
          }
        ],
        "preferences": [],
        "constraints": [],
        "context": [],
        "salience": [],
        "proof": {
          "alg": "ECDSA-P256-SHA256",
          "key": {
            "crv": "P-256",
            "kty": "EC",
            "x": "5PPLYpiXKKqloemmUAXYFA-7J_5q8ymINxdliajh-v0",
            "y": "PRTkKIaDABpooaDPGUN7rU10M5489A-bJ1bVR9CWErU"
          },
          "sig": "48qB9qVudpgMSqMPgocGL6GBUCaUY7slRRmxnELBKjlPoL3T-u6PMMbO-lm7TM6T06veyyH-dVbw2h0lI6lQGw"
        }
      },
      "fact": "f1",
      "ok": false,
      "says": "the key 2024-stolen at inst.test was revoked"
    },
    {
      "name": "not-published",
      "packet": {
        "format": "3p.card/1",
        "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
        "persona": "study",
        "issued": "2026-10-18T00:00:00Z",
        "expires": "2099-01-01T00:00:00Z",
        "facts": [
          {
            "id": "f1",
            "text": "Completed the MSc",
            "attestations": [
              {
                "tier": "signed",
                "by": "inst.test",
                "countersign": {
                  "format": "3p.countersign/1",
                  "of": {
                    "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
                    "fact": "6eb2cdffcd1b7e6654138e1403b040c8d77365961f3275e1f48a1e41757a9872"
                  },
                  "by": {
                    "domain": "inst.test",
                    "kid": "2026-registrar"
                  },
                  "issued": "2026-10-01T00:00:00Z",
                  "proof": {
                    "alg": "ECDSA-P256-SHA256",
                    "key": {
                      "crv": "P-256",
                      "kty": "EC",
                      "x": "5PPLYpiXKKqloemmUAXYFA-7J_5q8ymINxdliajh-v0",
                      "y": "PRTkKIaDABpooaDPGUN7rU10M5489A-bJ1bVR9CWErU"
                    },
                    "sig": "EZ4pbQXCAca_z5ehovz4HGvTMJCdjVEe9NHyoPJfR9phEvmMkmUn3EIAHKgifFVG8FasDgHc-lNjGcjOg7kLVg"
                  }
                }
              }
            ]
          },
          {
            "id": "f2",
            "text": "Taught the signals course",
            "attestations": []
          }
        ],
        "preferences": [],
        "constraints": [],
        "context": [],
        "salience": [],
        "proof": {
          "alg": "ECDSA-P256-SHA256",
          "key": {
            "crv": "P-256",
            "kty": "EC",
            "x": "5PPLYpiXKKqloemmUAXYFA-7J_5q8ymINxdliajh-v0",
            "y": "PRTkKIaDABpooaDPGUN7rU10M5489A-bJ1bVR9CWErU"
          },
          "sig": "goSpsBZmg5S6lsjXud3C2IRIjYxtaFKKHVZwktq8CxJhIYJV6U6vb57-43ytM2c1lHqsHeqEKCrLZ0Wu9z-8NA"
        }
      },
      "fact": "f1",
      "ok": false,
      "says": "inst.test does not publish this key under 2026-registrar"
    },
    {
      "name": "moved-to-another-fact",
      "packet": {
        "format": "3p.card/1",
        "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
        "persona": "study",
        "issued": "2026-10-18T00:00:00Z",
        "expires": "2099-01-01T00:00:00Z",
        "facts": [
          {
            "id": "f1",
            "text": "Completed the MSc",
            "attestations": []
          },
          {
            "id": "f2",
            "text": "Taught the signals course",
            "attestations": [
              {
                "tier": "signed",
                "by": "inst.test",
                "countersign": {
                  "format": "3p.countersign/1",
                  "of": {
                    "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
                    "fact": "6eb2cdffcd1b7e6654138e1403b040c8d77365961f3275e1f48a1e41757a9872"
                  },
                  "by": {
                    "domain": "inst.test",
                    "kid": "2026-registrar"
                  },
                  "issued": "2026-10-01T00:00:00Z",
                  "proof": {
                    "alg": "ECDSA-P256-SHA256",
                    "key": {
                      "crv": "P-256",
                      "kty": "EC",
                      "x": "VxaimlR-vipbvbbvAeH_Z2azjX_SA1OTlfaVAgbFVUE",
                      "y": "ztpZmHK26Q3jFeike43nMyuWi1yYCssbGNEOA1O7rhI"
                    },
                    "sig": "Fa9vu0Z7De3lAPO1BsZRh9eFvW0VEDGqo73S_83RfhhcVnR183oIZQ8ozkEjNFf4JEo5uPH9LQzmdfGbDjQCYw"
                  }
                }
              }
            ]
          }
        ],
        "preferences": [],
        "constraints": [],
        "context": [],
        "salience": [],
        "proof": {
          "alg": "ECDSA-P256-SHA256",
          "key": {
            "crv": "P-256",
            "kty": "EC",
            "x": "5PPLYpiXKKqloemmUAXYFA-7J_5q8ymINxdliajh-v0",
            "y": "PRTkKIaDABpooaDPGUN7rU10M5489A-bJ1bVR9CWErU"
          },
          "sig": "znSdYSdneok9Wrm5dNS2_7ID3zVtvTsq7uB8Y5wfgwkrmObj17pSJKq9ecz17Epsmt9Uetued_0VfvHPREqFtg"
        }
      },
      "fact": "f2",
      "ok": false,
      "says": "the countersignature is over another fact"
    },
    {
      "name": "a-bare-label",
      "packet": {
        "format": "3p.card/1",
        "subject": "qMBkGWuri94Rzr_euruYA-oYPcVb_gInVhwE1C1IlDw",
        "persona": "study",
        "issued": "2026-10-18T00:00:00Z",
        "expires": "2099-01-01T00:00:00Z",
        "facts": [
          {
            "id": "f1",
            "text": "Completed the MSc",
            "attestations": [
              {
                "tier": "signed",
                "by": "inst.test"
              }
            ]
          },
          {
            "id": "f2",
            "text": "Taught the signals course",
            "attestations": []
          }
        ],
        "preferences": [],
        "constraints": [],
        "context": [],
        "salience": [],
        "proof": {
          "alg": "ECDSA-P256-SHA256",
          "key": {
            "crv": "P-256",
            "kty": "EC",
            "x": "5PPLYpiXKKqloemmUAXYFA-7J_5q8ymINxdliajh-v0",
            "y": "PRTkKIaDABpooaDPGUN7rU10M5489A-bJ1bVR9CWErU"
          },
          "sig": "bExld8epNkALiDZSr8nRi50e0Itt_HAvGjkxR5GoYA9Mp72bb4ozimk_4crgp5Fe3tFmLXxJ-U2DS5R2nDjLVA"
        }
      },
      "fact": "f1",
      "ok": null,
      "says": "claims a countersignature but carries none to check"
    }
  ]
}
