Giter Club home page Giter Club logo

Comments (8)

Jonny007-MKD avatar Jonny007-MKD commented on July 18, 2024 1

For anybody finding this issue and searching for a better solution than disabling firejail for thunderbird:
This is my thunderbird.local:

private-bin thunderbird # wtf?

whitelist /media/joni/Data/Sonstiges/Thunderbird # the profile
ignore disable-mnt

machine-id # we don't need audio or whatever

private-bin date, tr, sed, bash # for some startup script

# KeePassXC Mail
private-bin keepassxc-proxy
whitelist ${HOME}/.mozilla
read-only ${HOME}/.mozilla

from keepassxc-mail.

kkapsner avatar kkapsner commented on July 18, 2024

No idea in particular. Have to set a VM with LMDE 5 to check what's wrong.

from keepassxc-mail.

kkapsner avatar kkapsner commented on July 18, 2024

Works in my VM. Did you enable the browser integration for Firefox in KeepassXC?
What is the content of ~/.mozilla/native-messaging-hosts/de.kkapsner.keepassxc_mail.json?

from keepassxc-mail.

Jonny007-MKD avatar Jonny007-MKD commented on July 18, 2024

Yes, it does work in Firefox.

$ cat ~/.mozilla/native-messaging-hosts/de.kkapsner.keepassxc_mail.json
{
    "allowed_extensions": [
        "[email protected]"
    ],
    "description": "KeePassXC integration with native messaging support",
    "name": "de.kkapsner.keepassxc_mail",
    "path": "/usr/local/bin/keepassxc-proxy",
    "type": "stdio"
}

$ cat ~/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json 
{
    "allowed_extensions": [
        "[email protected]"
    ],
    "description": "KeePassXC integration with native messaging support",
    "name": "org.keepassxc.keepassxc_browser",
    "path": "/usr/local/bin/keepassxc-proxy",
    "type": "stdio"
}

The path to keepassxc-proxy is correct.

from keepassxc-mail.

kkapsner avatar kkapsner commented on July 18, 2024

Hm... which version/type of Thunderbird are you using?
Please also try a fresh Thunderbird profile.

from keepassxc-mail.

Jonny007-MKD avatar Jonny007-MKD commented on July 18, 2024

I'm using Firefox 100.0.2 and Thunderbird 91.9.0.

I created a new profile and did not set up anything except installing keepassxc-mail. This is the log output:

WebExtensions: KeePassXC-Mail: unable to get smtpEnterPasswordPromptTitle from bundle compose 2 [implementation.js:34](jar:file:///tmp/asdf/extensions/[email protected]!/experiment/implementation.js)
WebExtensions: KeePassXC-Mail: unable to get imapEnterPasswordPromptTitle from bundle imap [implementation.js:34](jar:file:///tmp/asdf/extensions/[email protected]!/experiment/implementation.js)
WebExtensions: KeePassXC-Mail: unable to get pop3EnterPasswordPromptTitle from bundle local 2 [implementation.js:34](jar:file:///tmp/asdf/extensions/[email protected]!/experiment/implementation.js)
WebExtensions: KeePassXC-Mail: unable to get loginDialog.label from bundle wcap 2 [implementation.js:34](jar:file:///tmp/asdf/extensions/[email protected]!/experiment/implementation.js)
WebExtensions: KeePassXC-Mail: unable to get PromptUsernameAndPassword2 from bundle commonDialog 2 [implementation.js:34](jar:file:///tmp/asdf/extensions/[email protected]!/experiment/implementation.js)
WebExtensions: KeePassXC-Mail: unable to get PromptPassword2 from bundle commonDialog [implementation.js:34](jar:file:///tmp/asdf/extensions/[email protected]!/experiment/implementation.js)
WebExtensions: KeePassXC-Mail: unable to get CertPassPromptDefault from bundle pipnss [implementation.js:34](jar:file:///tmp/asdf/extensions/[email protected]!/experiment/implementation.js)
WebExtensions: KeePassXC-Mail: unable to register support for CardBook 
Exception { name: "NS_ERROR_FILE_NOT_FOUND", message: "", result: 2152857618, filename: "jar:file:///tmp/asdf/extensions/[email protected]!/experiment/implementation.js", lineNumber: 742, columnNumber: 0, data: null, stack: "@jar:file:///tmp/asdf/extensions/[email protected]!/experiment
implementation.js:742:45\nasyncLoadModule/module.asyncLoaded<@resource://gre/modules/ExtensionCommon.jsm:1677:14\n", location: XPCWrappedNative_NoHelper }
[implemfentation.js:788](jar:file:///tmp/asdf/extensions/[email protected]!/experiment/implementation.js)
No chrome package registered for chrome://cardbook/content/cardbookRepository.js
ExtensionError: No such native application de.kkapsner.keepassxc_mail [ExtensionUtils.jsm:58:5](resource://gre/modules/ExtensionUtils.jsm)
this.ports.get(...) is undefined [ExtensionParent.jsm:366](resource://gre/modules/ExtensionParent.jsm)
ExtensionError: No such native application org.keepassxc.keepassxc_mail [ExtensionUtils.jsm:58:5](resource://gre/modules/ExtensionUtils.jsm)
this.ports.get(...) is undefined [ExtensionParent.jsm:366](resource://gre/modules/ExtensionParent.jsm)
ExtensionError: No such native application org.keepassxc.keepassxc_browser [ExtensionUtils.jsm:58:5](resource://gre/modules/ExtensionUtils.jsm)
this.ports.get(...) is undefined [ExtensionParent.jsm:366](resource://gre/modules/ExtensionParent.jsm)

from keepassxc-mail.

Jonny007-MKD avatar Jonny007-MKD commented on July 18, 2024

I found the reason: I'm using firejail (and forgot about it) and apperantely something changed after the upgrade. If I disable it for Thunderbird, native messaging works just fine 👍

Sorry for the trouble and thank you very much for the support (and the existence of this addon ;) )

from keepassxc-mail.

kkapsner avatar kkapsner commented on July 18, 2024

Makes sense that firejail interferes with the native messaging.

Sorry for the trouble

No problem.

thank you very much for the support (and the existence of this addon ;) )

You're welcome.

from keepassxc-mail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.