From 0575d77d77b0308535422ad2d3a1bf7c94baabb0 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 14 Jul 2012 09:13:49 -0400 Subject: Add public QPDFWriter::copyEncryptionParameters Method to copy encryption parameters from another file. Adapted from existing code to copy encryption parameters from the original file. --- TODO | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index b29559ee..d38cb002 100644 --- a/TODO +++ b/TODO @@ -64,10 +64,9 @@ Next - Tests through qpdf command line: copy pages from multiple PDFs starting with one PDF and also starting with empty. - * (Hopefully) Provide an option to copy encryption parameters from - another file. This would make it possible to decrypt a file, - manually work with it, and then re-encrypt it using the original - encryption parameters including a possibly unknown owner password. + * qpdf commandline: provide an option to copy encryption parameters + from another file, specifying file and password. Search for "Copy + encryption parameters" in qpdf.test. Soon -- cgit v1.2.3-54-g00ecf