Menu

#1098 gpgme-json looked for even when settings do not require it

closed
nobody
None
3.1.2
Support_Request
Linux
---
nobody
2023-11-23
2023-01-25
No

When enigmail is initialised, it fails with an exception:

core.jsm: getService: got exception: Error: gpgme.js: initialize: gpgme-json executable not found

This is caused by files.jsm looking for gpgme-json in various locations which then fails when it cannot find it, even though the settings are to not use the built-in js key-handling. and just use gpg from the system.

[DEBUG] files.jsm: resolvePath: filePath=gpgme-json

Could you inspect the setting prior to searching. or note the 'error' without failing and only fail when a call to it is actually required, or search for gpg2;gpg first... or some combination of the above that means no failure if no gpgme-json where it is not required?

Discussion

  • Patrick Brunschwig

    Actually, that's exactly what changed in this version. gpgme-json is now required if you want to use gpg.

    gpgme-json is a JSON wrapper around gpg, which handles a lot of the problematic aspects that you're faced with if you directly integrate gpg (which already caused several security issues in Enigmail).

    Therefore, if you want to use gpg, then you need to install gpgme-json. Depending on your distribution , it's either a package on its own, or it comes bundled with gpgme or libgpgme.

     
  • Patrick Brunschwig

    • Severity: Major --> Support_Request
     
  • Robert Ladyman

    Robert Ladyman - 2023-01-25

    Neither are available in my distro, nor my users'. I have reverted to the previous enigmail version.

     
  • Patrick Brunschwig

    Which distribution are you using? Apparently some distibutions don't ship gpgme-json :-(

    I created a statically linked x86-64 version of gpgme-json that is available from:
    https://enigmail.net/download/gpgme-json

     
  • Patrick Brunschwig

    • status: open --> closed
     
  • Robert Ladyman

    Robert Ladyman - 2023-11-23

    Apologies, Patrick, for not replying - I didn't see the post in January.

     

Log in to post a comment.

MongoDB Logo MongoDB