#8 Multivalent tool pdf decryption problem!

closed
nobody
None
5
2005-01-14
2004-12-13
rm260374
No

Hi,
I downloaded the last release of Multivalent Tool.
I was interesting to Encrypt/Decrypt process on PDF
files.

The Encryption works good.
I tried the following command:
java -
cp ".;C:\Prodotti\Multivalent20040415.jar"
tool.pdf.Encrypt -user rinorocco -owner rino -password
rino -inplace C:\PDF\pippo.pdf

But the Decryption process doesn't work!
I tried the following command:
java -
cp ".;C:\Prodotti\Multivalent20040415.jar"
tool.pdf.Decrypt -password rino -inplace
C:\PDF\pippo.pdf

...and the following is the error...

C:\PDF\pippo.pdf: java.io.IOException: decrypt
first!
java.io.IOException: decrypt first!
at
multivalent.std.adaptor.pdf.PDFReader.getCatalog
(PDFReader.java:990)
at multivalent.std.adaptor.pdf.PDFWriter.<init>
(PDFWriter.java:231)
at multivalent.std.adaptor.pdf.PDFWriter.<init>
(PDFWriter.java:207)
at multivalent.std.adaptor.pdf.PDFWriter.<init>
(PDFWriter.java:200)
at tool.pdf.Decrypt.decrypt(Decrypt.java:66)
at tool.pdf.Decrypt.decrypt(Decrypt.java:55)
at tool.pdf.Decrypt.main(Decrypt.java:138)

What i made wrong?
Can you help me?
Thanks in advance.
Rocco.

Discussion

  • Tom Phelps
    Tom Phelps
    2005-01-14

    Logged In: YES
    user_id=431891

    Please refer to the bug posting guidelines on the site and post
    bugs in the Bugs tracker. This one time, however, I can say that
    this looks like a bug that is fixed and will be in the next release.

     
  • Tom Phelps
    Tom Phelps
    2005-01-14

    • status: open --> closed