Skip to main content

Dmenu/Rofi frontend for Bitwarden CLI tool

Project description

Bitwarden-menu

PyPI - Python Version PyPI GitHub contributors

Dmenu/Rofi frontend for managing Bitwarden vaults. Uses the Bitwarden CLI tool to interact with the Bitwarden database.

This project is not associated with the Bitwarden project nor 8bit Solutions LLC.

Installation

pip install --user bitwarden-menu

Ensure ~/.local/bin is in your $PATH. Run bwm and enter your database path, keyfile path, and password.

For full installation documention see the [installation docs][docs/install.md].

Full Documentation

Installation - Configuration - Usage

Requirements

  1. Python 3.7+
  2. Bitwarden CLI. Ensure the bw command is in $PATH
  3. Pynput
  4. Dmenu, Rofi or Bemenu
  5. (optional) Pinentry.
  6. (optional) xdotool or ydotool (for Wayland).

Features

  • Supports bitwarden.com and self-hosted Vaultwarden accounts.
  • Auto-type username and/or password on selection. No clipboard copy/paste involved.
  • Supports login with 2FA code from Authenticator(TOTP), Email, or Yubikey.
  • Background process allows selectable time-out for locking the database.
  • Use a custom [Keepass 2.x style auto-type sequence][6].
  • Type, view or edit any field.
  • Open the URL in the default web browser.
  • Non U.S. English keyboard languages and layouts supported via xdotool or ydotool (for Wayland).
  • Edit notes using terminal or gui editor.
  • Add and Delete entries
  • Rename, move, delete and add folders and collections
  • Move any item to or from an organization, including support for multiple collections.
  • Hide selected folders from the default and 'View/Type Individual entries' views.
  • Define multiple vault URLs in the config file.
  • Configure the characters and groups of characters used during password generation.
  • Optional Pinentry support for secure passphrase entry.

License

  • MIT

Usage

bwm [-h] [-v VAULT] [-l LOGIN] [-a AUTOTYPE]

  • Run bwm or bind to keystroke combination.
  • Enter account URL on first run.
  • Start typing to match entries.
  • Configure ~/.config/bwm/config.ini as desired.
  • More detailed usage information.

Tests

To run tests in a venv: make test (not implemented yet)

Development

  • To install bitwarden-menu in a venv: make
  • Build man page from Markdown source: make man

Planned features

  • Unit tests
  • TOTP support
  • Notifications for syncing status (e.g. when a sync is complete)
  • Clipboard support

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitwarden-menu-0.2.1.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bitwarden_menu-0.2.1-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

Details for the file bitwarden-menu-0.2.1.tar.gz.

File metadata

  • Download URL: bitwarden-menu-0.2.1.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for bitwarden-menu-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2f272f709ddbc9de29ffdc57732b8ef13a7b55754af5419de2e4f766f3bd70b7
MD5 3c1720c11947ce5e983d39414cd6116b
BLAKE2b-256 51ab925f877693aff5e545944c2d6c077e7c24bfab24bef18c844524fd5f9ec3

See more details on using hashes here.

File details

Details for the file bitwarden_menu-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: bitwarden_menu-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 36.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for bitwarden_menu-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d0aa3f7ce58cdfa09d73968f9760e7d4e628a135fbadd06a98f2b136e9120515
MD5 6aff472f856c20fbb648d40f725704a2
BLAKE2b-256 a8d1cbd9988df3ce22bc43d5d0cdad02442e5058553548bca981072a95de9355

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page