Dmenu interface for Keepass
Project description
Select entries from Keepass databases using dmenu or Rofi and type username and/or password into the active window.
Inspired in part by Passhole, but I wanted something more dmenu and less command line focused.
I’m very aware of pass and passmenu, but I’ve found that the Keepass options for other platforms are much easier to use, especially for the non-technically oriented. Thus…synchronized passwords and everyone is happy!
Features
Set multiple databases in the config file, including key files.
Auto-type username and/or password on selection. No clipboard copy/paste involved.
Enter database passphrase and optionally gpg encrypt and cache it using an existing gpg-agent key.
Set cache expiration time for saving the database passphrase
Optional Pinentry support for secure passphrase entry.
Possible future features: + Add/edit/delete entries + View/copy password notes
License
MIT
Requirements
Python 2.7+ or 3.2+
Pykeepass, PyUserInput, and pygpgme. Install via pip or your distribution’s package manager, if available.
Dmenu. Basic support is included for Rofi, but most Rofi configuration/theming should be done via Xresources.
(optional) Pinentry. Make sure to set which flavor of pinentry command to use in the config file.
Installation
Copy config.ini.example to ~/.config/keepmenu/config.ini
Add your database(s) and keyfile(s)
Add gpg_key if you want the database passphrase cached
Set the dmenu_command to rofi if you are using that instead
If using Rofi, you can try some of the command line options in config.ini or set them using the dmenu_command setting, but I haven’t tested most of them so I’d suggest configuring via .Xresources where possible.
If using dmenu for passphrase entry (pinentry not set), dmenu options in the [dmenu_passphrase] section of config.ini will override those in [dmenu] so you can, for example, set the normal foreground and background colors to be the same to obscure the passphrase.
Usage
Run script or bind to keystroke combination
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for keepmenu-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1482e81fd0337ab89bb31593220f17c55261c8f34b213d63edc01a85555cbe8e |
|
MD5 | 5863f67b6b762e6b16b4008df59f7b91 |
|
BLAKE2b-256 | 3bf6241ab125a7e6bdd2fa7875275625189de2e804a2531d3ff9c6c78bb48651 |