diff options
author | Jay Berkenbilt <ejb@ql.org> | 2023-05-21 19:46:19 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2023-05-21 19:46:19 +0200 |
commit | 5bbce89e6ab1847f85b9437252d06b74ffe875f6 (patch) | |
tree | 83f46ef5221d9824050c2b7462098ff9dbf7ca59 /libqpdf | |
parent | 60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2 (diff) | |
download | qpdf-5bbce89e6ab1847f85b9437252d06b74ffe875f6.tar.zst |
Add clarification about empty passwords to doc
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/qpdf/auto_job_help.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libqpdf/qpdf/auto_job_help.hh b/libqpdf/qpdf/auto_job_help.hh index 71e49f3c..e3759115 100644 --- a/libqpdf/qpdf/auto_job_help.hh +++ b/libqpdf/qpdf/auto_job_help.hh @@ -397,8 +397,10 @@ ap.addHelpTopic("encryption", "create encrypted files", R"(Create encrypted file --encrypt user-password owner-password key-length [options] -- Either or both of user-password and owner-password may be empty -strings. key-length may be 40, 128, or 256. Encryption options are -terminated by "--" by itself. +strings, though setting either to the empty string enables the file +to be opened and decrpyted without a password. key-length may be +40, 128, or 256. Encryption options are terminated by "--" by +itself. 40-bit encryption is insecure, as is 128-bit encryption without AES. Use 256-bit encryption unless you have a specific reason to |