diff options
author | Jay Berkenbilt <ejb@ql.org> | 2020-01-26 15:19:50 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2020-01-26 17:26:53 +0100 |
commit | 731c4f711b8bd12bfe8e86dcf80ca84bb38eba0e (patch) | |
tree | 220420c0430befbd7926249e1492d803af94d719 /ChangeLog | |
parent | 8b1c4828b731046a08b6a1073474f36499f5f546 (diff) | |
download | qpdf-731c4f711b8bd12bfe8e86dcf80ca84bb38eba0e.tar.zst |
Add --is-encrypted and --requires-password (fixes #390)
Allow exit status-based checking of whether a file is encrypted or
requires a password without necessarily supplying the correct
password. Useful for scripting.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2020-01-26 Jay Berkenbilt <ejb@ql.org> + + * Add options --is-encrypted and --requires-password. These can be + used with files, including encrypted files with unknown passwords, + to determine whether or not a file is encrypted and whether a + password is required to open the file. The --requires-password + option can also be used to determine whether a supplied password + is correct. Information is supplied through exit codes, making + these options particularly useful for shell scripts. Fixes #390. + 2020-01-14 Jay Berkenbilt <ejb@ql.org> * Fix for Windows being unable to acquire crypt context with a new |