Plasma Pass


You may have heard about pass, the standard Unix password manager. I learned about it from Milian Wolf some months ago and I really liked it for its simplicity, respect for privacy and multiplatform support. And so over the past months, I started to slowly change my passwords to randomly generated ones stored in pass.

To get a password from pass, you simply type pass -c SomePath/SomeService into console and pass will copy the password straight to your clipboard. Super simple. Slightly less comfortable when you are dealing with websites though. Luckily there’s a wonderful browser extension called browserpass that can fill online login forms with a single click and has automatic password matching based on the current domain.

But sometimes even I am simply too lazy to open Yakuake and type in a command, so I started looking for some GUI. There’s qtpass, but that’s not exactly what I was looking for. And so I dusted off my QML knowledge and wrote Plasma Pass: a systray Plasma applet to quickly find your password and copy it into the clipboard with a single mouse click. The applet also takes care of removing the password from the X11 clipboard as well as Klipper after 45 seconds so it won’t leak accidentally through your clipboard history.

The source code is currently available in my scratch repo:

And now back to fixing Akonadi ;-)

16 thoughts on “Plasma Pass

    • Hi Victor,

      clone the source code and compile the applet:

      git clone git://
      cd plasma-pass
      cmake -DCMAKE_INSTALL_PREFIX=/usr
      sudo make install

      You may need to log out and back to get the applet in the systray. I’d like to get the applet included in Plasma at some point so you will get it with your distro packages.

      Edit: you will also need to install some development packages, at least for Qt and for Plasma Framework and KI18n Framework in order to compile it.

  1. yokite

    Getting this:
    Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.plasma.pass/contents/ui/main.qml:26:1: module “org.kde.plasma.private.plasmapass” is not installed

    • Hi,

      look like the binary part of the applet did not get compiled and/or installed into the correct location. Can you check that exists and was installed?

  2. b. mary

    This is great! I’ve made an AUR package for arch and it works nicely.

    There isn’t a license file in the project. It’d be nice to have one.

    Do you have a bug tracker for this? Any intentions on developing this further?

    • Thanks for packaging it so quickly!

      I don’t have a bug tracker yet, for now just drop me an email if you find any problems (dvratil at I’m certainly planning to develop this further (I’d like to have a search feature at least) and hopefully get the applet included in Plasma at some point.

      The license file is now in git, thanks for spotting it!

  3. Anonymous Coward

    I’m happy to see someone working on integrating pass into KDE. I think the end goal should be to turn KWallet into a pretty front end to pass. The current approach isn’t portable, whereas pass is supported on all major operating systems and Android.

    • Nowadays KWallet storage is protected by GPG, like pass. The main problem with KWallet is how the passwords are exchanged with other apps.

      • Now I use KeePassXC (also cross-platform, including browser add-ons). Within KDE, some passwords (e.g. network connections) are stored in KWallet. In ideal world, I’d really like to avoid multiple password managers…

        • KWallet is not really a password manager, it’s a password store. Technically speaking, KWallet could be a backend for pass, not the other way around. KWallet can also store other staff than just passwords, it also supports maps and binary data. Also, you as a user are not able to query passwords from KWallet. Sure, there’s the kwalletmanager, but that’s not really the same thing as “pass”, it’s more of a management tool.

      • Anonymous Coward

        You are correct, but there are two problems with that:
        1) The GPG key cannot be changed. If you need to change the key for whatever reason, you have to export the passwords, create a new GPG wallet and import them back.
        2) As Vojta mentioned, the wallet isn’t portable without KWallet installed on every platform on which you want access. I don’t believe KWallet exists for Windows or Mac, for example.

        • The KWallet framework supports both Windows and Mac and I don’t see any technical reason why it shouldn’t work there (getting the gpg support to work might be a bit of hassle, but gpg works just fine on Windows and Mac). I don’t know how about the kwalletmanager tool, but again I don’t see any technical reason why it should not work on other systems.

          I see your point about re-encrypting the store, but that should be a fairly simple feature to add to KWallet.

  4. Awesome! Installed flawless in Kubuntu 18.04. We are using pass in our work (stored in a private git repo) so this plasmoid is perfect for us. Just add some type of search box and it will be perfect :)

    Thank you for your work.

Comments are closed.