[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2023-04-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #20 from James Blaszkiewicz  ---
With some further testing I was able to narrow the range down to: doesn't work
for 7.3.3.2, does work for 7.3.4.1. So some change in 7.3.4.1 fixed this issue. 

I'll check out bibisecting to nail down the actual code changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2023-04-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #19 from Caolán McNamara  ---
https://wiki.documentfoundation.org/QA/Bibisect might be your friend there, git
repos of pre-built binaries of libreoffice that can be used to git bisect to
find the source commit range of the change.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2023-04-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #18 from James Blaszkiewicz  ---
I was able to reproduce this issue in LibreOffice 7.3.3.2 with FIPS enabled,
>Convert /var/tmp/PP4.docx -> /var/tmp/PP4.pdf using filter : writer_pdf_Export
>Error: Please verify input parameters... (SfxBaseModel::impl_store > 
> failed: 0xc10(Error Area:Io Class:Write Code:16) 
>/home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3202 
>>/home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1775)

I also wanted to test if it was a simple permissions issue, so I tried pointing
the output path at a folder without write permissions, but with an output
folder that libreoffice is unable to write to, it outputs 0x507(Error Area:Io
Class:Access Code:7)) while the error we're seeing is 0xc10(Error Area:Io
Class:Write Code:16), so I don't believe this is a write permissions issue.
Also the only conversion that fails is to pdf.

With some research of similar issues, this 0xc10 is ERRCODE_IO_CANTWRITE which
is somewhat generic, and can be set in several places. I suspect it might be on
failure of creation of a temp file, but I can't be sure without either more log
output from LibreOffice, or a debug run with gdb.



When testing with LibreOffice 7.5.2 in the same FIPS enabled cluster, the
command was successful and the same office document was correctly converted to
PDF.

Is anyone more well-versed in the code than Michael Tighe and myself able to
point us in the direction of what the fix was or how to determine that?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2023-03-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

michael.ti...@ibm.com changed:

   What|Removed |Added

 Status|NEW |UNCONFIRMED
 Ever confirmed|1   |0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2023-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #17 from Caolán McNamara  ---
If I was correct back in comment #14 then run under gdb and add a breakpoint on
NSS_NoDB_Init and see if that call fails and is the root of the problem.

If it is, then what the solution could be is uncertain. A custom build could
experiment if --with-tls=openssl would get further

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2023-03-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #16 from michael.ti...@ibm.com ---
I was able to run LibreOffice inside a FIPS cluster - using BASH.
The error is a complaint that it can't write the PDF file.

What should my next step be?

Here's the command:

work%% cat doit.sh
/opt/libreoffice7.3/program/soffice --nologo --norestore --headless
--convert-to pdf --outdir . PP4.docx 


Here's the execution of the command: 

work%% ./doit.sh

Here's the output:

convert /var/tmp/PP4.docx -> /var/tmp/PP4.pdf using filter : writer_pdf_Export
Error: Please verify input parameters... (SfxBaseModel::impl_store
 failed: 0xc10(Error Area:Io Class:Write Code:16)
/home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3202
/home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1775)
work%%

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2023-03-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #15 from michael.ti...@ibm.com ---
Timur - We are interested in fixing this issue.

Can someone show us where the code is and guide us with the process?

I just revalidated the behavior - upload a WORD document to our
application which then calls the headless LibreOffice:

