aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-07-16 03:15:24 +0200
committerJay Berkenbilt <ejb@ql.org>2012-07-16 03:15:24 +0200
commita101533e0a76a0890a2ad3ea5fcbb578da75a6b4 (patch)
treebbd553716ff1ddd2224a03248ba7be802bfcd4ea /ChangeLog
parentb26ce88ea172a5a3b66d0b8dd94b98043831eb27 (diff)
downloadqpdf-a101533e0a76a0890a2ad3ea5fcbb578da75a6b4.tar.zst
Add command line option to copy encryption from other file
Add --copy-encryption and --encryption-file-password options to qpdf. Also strengthen test suite for copying encryption. The strengthened test suite would have caught the failure to preserve AES and the failure to update the file version, which was invalidating the encrypted data.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0c43cd83..1b76b011 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,18 @@
2012-07-15 Jay Berkenbilt <ejb@ql.org>
+ * add new QPDF::isEncrypted method that returns some additional
+ information beyond other versions.
+
+ * libqpdf/QPDFWriter.cc: fix copyEncryptionParameters to fix the
+ minimum PDF version based on other file's encryption needs. This
+ is a fix to code added on 2012-07-14 and did not impact previously
+ released code.
+
* libqpdf/QPDFWriter.cc (copyEncryptionParameters): Bug fix: qpdf
was not preserving whether or not AES encryption was being used
- when copying encryption parameters.
+ when copying encryption parameters. The file would still have
+ been properly encrypted, but a file that started off encrypted
+ with AES could have become encrypted with RC4.
2012-07-14 Jay Berkenbilt <ejb@ql.org>