Skip to content

beavailable/plasma-runner-otp

Repository files navigation

plasma-runner-otp

This KRunner plugin allows you to generate Time-based One-Time Passwords (TOTP) directly from your KDE Plasma desktop. It's a simple way to access your OTPs for two-factor authentication (2FA).

OTP secrets are stored in KWallet under the default wallet which is "kdewallet" in a folder named "OTP Keys".

Although it's a python plugin, it won't be running until you use it and will automatically exit after two minutes of inactivity, so don't worry about the memory usage.

Note:
The main branch doesn't support Plasma 5 anymore, if you're still using Plasma 5, please go to branch plasma-5.

Screenshot

img

Installation

Requirements

# for Debian
sudo apt install python3-gi
# for Fedora
sudo dnf install python3-gobject

If you're not using Klipper, then you should also install one of the following packages:

# for wayland
wl-clipboard
# for x11
xclip

Debian & Ubuntu

Install via the OBS repo (see obs-repo for setup).

Other Distros

git clone https://github.com/beavailable/plasma-runner-otp
cd plasma-runner-otp/
./install.sh

After the installation, you'll get a KRunner plugin and an otp command for you to use in terminal.

Uninstallation

sudo apt autopurge plasma-runner-otp

or

./uninstall.sh

Acknowledgments

This project makes use of code and resources from the following sources:

  • Code:
    • mintotp by Susam Pal. Licensed under the MIT License.
  • Icon:
    • tabler-icons by Paweł Kuna. Licensed under the MIT License.

About

An OTP gernerator

Resources

License

Stars

Watchers

Forks

Packages

No packages published