Sub topic 7
Keeping accurate, accessible electronic records
This chapter assumes you know the ESIGN core rule and the consumer consent requirements from earlier chapters. It also assumes you have a basic idea of hashing and file formats. Signing a document is only half the job. You must also keep the record in a form that can be shown to a court, a regulator or a counterparty years later.
Why retention is a separate problem
A signed paper contract sits in a drawer. Anyone can see whether it is intact. An electronic record is different. It lives on storage that can fail, in formats that become obsolete, behind software that can change. Two things can go wrong:
- The record can change, by accident or on purpose, and nobody can tell.
- The record can become unreadable, or can no longer be produced to the people entitled to see it.
ESIGN addresses both. Its retention rule is in 15 U.S.C. 7001(d). Where a law requires that a contract or other record be retained, an electronic record satisfies that requirement only if it meets two tests. It must accurately reflect the information in the contract or record. It must also remain accessible to everyone entitled to access it, for the period the law requires, in a form that can be accurately reproduced for later reference by transmission, printing or otherwise.
These two tests are accuracy and accessibility. The rest of this chapter turns them into practice.
The accuracy test
The statute asks that the stored record "accurately reflect" the information in the original. It does not demand a particular technology. In practice you need to show three things:
- The content you stored is the content that was signed.
- Nothing changed between signing and now.
- The signature, or evidence of it, stays tied to that content.
This is where the chapter on audit trails and the hashing idea meet. A cryptographic digest is a short fixed-length fingerprint of a file. If even one byte changes, the digest changes. Recording the digest at signing time lets you detect later alteration.
import hashlib
def fingerprint(path):
h = hashlib.sha256()
with open(path, "rb") as f:
for chunk in iter(lambda: f.read(8192), b""):
h.update(chunk)
return h.hexdigest()
signed_digest = fingerprint("contract.pdf")
# Later: recompute and compare to detect any change after signing.
unchanged = fingerprint("contract.pdf") == signed_digestThe script reads the file in chunks, so it works for large files without loading them into memory. A matching digest shows the bytes are identical. A mismatch shows only that something differs. It does not say what changed or who changed it.
Note the limit of this technique. A digest stored next to the file proves little, because whoever can alter the file can often alter the digest too. The digest is worth more when you keep it somewhere the file's editors cannot reach. Examples are a separate system with restricted write access, an append-only log, or a trusted timestamp issued by a third party.
The accessibility test
Accessibility has several parts, and each one can fail on its own.
| Element | What the law is getting at | Typical failure |
|---|---|---|
| Entitled people | Everyone with a right to the record can reach it | Only the vendor can retrieve it, and the vendor goes out of business |
| Retention period | The record survives for as long as the underlying law requires | A vendor deletes records after a fixed term shorter than the legal period |
| Reproducibility | The record can be shown again by printing, transmission or similar means | A proprietary viewer is needed and no longer runs |
| Accuracy on reproduction | The copy matches the stored record | A conversion drops fields, signatures or embedded images |
The phrase "entitled to access" matters. If a consumer is entitled to a copy of a disclosure, a system that keeps it only in your internal archive does not meet the test. The wording ties retention to the parties' rights, not just to your own convenience.
Format and migration
Long retention periods outlast software. A record kept for ten years or more will probably need to move to new storage or a new format at least once. Plan for this:
- Prefer open, well-documented formats. PDF is common for finished documents. PDF/A is a PDF profile designed for long-term archiving.
- Keep the original signed file, not only a converted copy. If you must convert, record the conversion and keep the original too.
- After any migration, recompute digests and compare them. Record the result.
- Keep the audit trail alongside the document, in a format you can still read.
Retention under ESIGN and consumer consent
Retention connects to consumer consent from the earlier chapter. When a law requires a business to give a consumer information in writing, the consumer's consent must be "reasonably demonstrate" that they can access the electronic form. If you later change hardware or software in a way that creates a material risk the consumer cannot access or keep the records, you must tell them and give them the right to withdraw consent without penalty. In that case you also have to give a new consent process. Retention is therefore not only about what you hold. It also covers whether the consumer can still read and keep what you sent them.
ESIGN also has a related rule for records the law requires to be provided in writing and kept. It says a record that must be kept in its original form can be satisfied electronically only if the electronic record meets the accuracy and accessibility tests above. A separate provision covers the case where a law requires a record to be "in writing" and "retained" and says a copy that meets the tests is sufficient. Check the specific statute or regulation that creates your retention duty, because sector rules often add their own detail.
What the retention rule does not do
The ESIGN rule is a bridge, not a source of retention periods. It does not tell you how long to keep anything. The period comes from other law: tax, employment, financial services, health, or the contract itself. It also does not override a rule that demands a specific format. A regulator may require a particular storage medium, such as write-once storage for some financial records. ESIGN does not remove that requirement.
Also keep in mind that retention duties can be longer than you expect. Disputes can arrive years after the contract ends. Limitation periods differ by state and by claim type. Keep records at least as long as a claim could realistically be brought.
Retention under eIDAS
eIDAS is built differently. Article 25 says an electronic signature cannot be denied legal effect only because it is electronic. It does not contain a general record retention rule like ESIGN's. Retention duties in the EU come from national and sector law.
eIDAS does address long-term evidence in two ways. First, an advanced electronic signature must be linked to the data so that a later change to the data is detectable. That is the same idea as the digest above. Second, qualified trust services include a preservation service for qualified electronic signatures and seals. The aim of preservation is to extend the trustworthiness of a signature beyond the period in which the technology can be reliably checked. Certificates expire and algorithms weaken, so a signature that was valid in 2026 might be hard to verify in 2040 without extra evidence. Trusted timestamps help here, because they show the signature existed at a given time, while the certificate was still valid.
A practical retention checklist
The diagram shows the usual life of a signed record from signing to disposal.
Turn the diagram into concrete controls:
- Store the final signed document and its audit trail together, with a shared identifier.
- Record the digest at signing and keep a copy in a separate, protected location.
- Restrict write access, and log every read and every change.
- Back up in more than one location, and test restores, not just backups.
- Check integrity on a schedule by recomputing digests.
- Document your retention period for each record type and the law behind it.
- Make sure entitled people, including consumers, can get a copy on request.
- Apply a legal hold before deleting anything that may be relevant to a dispute.
- Plan for vendor exit: make sure you can export documents, audit trails and evidence in open formats.
Common errors
- Keeping a screenshot or a rendered copy instead of the signed original. A copy may not carry the signature data.
- Storing the signature record but not the exact document version that was signed.
- Converting to a new format and discarding the original without recording the change.
- Treating "kept" as "accessible". A record locked in a retired system fails the accessibility test.
- Assuming one retention period fits all records. Periods vary by document type and by law.
- Deleting records on a routine schedule while a dispute is open.
Exercise
A company signs customer loan agreements electronically. Its vendor keeps the signed PDFs and deletes them after five years. A regulation requires the lender to keep loan records for seven years. Which ESIGN retention test is at risk, and what two steps would fix the problem?
Show answer
The accessibility test is at risk, because the record must remain accessible to those entitled to it for the whole period the law requires, and the vendor deletes it two years early. Fix it by (1) exporting each signed PDF and its audit trail to storage the lender controls, or contracting for a retention period of at least seven years, and (2) recording a digest of each file at signing and re-checking it on a schedule so the lender can also show the records remain accurate.
Exercise
Why is a SHA-256 digest stored in the same folder as the signed file weak evidence of integrity, and how can you strengthen it?
Show answer
Anyone who can alter the file in that folder can usually replace the digest too, so a matching pair proves little. Strengthen it by keeping the digest in a separate system with restricted write access, in an append-only log, or by obtaining a trusted timestamp from a third party that shows the digest existed at a given time.