[Libreoffice-bugs] [Bug 130354] Cannot sign existing PDF

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 24 09:42:26 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=130354

--- Comment #11 from Danilo Šegan <danilo at gnome.org> ---
There seem to be a problem somewhere in tempfile generation when attempting to
start digital signing.  I've also tried LibreOffice 7.0alpha1 (LibreOfficeDev
7.0.0.0.alpha1 6a03b2a54143a9bc0c6d4c7f190b77cdc5a14733) and it behaves the
same as LibreOffice 6.4.3 on Ubuntu 20.04 and the 18.04 (LibreOffice 6.4.3.2
747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8).

Attempting to sign *any* existing PDF works behaves exactly the same:

 * libreoffice6.4 --view /tmp/a.pdf
 * Click on "Sign document"
 * I get a pop-up saying "/tmp/lu12004kv2p7v.tmp does not exist"
 * Without closing the pop-up, I can see a /tmp/lu12004kv2p7t.tmp directory
containing lu12004kv2p7u.tmp file — note how it complains about not finding
path with "v" in the name, there is a directory with "t" containing a file with
"u".
 * After closing it, it pops-up another 4 times with exactly the same message
(for a total of 5 times).
 * Attempting to re-sign it seems to use the same temporary file paths (i.e.
the pop-up message remains the same).

(FWIW, attempting to "touch /tmp/lu12004kv2p7v.tmp" or "mkdir
/tmp/lu12004kv2p7v.tmp" does not make it continue working, but it was probably
already too late to "fix it up", i.e. the file handle is open already)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200524/0dc5eeb3/attachment.htm>


More information about the Libreoffice-bugs mailing list