https://bugs.documentfoundation.org/show_bug.cgi?id=115538
--- Comment #27 from Johan Havermans <[email protected]> ---
I think I found a work around that enable LibreOffice version 6.1.4.2 on Mac OS
High Sierra to find my PGO key and sign a document. It is still a bug of course
when I update LO. My work around is inspired by
https://apple.stackexchange.com/questions/51677/how-to-set-path-for-finder-launched-applications
First, my Mac PGO tools are installed in:
/usr/local/MacGPG2/bin
This path also is shown when doing echo $PATH in Terminal.app
Here is what I did:
Step 1: Close LibreOffice and open in your text editor
/Applications/LibreOffice.app/Contents/Info.plist
Step 2: Just above the line
<key>CFBundleExecutable</key>
I added:
<key>LSEnvironment</key>
<dict>
<key>PATH</key>
<string>/usr/local/MacGPG2/bin:</string>
</dict>
Step 3: Save the info.plist
Step 4: Open Terminal.app and execute
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister
-v -f /Applications/LibreOffice.app
Step 5: Launch LO
Go to LO/Preferences/User Data, and you can select your PGP signing key from
the drop down list. When you create a Writer document, and digitally sign it,
you can do that too.
Hope this helps to fix this bug upstream
Johan
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs