Compressing signed PDFs with common tools breaks or removes their signatures
A developer tested whether compressing a signed PDF before archiving preserves its digital signature. They signed a one-page test document with a self-made root certificate and then ran it through five compression or rewrite tools. Every tool rewrote the entire file, so the signed byte ranges no longer matched the signed hash. Some outputs left a signature that validators flagged as invalid, while Ghostscript and iLovePDF removed the signature field altogether. The author notes that changing a signed file without breaking it requires an incremental update appended after the original bytes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in