LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2024, 05:24 AM   #1
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Keepassxc-browser extension in Cheomium-ungoogled


I did a clean new install of -current about two weeks ago and am now sorting out a couple of annoying problems. One is the title subject. I have Eric's Keepassxc package (2.7.7) installed along with the browser extension (1.9.0.3) Everything works fine with Firefox (125.0.2) but I can't get it to find the PW database using Eric's Chromium-Ungoogled (123.0.6312.122). I've tried everything I can find searching the internet but to no avail. I thought it might be the .json file in .config/chromium-ungoogled/NativeMessagingHosts but my last iteration does not find the database. If anyone has this browser version and keepassxc-browser working could you please let me know? My .json file is as entered below -

Code:
{
    "allowed_origins": [
        "chrome-extension://pdffhmdngciaglkoonimfcmckehcpafo/",
        "chrome-extension://oboonakemofpalcgghocfoadofidjkkk/"
   ]
    "description": "KeePassXC integration with native messaging support",
    "name": "org.keepassxc.keepassxc_browser",
    "path": "/usr/bin/keepassxc-proxy",
    "type": "stdio"
}
If you have it working and your .json file is different can you please let me know? Thanks in advance.
 
Old 04-24-2024, 12:21 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,217

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I just got this working. I updated keepassxc to 2.7.7 from Alienbob. I read through the .deps, I did not have pcsc.lite installed form Alienbob. I installed that, and all is working now on Slackware 15.0.

To be clear, I have:

Keepassxc-2.7.7
Botan 2.19.3
libminizip 1.2.11
pcsc-lite 1.9.5

all on Chromium Version 123.0.6312.122
KeePassXC-Browser 1.8.9

Hope this helps.

Last edited by camorri; 04-24-2024 at 12:53 PM.
 
Old 04-24-2024, 12:39 PM   #3
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
I have same configuration on Slackware 64bit current:
- keepassxc 2.7.7
- chromium-ungoogled 123.0.6312.122
- keepassxc extension 1.9.0.3

I also have the same json configuration file.

It works here.
I remember that, at some point in the past the keepassxc extension stopped to work, I had to delete the database connection and reconnect (see the extension parameter settings).

Hope this helps.

Last edited by gegechris99; 04-24-2024 at 12:41 PM. Reason: added info about having the same json config file
 
Old 04-25-2024, 12:03 AM   #4
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Thank you for your responses camorri and gegechris99. I had all the deps installed, the browser integration enabled in Keepassxc. Will keep looking for a fix but probably change over to FF as it works.
 
Old 04-25-2024, 01:56 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,899

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
for*me it was a simple typo, FF could not find that proxy. Probably you need to check if it is really there and the location is really correct (and is really executable).
 
Old 04-25-2024, 03:33 AM   #6
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Just had a look in the extension info under dev tools and found the following -

Code:
Unchecked runtime.lastError: Cannot create item with duplicate id fill_username_password
Unchecked runtime.lastError: Cannot create item with duplicate id fill_password
Unchecked runtime.lastError: Cannot create item with duplicate id fill_totp
Unchecked runtime.lastError: Cannot create item with duplicate id fill_attribute
Unchecked runtime.lastError: Cannot create item with duplicate id show_password_generator
Unchecked runtime.lastError: Cannot create item with duplicate id save_credentials
Unchecked runtime.lastError: Cannot create item with duplicate id request_autotype
page.js:128 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'clearCredentialsTimeout')
    at Object.switchTab (page.js:128:22)
    at init.js:31:14
client.js:383 KeePassXC-Browser: Connecting to native messaging host org.keepassxc.keepassxc_browser
global.js:132 [Error client.js:403] KeePassXC-Browser - Failed to connect: Specified native messaging host not found.
global.js:132 [Error keepass.js:941] KeePassXC-Browser - No content script available for this tab.
global.js:132 [Error keepass.js:313] KeePassXC-Browser - 5: Cannot connect to KeePassXC. Check that browser integration is enabled in KeePassXC settings.
2global.js:132 [Error keepass.js:941] KeePassXC-Browser - No content script available for this tab.
4global.js:132 [Error page.js:132] KeePassXC-Browser - Cannot send activated_tab message: Could not establish connection. Receiving end does not exist.
global.js:132 [Error keepass.js:313] KeePassXC-Browser - 5: Cannot connect to KeePassXC. Check that browser integration is enabled in KeePassXC settings.
global.js:132 [Error page.js:132] KeePassXC-Browser - Cannot send activated_tab message: Could not establish connection. Receiving end does not exist.
 
Old 04-25-2024, 04:51 AM   #7
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Found some old backup files and replaced the .json file and now everything works.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: KeePassXC 2.6 Open-Source Password Manager Released with Exciting New Features LXer Syndicated Linux News 0 07-11-2020 03:51 PM
[SOLVED] keepass vs keepassXC czezz Linux - Security 9 06-08-2020 04:27 PM
[SOLVED] Keepass2 or KeepassXC? lisamint Linux - Software 13 11-17-2019 02:48 AM
LXer: Free Password Manager KeePassXC 2.5.0 Adds Paper Backup, Re-Enables Wayland Support LXer Syndicated Linux News 0 10-29-2019 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration