bw-guarded
is an overhead script for Bitwarden CLI that adds an extra layer of security by making the Bitwarden session guarded with root password and GPG encryption.
Inspirations from this gist
-
Tap the custom formula repository:
brew tap efa2d19/tap
-
Install
bw-guarded
:brew install bw-guarded
-
Unlink Bitwarden CLI
brew unlink bitwarden-cli
-
Create GPG key if you don't have one
gpg --full-generate-key
- Install sudo-touchid
To initialize or regenerate session key:
bw --generate-session-key
For all other Bitwarden CLI commands, simply use bw
:
bw [your-commands]
Contributions are always welcome!
If you have any ideas, suggestions, or bug reports, feel free to submit an issue or open a pull request.
This project is licensed under the Apache-2.0 License.