Package: poppler-utils
Version: 0.6.2-1
Severity: normal

Hello,

$ pdfinfo -upw wrongpass encrypt.pdf 
Error: incorrect password
$ echo $?
1

According to the manpage the exit code should be "3". So it is not
possible to distinguish between some other error in opening the PDF file
and a problem with the de-cryption.

This affects programs (like flpsed) that use the utilities to convert files.

Regards,

Kapil.

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

Kernel: Linux 2.6.22-3-vserver-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages poppler-utils depends on:
ii  libc6                    2.7-5           GNU C Library: Shared libraries
ii  libfontconfig1           2.5.0-2         generic font configuration library
ii  libgcc1                  1:4.2.2-4       GCC support library
ii  libpoppler2              0.6.2-1         PDF rendering library
ii  libstdc++6               4.2.2-4         The GNU Standard C++ Library v3
ii  libxml2                  2.6.30.dfsg-3.1 GNOME XML library

Versions of packages poppler-utils recommends:
ii  ghostscript                8.61.dfsg.1-1 The GPL Ghostscript PostScript/PDF

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to