bug#59292: libreoffice password protection doesn't work

2023-02-18 Thread Maxim Cournoyer
Hello, Maxim Cournoyer writes: > Hi again, > > Maxim Cournoyer writes: > > [...] > >> It never resolves libnssckbi.so. >> >> LibreOffice attempts to load this library in >> xmlsecurity/source/xmlsec/nss/nssinitializer.cxx, in the >> 'nsscrypto_initialize' procedure. >> >> The library appears

bug#59292: libreoffice password protection doesn't work

2023-02-17 Thread Maxim Cournoyer
Hi again, Maxim Cournoyer writes: [...] > It never resolves libnssckbi.so. > > LibreOffice attempts to load this library in > xmlsecurity/source/xmlsec/nss/nssinitializer.cxx, in the > 'nsscrypto_initialize' procedure. > > The library appears to be dynamically loaded via SECMOD_LoadUserModule.

bug#59292: libreoffice password protection doesn't work

2023-02-17 Thread Maxim Cournoyer
Hi, It may have to do with not correctly finding the "libnssckbi.so" share library, which is from NSS. Here's what tipped me to it, in strace output: --8<---cut here---start->8--- 13 matches for "ckbi" in buffer: *scratch* 169:[pid 2594] openat(AT_FDCWD,

bug#59292: libreoffice password protection doesn't work

2023-02-17 Thread Maxim Cournoyer
Hello, Maxim Cournoyer writes: > Hi, > > When password-protecting (encrypting) a file with LibreOffice, it fails > silently, leaving the file unprotected (!). > > Reproducer: > > 1. Launch Calc with 'libreoffice --calc'. > 2. Input something in the first cell. > 3. Select File -> Save As. At

bug#59292: libreoffice password protection doesn't work

2022-11-15 Thread Maxim Cournoyer
Hi, When password-protecting (encrypting) a file with LibreOffice, it fails silently, leaving the file unprotected (!). Reproducer: 1. Launch Calc with 'libreoffice --calc'. 2. Input something in the first cell. 3. Select File -> Save As. At the bottom left of the dialog box, make sure to tick