mickaelperrin / bitwarden-decrypt-cli Goto Github PK
View Code? Open in Web Editor NEWBitwarden CLI ported to Python to decrypt secrets
License: GNU General Public License v3.0
Bitwarden CLI ported to Python to decrypt secrets
License: GNU General Public License v3.0
[me@bw ~]$ bw unlock
? Master password: [hidden]
Your vault is now unlocked!
To unlock your vault, set your session key to the `BW_SESSION` environment variable. ex:
$ export BW_SESSION="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf2yth/1R3/yhgB+irDESoVS3Ior9rzHoJ2kUQejQ=="
> $env:BW_SESSION="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf2yth/1R3/yhgB+irDESoVS3Ior9rzHoJ2kUQejQ=="
You can also pass the session key to any command with the `--session` option. ex:
$ bw list items --session xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf2yth/1R3/yhgB+irDESoVS3Ior9rzHoJ2kUQejQ==
[me@bw ~]$
[me@bw ~]$ echo $BW_SESSION
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf2yth/1R3/yhgB+irDESoVS3Ior9rzHoJ2kUQejQ==
[me@bw ~]$ bw-simple get [FIELD=password] c9d2fde3-b9c3-4cb5-a94d-aa4d015bb120
Traceback (most recent call last):
File "/usr/local/bin/bw-simple", line 7, in <module>
from bitwarden_simple_cli.__main__ import start
File "/usr/local/lib/python3.6/site-packages/bitwarden_simple_cli/__init__.py", line 1, in <module>
from .CliSimple import CliSimple
File "/usr/local/lib/python3.6/site-packages/bitwarden_simple_cli/CliSimple.py", line 3, in <module>
from bitwarden_simple_cli.Bitwarden import Bitwarden
File "/usr/local/lib/python3.6/site-packages/bitwarden_simple_cli/Bitwarden.py", line 3, in <module>
from bitwarden_simple_cli.services.ContainerService import ContainerService
File "/usr/local/lib/python3.6/site-packages/bitwarden_simple_cli/services/ContainerService.py", line 1, in <module>
import bitwarden_simple_cli.services.CryptoService as CryptoService
File "/usr/local/lib/python3.6/site-packages/bitwarden_simple_cli/services/CryptoService.py", line 3, in <module>
from bitwarden_simple_cli.models.domain.CipherString import CipherString
File "/usr/local/lib/python3.6/site-packages/bitwarden_simple_cli/models/domain/CipherString.py", line 3, in <module>
import bitwarden_simple_cli.services.ContainerService as ContainerService
AttributeError: module 'bitwarden_simple_cli.services' has no attribute 'ContainerService'
[me@bw ~]$
Cool project!
Just wanted to let you know of an issue I'm having trying to pip install this from pypi -- I have a Manjaro system with Python 3.9. Trying to install this from pip fails trying to build cffi, but if I download the git repo and change the pinned requirement for cffi from == to >= and pip install from the git repo, it works fine. Not a big problem for me but thought I should bring it to your attention.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.