"message": "Invoking Libre office call with the following command -
[libreoffice --nologo --norestore --headless
-env:UserInstallation=file:///work_dir/c0379a25-7ef3-43da-849

The only clue so far is :

Check exit code - true",

We might start running it on the FIPS cluster - but that's still pending.

-- Michael Tighe 
IBM.COM

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2022-12-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

BogdanB  changed:

   What|Removed |Added

 Blocks||103378


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103378
[Bug 103378] [META] PDF export bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2022-07-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #14 from Caolán McNamara  ---
NSS_NoDB_Init fails with SEC_ERROR_PKCS11_DEVICE_ERROR in HashImpl::HashImpl of
comphelper/source/misc/hash.cxx. The mentioned commit of mine has (very
probably) no relation to the current problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2022-07-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

Timur  changed:

   What|Removed |Added

 CC||caol...@redhat.com

--- Comment #13 from Timur  ---
Hi Caolan. Please see this bug and comment 12 indicating it's related to your
commit.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2021-12-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

Michael Warner  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=55
   ||425

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2021-12-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

Michael Warner  changed:

   What|Removed |Added

Version|6.4.1.2 release |6.0.0.3 release

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2021-12-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #12 from Sunil  ---
I am also able to reproduce this error on RHEL 8.5. This bug seems to be
present on LO versions > 6.0. 

Running through command line gives the following error:

> Error: Please verify input parameters... (SfxBaseModel::impl_store 
>  failed: 0xc10(Error Area:Io Class:Write Code:16) 
> /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3180 
> /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1762)

Running Libreoffice with GUI and exporting a Writer document to PDF gives the
following error:

>Error saving the document Untitled 1:
>General Error.
>General input/output error.

After searching for similar error, I came across this resolved bug for
Libreoffice 5.x

https://bugzilla.redhat.com/show_bug.cgi?id=1614419

I tried installing older version of Libreoffice and seems LO 5.4 is able to
export the PDF when LO 6.0 and greater seem to fail. 

Furthermore, converting a txt document to docx document succeeds. However
converting any file to PDF fails with the above mentioned error. 

Anything else we can help with?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2021-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #11 from Timur  ---
LO is volunteer driven. So bug can be resolved in a week or not resolved in a
decade. You can fix it yourself, find or pay someone to get it fixed, or just
wait until some dev does it, if ever.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2021-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #10 from Shawn Bonham  ---
I am running into the same exact issue.  

RHEL 8.4 running FIPS mode.

Surprised there has been no movement on this for over a year.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 131323] Libreoffice pdf conversion fails in FIPS mode

2021-03-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #9 from Timur  ---
*** Bug 141241 has been marked as a duplicate of this bug. ***

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2021-03-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

Arnab Mallik  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #8 from Arnab Mallik  ---
Similar bug has been reported in
https://bugs.documentfoundation.org/show_bug.cgi?id=141241 .
Please look into it.

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2021-03-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

Timur  changed:

   What|Removed |Added

 CC||arnabdmal...@gmail.com

--- Comment #7 from Timur  ---
*** Bug 141241 has been marked as a duplicate of this bug. ***

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2021-03-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #6 from QA Administrators  ---
Dear aruns.suresh,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2020-09-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

BogdanB  changed:

   What|Removed |Added

 CC||buzea.bog...@libreoffice.or
   ||g
 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #5 from BogdanB  ---
Aruns, any changes about this bug?...

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2020-03-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

--- Comment #4 from aruns.sur...@gmail.com ---
I was able to consistently reproduce this on a REDHAT 7.x system with FIPS
enabled

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2020-03-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

Timur  changed:

   What|Removed |Added

   Priority|medium  |low

--- Comment #3 from Timur  ---
I'm not sure why FIPS would be relevant for PDF without security.
I don't reproduce in Windows. 
I can only ask you to test in some other system or wait for someone else to try
this.

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2020-03-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

aruns.sur...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #2 from aruns.sur...@gmail.com ---

I never tried using the GUI File-Export to PDF. I tested this on a RedHat 7.x
container.

And no, sample.xls does not use any security/cryptography.

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2020-03-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

QA Administrators  changed:

   What|Removed |Added

 Whiteboard| QA:needsComment|

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2020-03-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

Timur  changed:

   What|Removed |Added

 Ever confirmed|0   |1
URL||https://www.howtogeek.com/2
   ||45859/why-you-shouldnt-enab
   ||le-fips-compliant-encryptio
   ||n-on-windows/
 Status|UNCONFIRMED |NEEDINFO

--- Comment #1 from Timur  ---
Please explain:
1. Does GUI File-Export to PDF work? 
2. Does your sample.xls use some security/cryptography? If so, please attach.

Note for testers: To set FIPS in Windows, use the Windows Registry, go to
HKLM\System\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy\Enabled and set
Enabled to 1.

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2020-03-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
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 131323] Libreoffice pdf conversion fails in FIPS mode

2020-03-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131323

aruns.sur...@gmail.com changed:

   What|Removed |Added

 OS|All |Linux (All)

-- 
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