From bde98044f4acd5ce0e1965ad28a6854c31aa29a1 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 29 Jul 2012 13:22:37 -0400 Subject: Improve password handling Use --encryption-file-password, if given, in addition to --password as a source for passwords for files specified in --pages. --- manual/qpdf-manual.xml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'manual/qpdf-manual.xml') diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index da3ee833..1b87fdf9 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -586,20 +586,16 @@ make For each file that pages should be taken from, specify the file, a - password needed to open the file (if needed), and a page range. - If the primary input file file requires a password, that password - must be specified outside the option and - does not need to be repeated inside the . - The same file can be repeated multiple times. If a file that is - repeated has a password, the password only has to be given the - first time. All non-page data (info, outlines, page numbers, - etc.) are taken from the primary input file. To discard these, - use as the primary input. One subtlety - about specifying passwords is that specifying a password as - doesn't prevent you - from having to repeat that password of that is also one of the - input files. If in doubt, it's never an error to specify the - password multiple times. + password needed to open the file (if any), and a page range. The + password needs to be given only once per file. If any of the + input files are the same as the primary input file or the file + used to copy encryption parameters (if specified), you do not need + to repeat the password here. The same file can be repeated + multiple times. If a file that is repeated has a password, the + password only has to be given the first time. All non-page data + (info, outlines, page numbers, etc.) are taken from the primary + input file. To discard these, use as the + primary input. It is not presently possible to specify the same page from the -- cgit v1.2.3-54-g00ecf