Engineering guide · December 2, 2026

How to verify old audit records after a signing-key change.

A reviewer opens a receipt from last year. Your service has since changed its signing key, and the engineer who ran the migration has left. The reviewer needs the original receipt, the rules used to sign it, and a trustworthy record of which key the issuer used at the time.

Engraved seal and documents.

Repeat the historical check

The public example is a synthetic offline receipt from the Glacis Python SDK. It uses an Ed25519 signature over a version 1 payload. Its operation sequence is zero. The public key travels with the receipt, so a successful check establishes consistency with that key. An independent association between the key and an issuer requires a separate trust record.

  1. Open the Glacis browser verifier and select Sample: self-signed. Click Verify record and inspect the signature result and the self-signed provenance label.
  2. Download the original JSON. Make a copy. Change operation_sequence from 0 to 1, keeping the signature and public key as supplied.
  3. Click Verify another record, choose Upload JSON, and select your edited copy. Click Verify record again. The signature check should fail because the sequence is one of the signed fields. Reload the original to reproduce the first result.

This walkthrough uses the version 1 offline verification rules in Glacis site revision 64b13334. For your own archive test, record the verifier build alongside the specimen. The SHA-256 digest of the original downloadable file is cc26ab1f73b612c18d95929f169f2d2599a3c7101fc33ba2fbed11ed215df1bb. A file digest identifies the exact bytes, including whitespace.

Try a receipt from the replacement key

In this example the service keeps its name and its Ed25519 signing format. It issues the next receipt with a different key. Download the receipt signed with the replacement key and keep the original file beside it.

  1. Upload the new receipt and click Verify record. It verifies as self-signed. Compare the public_key values in the two files. Each receipt carries the public key for its own signature.
  2. Copy the old receipt into a third file. Replace only its public_key with the public key from the new receipt. Upload that copy and verify it. The signature fails because the replacement key cannot verify the old signature.
  3. Verify the untouched old receipt again. Its historical key still works. In a customer archive, the reviewer also needs an independently maintained record of when each key was authorized to sign for that service.

Both files are synthetic. This exercise tests a key change within Ed25519. To test a move to ML-DSA, repeat the old- and new-record checks with a verifier that supports both signature profiles.

What to retain when a signing key retires

Preserve the original bytes and the specification for reconstructing the signed payload. Retain the algorithm, public key or certificate chain, key identifier, authorization history, and verification software version. Some formats require a precise field order or encoding. Re-exporting an old record through a new serializer can change what a verifier sees.

Agree on the policy for dates and revocation. A timestamp inside a signed record is a statement by its signer. If the decision depends on proving a signature existed before a compromise, preserve independently trusted time evidence and the decision about revocation. Give the archive owner enough information to repeat that decision years later.

Test both generations before cutover

Give a second reviewer the old artifact and the trust record that identifies the old key’s authorized role and validity period. Record how the verifier handles a key that was compromised or revoked, and which dated trust evidence it relied on when checking the historical signature.

Changing keys under one algorithm and moving to a new signature algorithm are different releases. For an algorithm change, deploy support in the receiving verifier before the producer begins issuing the new format. Include offline producers, queued jobs, and customer-installed verifiers in the acceptance plan.

Before signing off on a key change, give the archive owner both receipts and a copy of the trust policy that applied on each date. Ask them to repeat the checks without help from the release engineer. Put the result and any unsupported client versions in the release inventory.

Old record, current verifier
Verify a retained sample under its historical profile and trust policy. Keep the original alongside the result.
New record, current verifier
Verify a newly issued sample under the intended profile and independently configured trust material. Record the producer and verifier versions.
Changed content or unexpected signer
Check signature validity and signer authorization separately. A valid signature from an unauthorized key must produce an authorization failure.
New record, older customer verifier
Document what the customer sees when its verifier lacks the new algorithm. Agree on the update or compatibility policy before sending that customer a new-format record.

If a new service countersigns a digest of an old record, preserve both artifacts and the date of the new signature. That signature attests to the bytes presented at the later date. Establishing the original issuer and signing time still depends on the historical evidence.

What Glacis can demonstrate today

The browser exercise above demonstrates the classical offline receipt format. For a post-quantum audit finding, ask for an artifact carrying the proposed signature, a named verifier, the applicable trust policy, and the result for both the original and an altered copy. NIST ML-DSA signature standard.

Review a scoped signing finding or read the OVERT primer.