Commit Graph

5 Commits

Author SHA1 Message Date
ff8414a888 bwpass: Unlock vault if session ID is invalid
If the cached session ID is not valid (e.g. `bw lock` has been run since
the cache file was written), `Vault.load()` will now attempt to unlock
the vault again and update the saved session ID.
2019-04-30 17:44:21 -05:00
481da11776 bwpass: Ignore non-login entries
Bitwarden can store multiple different types of items in the vault, such
as credit cards and "secure notes."  These are not useful in the context
of `bwpass`, so they can be ignored when loading items from the vault.
2019-04-30 17:37:32 -05:00
4fa8b96606 dmenu_bw: Add dmenu front-end for bwpass
`dmenu_bw` works like `passmenu`: it uses `dmenu` to provide a picker,
and then copies the password for the selected item to the clipboard.
2019-04-25 10:36:27 -05:00
785be5424f bwpass: Initial implementation
The `bwpass` command attempts to replicate the main functionality of
`pass` on top of `bw`.  Since `bw` is incredibly slow, it tries to avoid
spawning it whenever possible by caching the list of items.  It also
manages the Bitwarden CLI session by reading the session token from a
file.  If the file does not exist, it will prompt for the vault master
password using `pinentry`, unlock the session, and store the new token.
2019-04-25 10:33:27 -05:00
8ad267cc0e Initial commit 2019-04-25 09:01:51 -05:00