From a42a4068b5ebdf557d2815ee1c72a27ebfefd3f5 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Wed, 10 Aug 2011 19:47:18 -0400 Subject: preserve /EncryptMetadata when copying encryption parameters --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5fdb0464..454cf44c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-08-10 Jay Berkenbilt + * libqpdf/QPDFWriter.cc (copyEncryptionParameters): preserve + whether metadata is encryption. This fixes part of bug 3173659: + the password becomes invalid if qpdf copies an encrypted file with + cleartext-metadata. + * include/qpdf/QPDFWriter.hh: add a new constructor that takes only a QPDF reference and leaves specification of output for later. Add methods setOutputFilename() to set the output to a -- cgit v1.2.3-70-g09d2