Bug 156979 - certificate manager path reset to default when certificate manager opened
Summary: certificate manager path reset to default when certificate manager opened
Status: VERIFIED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Digital-Signatures OpenPGP
  Show dependency treegraph
 
Reported: 2023-08-28 22:34 UTC by Stéphane Guillou (stragu)
Modified: 2024-07-16 06:10 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2023-08-28 22:34:51 UTC
Since 92b6ffcd9f687cc54a0fc3801ca85c7e4d77512f, a path can be supplied to point to a certificate manager in Tools > Options > LibreOffice > Security.

However, the path is not persistent.

Steps:
0. Have two certificate managers installed (I have Seahorse and Kleopatra)
1. Save a Writer document and open the certificate manager with File > Digital Signatures > Digital Signatures... > Start Certificate Manager...
2. Note which is the default manager (in my case, Kleopatra). Insert the path of the _other_ manager in Tools > Options > LibreOffice > Security > Certificate Manager (in my case, /usr/bin/seahorse). Click OK.
3. See that the path persists if you go back to the Options dialog.
4. File > Digital Signatures > Digital Signatures... > Start Certificate Manager...

Result: the default certificate manager opens. The path is reset to the default in the Options dialog.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e7496f41562b75ea9732ca48f9aa0c07b69e424f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 1 Samuel Mehrbrodt (allotropia) 2024-07-15 05:37:42 UTC
Works correctly in current master.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4b87344cb7352f40466b45808ba5888ac065cd8f
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded
Comment 2 Stéphane Guillou (stragu) 2024-07-16 06:10:18 UTC
Yes, all good now.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bbd5079c58e352ece8f10328f8dcda9819c4cfbe
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded