[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 Michael Warner changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |michael.warner.ut+libreoffi |desktop.org |c...@gmail.com Status|NEW |ASSIGNED --- Comment #8 from Michael Warner --- I'll give it a try. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 --- Comment #7 from Kevin Suo --- Then we need to provide the password via the stdin (pIn) of the process. I tried but failed, xpdfimport hangs there because pIn is true while there is no stdin provided at the beginning. Maybe someone else can take a try... -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 --- Comment #6 from Michael Warner --- I recommend against providing the password as a command-line argument, because other processes can access it that way. For a demonstration of this you can run either Linux top or Windows Task Manager and show the Command Line column. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 --- Comment #5 from Kevin Suo --- (In reply to Kevin Suo from comment #4) Anybody else is welcome to do implement this as I am quite new to c++ and am still learning. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 --- Comment #4 from Kevin Suo --- A better approach is to add a --mode checkEncryption in the out-of-process xpdfimport binary in https://opengrok.libreoffice.org/xref/core/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx?r=648e4106 It should be called like this: ./xpdfimport --mode checkEncryption filename ./xpdfimport --mode checkEncryption -upw 123456 filename it should return 0 if the file is not encrypted, or return 0 if file is encrypted and the password upw is correct. it should exit(1) or any other error code, or print a message, if the file is encrypted but no password is provided or wrong password. then call this to replace the encryption check in https://opengrok.libreoffice.org/xref/core/sdext/source/pdfimport/wrapper/wrapper.cxx?r=8b9e5024#1021 here, we first call the xpdfimport in checkEncryption mode without a password. If the process return code 0 then go on with the following osl_executeProcess_WithRedirectedIO process call in normal mode, otherwise call getPassword as shown in https://opengrok.libreoffice.org/xref/core/sdext/source/pdfimport/wrapper/wrapper.cxx?r=8b9e5024#928 until checkEncryption mode returns 0 or user cancels password input -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 --- Comment #3 from Michael Warner --- (In reply to Kevin Suo from comment #2) > back to new as the patch was abandoned due to license issue. Patch referred to here was this: https://gerrit.libreoffice.org/c/core/+/124909 -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 Michael Warner changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=14 ||3472 -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 Kevin Suo changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|suokunl...@126.com |libreoffice-b...@lists.free ||desktop.org --- Comment #2 from Kevin Suo --- back to new as the patch was abandoned due to license issue. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 Kevin Suo changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |suokunl...@126.com |desktop.org | -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 Kevin Suo changed: What|Removed |Added CC||suokunl...@126.com Status|NEW |ASSIGNED -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 Aron Budea changed: What|Removed |Added Blocks||108914 CC||ba...@caesar.elte.hu Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=108914 [Bug 108914] [META] Password protected file bugs and enhancements -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.documentfoundation.org/show_bug.cgi?id=55425 Timur changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=11 ||4840 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.freedesktop.org/show_bug.cgi?id=55425 Beluga todven...@suomi24.fi changed: What|Removed |Added CC||todven...@suomi24.fi Severity|normal |enhancement --- Comment #1 from Beluga todven...@suomi24.fi --- I confirm that it can't be imported. Sounds like a good enhancement. Win 7 64-bit Version: 4.4.0.0.alpha2+ Build ID: c989f5e0e11e295b11ffc921b0d105869e037e47 TinderBox: Win-x86@42, Branch:master, Time: 2014-11-07_22:50:48 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 55425] PDF import: support encryption algorithm value 4
https://bugs.freedesktop.org/show_bug.cgi?id=55425 Stephan Bergmann sberg...@redhat.com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs