SSN digest-registry rotation

Why this page exists

persons.ssn carries a versioned blind-index digest (v<N>:<base64>). Rotating the digest registry to a new version changes the version every digest surface stamps. Until #3175 the SSA screening bound its cohorts to these digests, and a rotation made every active run staged under the old version unassertable, so this runbook carried an operator mass-invalidation sweep (craig ssa invalidate-stale-cohorts, POST /v1/exchange/ssa-screening-runs/invalidate-stale-digests).

#3175 re-keyed the screening onto a person identifier of the jurisdiction’s screening kind (Georgia: the EMPI, the DHR client number). A cohort binds identifier ids, not digests, so a digest rotation no longer touches any screening run, and the sweep, its CLI command and its ssa.stale_cohorts_invalidated summary event were removed (rows it already filed stay in the audit log). See SSA screening operations.

What a rotation still touches

Only the human SSN attestation (ADR-051): an attester fetches the person’s current digest from GET /v1/cases/persons/{id}/ssn-verification and sends it back to attest. A digest fetched under the old version is refused SSN_DIGEST_VERSION_ROTATED before any byte compare; the attester re-fetches and attests again. No sweep is needed.

The rotation sequence

  1. Rotate the digest registry to the new version. A digest-registry rotation tool does not exist yet (the field-scheme rewrite mode, epic &98, rewrites encrypted cells under the cases key and is not this registry’s mechanism); this page applies once the new version is live.

  2. Tell attesting supervisors that an attestation started before the rotation must be re-fetched.

Edit this page · latest