To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=46283 Issue #:|46283 Summary:|Access to PKCS #11 module breaks Mozilla profile |detection Component:|framework Version:|680m89 Platform:|PC URL:| OS/Version:|Linux Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|tm Reported by:|rfsalomon
------- Additional comments from [EMAIL PROTECTED] Wed Mar 30 03:54:35 -0800 2005 ------- Environment: OpenOffice.org 1.9.89 SuSE Linux Pro 9.2 Aladdin eTokenPro modules pcsc-lite-1.1.1-248.1 When a PKCS #11 module is added to the Mozilla user profile in order to access digital certificates stored in a Smartcard or a USB token, OOo fails to recognize the user profile and throws the following message when File -> Digital Signatures... is invoked: "Digital signatures functionality could not be used, because no Mozilla user profile was found. Please check the Mozilla installation." Removing the PKCS #11 library from the Mozilla user profile resulted in OOo being able to use the certificate stored in the software security device to sign documents. I ran strace on soffice.bin and found the following lines in the output. Apparently OOo is able to locate the profile but for some reason is not able to use it. The library libetpkcs11.so.3.15.10 called is the Aladdin eTokenPro PKCS #11 library defined in the Mozilla security devices configuration. stat64("/home/salomon/.mozilla/Salomon/jsztfjdk.slt/secmod.db", {st_mode=S_IFREG|0600, st_size=16384, ...}) = 0 open("/home/salomon/.mozilla/Salomon/jsztfjdk.slt/secmod.db", O_RDONLY) = 48 fcntl64(48, F_SETFD, FD_CLOEXEC) = 0 read(48, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20\0\0\0\0\f\0\0\1\0\0\0"..., 260) = 260 lseek(48, 4096, SEEK_SET) = 4096 read(48, "\2\0\354\17\222\17\210\17\222\17\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 lseek(48, 8192, SEEK_SET) = 8192 read(48, "\4\0\344\17j\rS\r\357\f\341\f\357\f\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 close(48) ... stat64("/home/salomon/.mozilla/Salomon/jsztfjdk.slt/cert8.db", {st_mode=S_IFREG|0600, st_size=65536, ...}) = 0 open("/home/salomon/.mozilla/Salomon/jsztfjdk.slt/cert8.db", O_RDONLY) = 48 fcntl64(48, F_SETFD, FD_CLOEXEC) = 0 read(48, "[EMAIL PROTECTED]"..., 260) = 260 lseek(48, 16384, SEEK_SET) = 16384 read(48, "\2\0\367?\364?\352?\364?\377\377\377\377\377\377\377\377"..., 16384) = 16384 stat64("/home/salomon/.mozilla/Salomon/jsztfjdk.slt/key3.db", {st_mode=S_IFREG|0600, st_size=16384, ...}) = 0 open("/home/salomon/.mozilla/Salomon/jsztfjdk.slt/key3.db", O_RDONLY) = 49 fcntl64(49, F_SETFD, FD_CLOEXEC) = 0 read(49, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20\0\0\0\0\f\0\0\1\0\0\0"..., 260) = 260 lseek(49, 4096, SEEK_SET) = 4096 read(49, "\4\0\371\17\370\17\355\17\335\17\317\17\335\17\377\377"..., 4096) = 4096 open("/opt/mozilla/lib/libnssckbi.so", O_RDONLY) = 50 read(50, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360T\0"..., 512) = 512 fstat64(50, {st_mode=S_IFREG|0755, st_size=252563, ...}) = 0 old_mmap(NULL, 217020, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 50, 0) = 0x47a55000 madvise(0x47a55000, 217020, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x47a82000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 50, 0x2c000) = 0x47a82000 close(50) = 0 open("/usr/local/lib/libetpkcs11.so.3.15.10", O_RDONLY) = 50 read(50, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250Q\0"..., 512) = 512 fstat64(50, {st_mode=S_IFREG|0755, st_size=477468, ...}) = 0 old_mmap(NULL, 484756, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 50, 0) = 0x47a8a000 madvise(0x47a8a000, 484756, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x47ae6000, 98304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 50, 0x5c000) = 0x47ae6000 old_mmap(0x47afe000, 9620, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x47afe000 close(50) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]