Package: pdftk
Version: 1.41+dfsg-10
Severity: normal

If I attempt to set both user_pw and owner_pw via a prompt like so:

$ pdftk input.pdf output output.pdf user_pw PROMPT owner_pw PROMPT

I get the following error:

Error: The user and owner passwords are the same.
   PDF Viewers interpret this to mean your PDF has
   no owner password, so they must be different.
   Or, supply no owner password to pdftk if this is
   what you desire.
Exiting.
Errors encountered.  No output created.
Done.  Input errors, so no output created.

This is, of course, wrong if the user intended to enter _different_
values for the two prompts. pdftk should perform this check after
prompting, not before.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.16-linode28 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pdftk depends on:
ii  libbcmail-java               1.44+dfsg-2 Bouncy Castle generators/processor
ii  libbcprov-java               1.44+dfsg-2 Bouncy Castle Java Cryptographic S
ii  libc6                        2.11.2-11   Embedded GNU C Library: Shared lib
ii  libgcc1                      1:4.4.5-10  GCC support library
ii  libgcj-bc                    4.4.5-2     Link time only library for use wit
ii  libgcj10                     4.4.5-9     Java runtime library for use with 
ii  libitext-java                2.1.7-2     Java Library to create and manipul
ii  libitext-java-gcj            2.1.7-2     Java Library to create and manipul
ii  libstdc++6                   4.4.5-10    The GNU Standard C++ Library v3

pdftk recommends no packages.

Versions of packages pdftk suggests:
pn  xpdf-utils                    <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to