Fabian van Koppen ef2fdac599 Bump version to 1.1.0 and enhance TOTP handling
- Updated project version from 1.0.1 to 1.1.0 in pyproject.toml.
- Added `parse_totp` function for improved TOTP parsing and error handling.
- Refined item filtering to include only items of type 1 (logins).
- Enhanced username display logic in item selection.
2025-07-13 23:59:48 +02:00
2025-07-13 23:14:16 +02:00

bw-get: a CLI tool for Bitwarden

Installation

Requirements

  • Python > 3.9
  • pipx
  • An already configured and logged-in (bw login) Bitwarden CLI
git clone https://git.fabianvk.nl/faab/bw_get.git
cd bw_get/
pipx install .

Usage

# Optionally unlock the vault, so you're not prompted for master password every time
$ export BW_SESSION=`bw unlock --raw`

$ bw-get test
? Select item test.example.nl (faab)
name            : test.example.nl
id              : 4afbb65b-c6c5-4035-9cb7-52d0b827a1da
url             : http://test.example.nl/phpmyadmin/
username        : faab
password        : SecretPassword

Password has been copied to the clipboard.
Description
Wrapper script to get passwords from an already configured Bitwarden CLI
Readme 41 KiB
Languages
Python 100%