HackRead

905,672 Characters Under Black Rectangles: Why a Qualified Signature Can’t Vouch for a GDPR Export


A qualified electronic signature proves who sent a PDF and that nobody altered it afterwards. It proves nothing about whether the redactions removed anything, whether the export is complete, or how the visible sample was chosen.

Drawing a black box over text in a PDF is not redaction. Security engineers have said this for two decades, usually after a court filing or government release spills its entire text layer to anyone who selects all and pastes. The mistake persists anyway. In European privacy compliance, it now arrives with a stronger credential attached: the qualified electronic signature.

Under EU law, a qualified electronic signature (QES) has the same legal effect as a handwritten one. When a data controller, or counsel acting for it, answers an Article 15 GDPR access request with a QES-signed document, the recipient is expected to accept the file as complete, properly sanitized and checked.

That expectation conflates two separate questions. A signature binds an identity to a sequence of bytes and shows that those bytes have not changed since signing. It cannot show that the text under a black rectangle was deleted. It cannot show that a missing category of data was lawfully withheld. It cannot even show that the signer opened the attachment.

Claim Versus Bytes: An 830-Page Export

The open-source TgWitness project has published a documented zero-trust GDPR export case study that tests institutional assurances directly against file contents. Every figure in it is tied to published SHA-256 hashes and can be reproduced offline. That makes the attachment at its center (Anlage 1, 830 pages) a clean specimen of how a conventional Article 15 production goes wrong.

Start with the redactions. Aspose.PDF for .NET 20.8 generated the PDF and masked it with 1,044 black rectangles. The cover correspondence cited protection of third-party rights as the reason for withholding. A stock text extractor such as pdftotext disagrees: 905,672 characters sit intact beneath the overlays.

Those characters are not filler. They include the account login names and complaint descriptions of more than 1,800 unrelated third-party users. A process justified by third-party privacy delivered third-party personal data straight to the requester.

Then the metadata. According to the correspondence, the full statutory month was needed because records had to be cleaned by hand. Whatever review came before the export, the file itself was created and last modified within 36 seconds, from 19:58:05 to 19:58:41.

What a Failed Redaction Reveals About Selection

When a controller withholds 97 percent of a table, outsiders normally have no way to audit how the visible rows were chosen. Here the surviving text layer makes that audit possible. The 50 complaint descriptions left readable can be set against the 1,944 hidden under rectangles (1,995 rows in total, one of them empty).

Across all 1,995 rows, “Offensive Profile” appears 1,148 times (57.5 percent) and “Suspected Hijacker” 312 times (15.6 percent). Among the 50 readable rows, 43 (86 percent) are labelled “Suspected Hijacker.” The number labelled “Offensive Profile” is zero.

Draw 50 rows at random from that pool and the hypergeometric probability of getting 43 or more from the 15.6 percent category is roughly 6.2 × 10-29. Whatever picked the visible sample, it was not chance.

The sample’s content has problems of its own. Several of the readable complaints, dated August 2025, allege that an account was suddenly stolen or had its password changed overnight. The same PDF contradicts them. Its login history ends in May 2025, and the security history on page 830 records the last password change in July 2024. That page was itself placed under a black rectangle.

A qualified signature catches none of this. The signature validates, the SHA-256 digest matches and the container is intact. The contents are not.

Where Trust-Based Compliance Fails

Article 15 exists to give data subjects verifiable access to their own data, not a summary curated by whoever holds the server logs. In disputes over valuable accounts, payments or platform enforcement, the trust-only model fails every party at the table.

Controllers that substitute visual overlays for byte-level removal turn a routine access request into a reportable breach of third-party data. Requesters cannot tell whether absent categories, such as payment histories, support tickets, or internal review records, were withheld on a valid legal basis or simply left out. Regulators and courts inherit disputes in which neither side can prove what the original export contained without rerunning the investigation from scratch.

A black box solves none of these problems. Neither does a signature on the cover letter.

Verify the File, Not the Sender

The fix requires no new legislation and no exotic cryptography. Two standard primitives are enough, arranged so that no party has to be taken at its word.

The first is physical removal backed by per-field salted commitments. Any value withheld from the requester, a third-party username, for instance, is stripped from the requester’s copy before the document is generated.

In its place goes a signed commitment, c = SHA-256(salt || value), computed with a fresh 16-byte random salt for each field. The salt defeats dictionary attacks. Without it, anyone could hash a list of common usernames or short words and match the result. The signature binds the controller to the hidden value, so it cannot be quietly altered or swapped later.

The second is a sealed envelope addressed to an independent authority. The original values and their salts are encrypted to the public key of the competent supervisory authority or court, using OpenPGP or a hybrid scheme such as RSA-OAEP-256 key wrapping with AES-256-GCM.

A signed manifest accompanies both files. It names every included category, counts every withheld record and states the exact filtering rule applied.

If the requester disputes an omission, nobody has to trust anybody. The authority decrypts the envelope with its private key, recomputes SHA-256 (salt || value) for each withheld field and compares the output with the signed commitments. One altered byte breaks the hash. One dropped record breaks the manifest count.

The receiving infrastructure already exists. Germany’s Federal Commissioner for Data Protection and Freedom of Information (BfDI) and several state data protection authorities publish OpenPGP keys for encrypted submissions. German courts routinely accept end-to-end encrypted filings through EGVP over OSCI.

The Bottom Line

An automated PDF export dotted with black rectangles is not privacy protection. It is a plaintext leak waiting for a single command. Until legal and engineering teams treat sender authentication and content verification as separate checks, qualified signatures will keep vouching for broken files. In digital evidence, the title on page one proves very little. What counts is a check that anyone can repeat.





Source link