maintainer-feedback requested: [Bug 283174] editors/libreoffice: Assertion failure: rv == SECSuccess, at sechash.c:140

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 Dec 2024 06:28:33 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked FreeBSD Office Team
<office@FreeBSD.org> for maintainer-feedback:
Bug 283174: editors/libreoffice: Assertion failure: rv == SECSuccess, at
sechash.c:140
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283174



--- Description ---
I get an assertion failure when trying to print. This does happen in the GUI,
but for debugging purposes, I created an empty writer document empty.odt and
try to convert it to PDF:
>> libreoffice --headless --convert-to test.pdf empty.odt
convert /home/user/empty.odt as a Writer document -> /home/user/empty.test.pdf
using filter : writer_pdf_Export
Assertion failure: rv == SECSuccess, at sechash.c:140
Unspecified Application Error

I don't know why it's doing that, generating an unsigned PDF shouldn't require
any cryptography. First it tried to access an old thunderbird profile, so I
removed that. Now it's putting some files into
/tmp/lu748243jmy7b.tmp/lu748243jmy7d.tmp/:
cert9.db	key4.db 	pkcs11.txt

I removed ~/.config/libreoffice/4/user, but no change.
Can I stop the hashing? Do I need a key pair even if I don't want to sign the
PDF?