A universal password manager interface, powered by Rofi
Project description
This project was heavily inspired by and builds on top of the ideas in bitwarden-rofi. Be sure to check it out!
Jimpass (alpha) - The unified password management interface
Jimsort, but for passwords.
A backend-agnostic credential launcher/manager. Powered by Rofi.
There is no doubt password managers make security online better and easier, yet their use involves a lot of moving, searching and clicking. This is tedious at best, and depending on the context, they'll require additional software just to do some good old copy/pasting. In my experience it's really hard to convince someone to switch from their universal 8 year old muscle-memory-typed password, over to installing 2 apps and a browser extension which require a different search and click choreography to get similar results.
The people behind bitwarden-rofi nailed it by bridging this UX gap for Bitwarden users. But, what if I don't use Bitwarden, or even worse, what if I need to use multiple managers? That's where Jim comes into play.
Features
-
Auto-type: For those too busy to paste the selected password, fill-in username/passwords automatically.
:warning: Introducing Danger mode: end by typing in
<Return>
automatically :warning: -
TOTP support: Copy the TOTP of the selected entry to your clipboard
-
Sync: Force the local databases to sync up with the remote backend
-
Custom keybindings: Define your own keybindings for different actions supported at runtime
-
Custom item display: Choose how and what is displayed in Rofi for each password manager using
{}
. Eg."Work(lastpass): {name} -- {username} ({email})"
-
Lock timeout(bitwarden only): Set a timer before having to re-enter your Master Password. Can be disabled.
-
Clipboard timeout: Set a timeout after which the keyboard is cleared
Supported Managers
The architecture allows anyone to extend Jim to use their password manager, provided there's a CLI for it. See the currently implemented ones
Dependencies
- python3.6+
- rofi
- xdotool
xclip
/wl-copy
/xsel
Jim communicates with each password manager through specific CLIs. Only install and configure those you use.
Installation
Using pip:
pip install Jimpass
Locally:
git clone https://github.com/remyrd/jimpass
cd jimpass
pip install .
# or
python setup.py install
Usage
In order to use Jimpass efficiently, bind the jp
or jimpass
command to a key combination of your choice.
The command comes with these options, which will override their counterpart in the configuration
Usage: <jp|jimpass> [OPTIONS]
CLI Entrypoint
Options:
-c, --config FILENAME Path to the config file. Defaults to
$HOME/.jimpass.yaml or
$XDG_CONFIG_HOME/jimpass/config.yaml
--auto-lock Incompatible with --no-auto-lock
--no-auto-lock Incompatible with --auto-lock
--lock-timer INTEGER RANGE Lock the database after RANGE seconds,
ignored if --no-auto-lock
--clipboard-timeout INTEGER RANGE
RANGE seconds before clearing up the
clipboard after copying
--copy-command [xclip|xset|wayland]
Utility to use when copying
--danger-mode Automatically press Return after auto-type
--help Show this message and exit.
Configuration
Jimpass requires at least a minimal configuration. This is due to the fact it wishes to load only the backend modules it needs.
Configuration files can be specified through the CLI, or by placing them under $HOME/.jimpass.yaml
or $XDG_CONFIG_HOME/jimpass/config.yaml
Minimal for Bitwarden users
managers:
- bitwarden
bitwarden:
template_str: 'bw: {name}: user {username}'
Minimal for Lastpass users
managers:
- lastpass
lastpass:
username: 'example@mail.box'
template_str: 'lp: {name}: {username} at {url}'
Complete with defaults
managers: # REQUIRED. List all password managers to be loaded
- bitwarden
- lastpass
auto_lock: True
lock_timer: 500 # Ignored if auto_lock: False
clipboard_timeout: 5
copy_command: xclip # Command to use when copying [xclip|xsel|wayland]
danger_mode: False # After auto-typing a password, immediately presses Return
keybindings:
# pressing Return copies the password under the selected entry.
type_all: 'alt+1'
type_user: 'alt+2'
type_pass: 'alt+3'
copy_totp: 'alt+t'
sync: 'alt+r'
bitwarden:
template_str: 'bw: {name}: user {username}'
# available templated params include:
# - id
# - name
# - username
lastpass:
username: 'example@mail.box'
template_str: 'lp: {name}: {username} at {url}'
# available templated params include:
# - id
# - fullname
# - name
# - username
# - url
# - group
# - note
# - last_modified
# - last_touch
Roadmap
- Customizable keybindings --- For actions such as
copy_username
,type_password
, etc - Templated item display --- Choose how Rofi displays items. Eg
"Bitwarden: {name} {username}"
- Better testing and CI
- Context based management --- Manage more credential aspects.
- Encrypted in-memory storage -- Will allow to add other features such as caching of frequently and last used for even faster launches.
Extending
Instructions on how to integrate your own password manager coming soon... In the meantime you can get inspired by the current implementations
License
Released under the GNU General Public License, version 3. See LICENSE
file.
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
File details
Details for the file Jimpass-0.0.3.tar.gz
.
File metadata
- Download URL: Jimpass-0.0.3.tar.gz
- Upload date:
- Size: 30.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce9b4751c0c6749e82423e48b88374054ea69ee5edad929508ce1f86b842e6e4 |
|
MD5 | 91ad4e21432f32b2ab4581bb5e3ca397 |
|
BLAKE2b-256 | 66e0f637b00b78c259f8f4b8397fb513af9f853eab435e73c49b5197a94d62ea |
File details
Details for the file Jimpass-0.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: Jimpass-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b99b7ab18399a0ef6602396b3013439cb9a3cacefeb98b11fcc6925d3621d66b |
|
MD5 | 1d705fb77c4923c2ddd8f05a80aa94f5 |
|
BLAKE2b-256 | 846b3737a039582dad304b1e26698b695fbeeecdd6626e2a944d704b02975850 |