this post was submitted on 16 Jan 2024
15 points (100.0% liked)

KDE

5389 readers
136 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

EDIT:

This is just secure if your threat model is "having synced passwords, maybe on unencrypted cloud storage".

Kwallet is not secure, it can easily be read by any program. I stopped using this method myself as it is unnecessarily insecure.


original post

  1. Open "KWalletManager"
  2. If not existent, create a new folder called "Passwords" by clicking on the clear area and then "New"
  3. Open that folder, in here you find multiple folders, one is called "Passwords" in your systems language
  4. Right click the "Passwords" subfolder and press "new"
  5. Name the entry for example "Keepass", click on the entry and "show content", enter your Keepass Password
  6. Create an Appstarter for quick-opening your password storage!

You can create an App Desktop Entry like this, open your Terminal and enter:

When using KeepassXC Flatpak:

cat > ~/.local/share/applications/keepassxc-unlock.desktop <<EOF
[Desktop Entry]
Name=Keepass-unlock
Comment=Unlock your KeepassXC vault
Exec=kwallet-query -r KeepassXC kdewallet | /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=keepassxc --file-forwarding org.keepassxc.KeePassXC --pw-stdin ~/passwords.kdbx
Icon=emblem-encrypted-unlocked
Type=Application
EOF

When using a native package:

cat > ~/.local/share/applications/keepassxc-unlock.desktop <<EOF
[Desktop Entry]
Name=Keepass-unlock
Comment=Unlock your KeepassXC vault
Exec=kwallet-query -r KeepassXC kdewallet | keepassxc --pw-stdin ~/passwords.kdbx
Icon=emblem-encrypted-unlocked
Type=Application
EOF

you are viewing a single comment's thread
view the rest of the comments
[–] basxto@discuss.tchncs.de 2 points 7 months ago

Well, finding and reading this file definitely takes some effort, but an attacker can get your passwords that way as long as kwallet is unlocked.

They just need to run kwallet-query -r KeepassXC kdewallet to get the password and then download ~/passwords.kdbx