Bug 491280 - Passwords can only be stored in KWallet, not 3rd-party secret service compatible password managers
Summary: Passwords can only be stored in KWallet, not 3rd-party secret service compati...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 484045 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-08-04 22:20 UTC by jf0918
Modified: 2025-02-12 18:23 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jf0918 2024-08-04 22:20:11 UTC
SUMMARY
When KWallet is disabled and KeepassXC used instead, the network manager does not store VPN passwords.

STEPS TO REPRODUCE
1. Have KWallet disabled in favor of KeepassXC
2. Import or create a new VPN connection in the network manager. Enter a username and a password.
3. Connect to VPN.

OBSERVED RESULT
A popup asking for the password shows up.

EXPECTED RESULT
VPN connects, using the stored password, without asking for one. Alternatively, query KeepassXC for the password.
Comment 1 Nate Graham 2024-08-05 18:43:08 UTC
Did you remember to uncheck the "Use KWallet for the Secret Service interface" checkbox in System Settings > KWallet?
Comment 2 jf0918 2024-08-05 21:03:41 UTC
(In reply to Nate Graham from comment #1)
> Did you remember to uncheck the "Use KWallet for the Secret Service
> interface" checkbox in System Settings > KWallet?

Thanks for the reply. Following the suggestion makes the network manager remember the password, but it's stored in KWallet and not KeepassXC. So now I have the same password stored in two different places. Unfortunate, but good enough.
Comment 3 Nate Graham 2024-08-05 21:06:09 UTC
How about if you unckeck that checkbox and then also disable KWaller after that?
Comment 4 jf0918 2024-08-05 21:37:35 UTC
KeepassXC installed and running with Secret Service API enabled. Tested to work with Firefox as intended.

Scenario #1
Disabled "Use KWallet for the Secret Service interface"
Enabled "Enable the KDE wallet subsystem"
Network manager stores VPN passwords in KWallet, and not in KeepassXC. Does not query KeepassXC.

Scenario #2
Disabled "Use KWallet for the Secret Service interface"
Disabled "Enable the KDE wallet subsystem"
Network manager does not store VPN passwords, and does not query KeepassXC for them either.
Comment 5 Nicolas Fella 2024-08-06 18:11:06 UTC
plasma-nm only has code to store the password in KWallet, so if you disable KWallet it won't store it.

This certainly isn't a bug in KWallet
Comment 6 Bug Janitor Service 2024-08-21 03:47:40 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Ben Cooksley 2024-12-23 18:23:39 UTC
Bulk transfer as requested in T17796
Comment 8 michaelk83 2025-02-12 13:31:06 UTC
*** Bug 484045 has been marked as a duplicate of this bug. ***