diff options
author | Jay Berkenbilt <ejb@ql.org> | 2012-07-16 03:15:24 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2012-07-16 03:15:24 +0200 |
commit | a101533e0a76a0890a2ad3ea5fcbb578da75a6b4 (patch) | |
tree | bbd553716ff1ddd2224a03248ba7be802bfcd4ea /ChangeLog | |
parent | b26ce88ea172a5a3b66d0b8dd94b98043831eb27 (diff) | |
download | qpdf-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-- | ChangeLog | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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> |