aboutsummaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-22 22:27:56 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-23 00:13:05 +0100
commit1173a0bdfc56a08eedafc06afcd37f0b35ac3ea2 (patch)
tree8fea9180275ab264ec20381a6a41d6b42e923532 /manual
parent17703a8dcd74bc0baab044aa13f09b909e72bdcb (diff)
downloadqpdf-1173a0bdfc56a08eedafc06afcd37f0b35ac3ea2.tar.zst
Add --user-password, --owner-password, --bits to --encrypt
Add the command-line arguments. They don't do anything yet.
Diffstat (limited to 'manual')
-rw-r--r--manual/cli.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/manual/cli.rst b/manual/cli.rst
index 482d65f9..943b404e 100644
--- a/manual/cli.rst
+++ b/manual/cli.rst
@@ -723,6 +723,32 @@ Related Options
This flag starts encryption options, used to create encrypted
files. Please see :ref:`encryption-options` for details.
+.. qpdf:option:: --user-password=user-password
+
+ .. help: specify user password
+
+ Set the user password.
+
+ Set the user password for the encrypted file.
+
+.. qpdf:option:: --owner-password=owner-password
+
+ .. help: specify owner password
+
+ Set the owner password.
+
+ Set the owner password for the encrypted file.
+
+.. qpdf:option:: --bits={48|128|256}
+
+ .. help: specify encryption bit depth
+
+ Set the encrypt bit depth. Use 256.
+
+ Set the bit depth for encrypted files. You should always use
+ ``--bits=256`` unless you have a strong reason to create a file
+ with weaker encryption.
+
.. qpdf:option:: --decrypt
.. help: remove encryption from input file