bitwarden-keyring
bitwarden-keyring copied to clipboard
TypeError: a bytes-like object is required, not 'str'
I was getting the following error when trying to run it. I noticed the issue was caused by line 93-95 in init.py. Could be due to me using Windows/Python3.7.
I was able to fix the issue by setting encoding for subprocess and removing encoding for stdout.
https://github.com/steamer739/bitwarden-keyring/commit/11d624eb4ccff1bea5aaf2754798f2ae7011d379
However, I am still a bit confused about how to pull credentials properly. Can you please give me an example on how you would use bitwarden-keyring?
Thanks.
@steamer739
I was able to run " /usr/local/bin/pytest tests/test_bitwarden_keyring.py". On a Centos 7.6 with python36 installed. I am still trying to figure out how to really use this python module by a python script.
I just realized I forgot to watch this repo. Sorry for the 2 year lag...
So... Yeah. I use this project via twine, which was my main usecase.
I'll welcome improvements to the lib, now that I'm watching the project 😓