Commit 5bbce89e6ab1847f85b9437252d06b74ffe875f6

Authored by Jay Berkenbilt
1 parent 60965d5f

Add clarification about empty passwords to doc

job.sums
@@ -8,10 +8,10 @@ include/qpdf/auto_job_c_pages.hh b3cc0f21029f6d89efa043dcdbfa183cb59325b6506001c @@ -8,10 +8,10 @@ include/qpdf/auto_job_c_pages.hh b3cc0f21029f6d89efa043dcdbfa183cb59325b6506001c
8 include/qpdf/auto_job_c_uo.hh ae21b69a1efa9333050f4833d465f6daff87e5b38e5106e49bbef5d4132e4ed1 8 include/qpdf/auto_job_c_uo.hh ae21b69a1efa9333050f4833d465f6daff87e5b38e5106e49bbef5d4132e4ed1
9 job.yml 1f5db325600a763692034835117ac6b1a4b6aba8e73faa13a004ddc086834545 9 job.yml 1f5db325600a763692034835117ac6b1a4b6aba8e73faa13a004ddc086834545
10 libqpdf/qpdf/auto_job_decl.hh 7844eba58edffb9494b19e8eca6fd59a24d6e152ca606c3b07da569f753df2da 10 libqpdf/qpdf/auto_job_decl.hh 7844eba58edffb9494b19e8eca6fd59a24d6e152ca606c3b07da569f753df2da
11 -libqpdf/qpdf/auto_job_help.hh d4650c0d8ea4310ef2ee890a9cd1543ce55c9b6b1c6462e0398955fe68d0d407 11 +libqpdf/qpdf/auto_job_help.hh 6e59e9bbb86817d7c8c4b3900db3b61d6441a34af1b57d60fb60a8099b7bf4f1
12 libqpdf/qpdf/auto_job_init.hh e6c09e94c92bd17e9c728b11437e3c98266c93c42c3efbce050c8d288e6b3473 12 libqpdf/qpdf/auto_job_init.hh e6c09e94c92bd17e9c728b11437e3c98266c93c42c3efbce050c8d288e6b3473
13 libqpdf/qpdf/auto_job_json_decl.hh 06caa46eaf71db8a50c046f91866baa8087745a9474319fb7c86d92634cc8297 13 libqpdf/qpdf/auto_job_json_decl.hh 06caa46eaf71db8a50c046f91866baa8087745a9474319fb7c86d92634cc8297
14 libqpdf/qpdf/auto_job_json_init.hh 85ac7e5c66f14c767419823eac84bdea4bd72d690bfe12b533321e5708e644b7 14 libqpdf/qpdf/auto_job_json_init.hh 85ac7e5c66f14c767419823eac84bdea4bd72d690bfe12b533321e5708e644b7
15 libqpdf/qpdf/auto_job_schema.hh 5e0f5cb7d462716fe52548b2ae1a8eb6f3c900016e915140eea37f78cee45b2b 15 libqpdf/qpdf/auto_job_schema.hh 5e0f5cb7d462716fe52548b2ae1a8eb6f3c900016e915140eea37f78cee45b2b
16 manual/_ext/qpdf.py 6add6321666031d55ed4aedf7c00e5662bba856dfcd66ccb526563bffefbb580 16 manual/_ext/qpdf.py 6add6321666031d55ed4aedf7c00e5662bba856dfcd66ccb526563bffefbb580
17 -manual/cli.rst ab2b2feb3217151a7a7f67b1774bd7fb704d94a325282e691ea1fd0a7cbf11f0 17 +manual/cli.rst d4306dde514da597b245cc401261ed0813964bb41ec67ad1fb8885039420ae66
libqpdf/qpdf/auto_job_help.hh
@@ -397,8 +397,10 @@ ap.addHelpTopic("encryption", "create encrypted files", R"(Create encrypted file @@ -397,8 +397,10 @@ ap.addHelpTopic("encryption", "create encrypted files", R"(Create encrypted file
397 --encrypt user-password owner-password key-length [options] -- 397 --encrypt user-password owner-password key-length [options] --
398 398
399 Either or both of user-password and owner-password may be empty 399 Either or both of user-password and owner-password may be empty
400 -strings. key-length may be 40, 128, or 256. Encryption options are  
401 -terminated by "--" by itself. 400 +strings, though setting either to the empty string enables the file
  401 +to be opened and decrpyted without a password. key-length may be
  402 +40, 128, or 256. Encryption options are terminated by "--" by
  403 +itself.
402 404
403 40-bit encryption is insecure, as is 128-bit encryption without 405 40-bit encryption is insecure, as is 128-bit encryption without
404 AES. Use 256-bit encryption unless you have a specific reason to 406 AES. Use 256-bit encryption unless you have a specific reason to
manual/cli.rst
@@ -1735,8 +1735,10 @@ Encryption @@ -1735,8 +1735,10 @@ Encryption
1735 --encrypt user-password owner-password key-length [options] -- 1735 --encrypt user-password owner-password key-length [options] --
1736 1736
1737 Either or both of user-password and owner-password may be empty 1737 Either or both of user-password and owner-password may be empty
1738 - strings. key-length may be 40, 128, or 256. Encryption options are  
1739 - terminated by "--" by itself. 1738 + strings, though setting either to the empty string enables the file
  1739 + to be opened and decrpyted without a password. key-length may be
  1740 + 40, 128, or 256. Encryption options are terminated by "--" by
  1741 + itself.
1740 1742
1741 40-bit encryption is insecure, as is 128-bit encryption without 1743 40-bit encryption is insecure, as is 128-bit encryption without
1742 AES. Use 256-bit encryption unless you have a specific reason to 1744 AES. Use 256-bit encryption unless you have a specific reason to
@@ -1802,8 +1804,10 @@ To create an encrypted file, use @@ -1802,8 +1804,10 @@ To create an encrypted file, use
1802 --encrypt user-password owner-password key-length [options] -- 1804 --encrypt user-password owner-password key-length [options] --
1803 1805
1804 Either or both of :samp:`{user-password}` and :samp:`{owner-password}` 1806 Either or both of :samp:`{user-password}` and :samp:`{owner-password}`
1805 -may be empty strings. :samp:`{key-length}` may be ``40``, ``128``, or  
1806 -``256``. Encryption options are terminated by ``--`` by itself. 1807 +may be empty strings, though setting either to the empty string
  1808 +enables the file to be opened and decrpyted without a password..
  1809 +:samp:`{key-length}` may be ``40``, ``128``, or ``256``. Encryption
  1810 +options are terminated by ``--`` by itself.
1807 1811
1808 40-bit encryption is insecure, as is 128-bit encryption without AES. 1812 40-bit encryption is insecure, as is 128-bit encryption without AES.
1809 Use 256-bit encryption unless you have a specific reason to use an 1813 Use 256-bit encryption unless you have a specific reason to use an