[poppler] [RFC] Add option to strip encryption

Adam Reichold adam.reichold at t-online.de
Sat Jul 25 05:26:48 PDT 2015


Hello,

the attached patch adds an option to strip the encryption from a
document by doing a complete rewrite but ignoring the original
encryption parameters and removing the encryption entry form the trailer
dictionary. It also exposes this via the two Qt frontends.

This might be useful for a separate command-line utility but for now my
primary use case is submitting a rewritten but unencrypted document to
CUPS for printing instead of converting to PostScript.

Best regards, Adam.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: strip-encryption.patch
Type: text/x-patch
Size: 11667 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20150725/12713480/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20150725/12713480/attachment.sig>


More information about the poppler mailing list