https://bugs.documentfoundation.org/show_bug.cgi?id=115374

Thorsten Behrens (CIB) <t...@libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #3 from Thorsten Behrens (CIB) <t...@libreoffice.org> ---
(In reply to Roman Schleicher from comment #2)
> * I have multiple drives and GPG4Win is installed on  "e:\Programme\GnuPG\".
> The system is on drive C. (LibreOffice is here: "e:\Programme\LibreOffice
> 6\")
> 
> 

Ok, so right now we're cheating a bit for finding the kleopatra
executable on windows - we're expecting that under
C:\\Program Files (x86)\\GNU\\GnuPG

Which explains the 'no key management solution found'. For doing the
actual crypto, that's delegated to gpgme, which IIRC does something
like this (in order):

* check if registry key "HKEY_LOCAL_MACHINE\\Software\\GNU\\GnuPG\\Install
Directory" is present (careful, win64 and win32 have different registry trees!)
* check if it's under Program Files, with the following path:
  GNU\\GnuPG\\gpg.exe (calling those functions:
    SHGetSpecialFolderPathA(...CSIDL_PROGRAM_FILES...)
    SHGetSpecialFolderPathA(...CSIDL_PROGRAM_FILESX86...) )
* throwing up arms in despair and giving up

So if your default Windows program directory is indeed e:\\Programme, then the
correct path where gpgme would find the binaries would be
e:\\Programme\\GNU\\GnuPG\\gpg.exe

Or you could try to set the above registry entry.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to