Project

General

Profile

Bug #9670

pdfunite: merge fails with encrypted pdfs (Part 2)

Added by Carsten Rose 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
28.11.2019
Due date:
% Done:

100%

Estimated time:
Discuss:

Description

Es gibt wieder ein File das pdfunite nicht mergen kann: qpdf bricht ab.

$ qpdf --decrypt file.pdf new.pdf
file.pdf: invalid password

Das Ubuntu 18.04 gs (9.26) schafft die Beispieldatei zu decrypten:

$ gs -sDEVICE=pdfwrite -dNOPAUSE -sOutputFile="new.pdf" -- "file.pdf" 
$ pdfinfo new.pdf
Encrypted:      no


Related issues

Related to QFQ - Support #9512: pdfunite: merge fails with encrypted pdfsClosed2019-11-05

Associated revisions

Revision 32a35927 (diff)
Added by Carsten Rose 6 months ago

Fixes #9670. If `qpdf` fails to decrypt a PDF, try `gs`.

History

#1 Updated by Carsten Rose 6 months ago

  • Related to Support #9512: pdfunite: merge fails with encrypted pdfs added

#2 Updated by Carsten Rose 6 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#3 Updated by Carsten Rose 6 months ago

  • Target version changed from 146 to 19.11.3

Also available in: Atom PDF