Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: a bytes-like object is required, not 'str' #1

Open
rashed-c opened this issue Feb 25, 2019 · 2 comments
Open

TypeError: a bytes-like object is required, not 'str' #1

rashed-c opened this issue Feb 25, 2019 · 2 comments

Comments

@rashed-c
Copy link

rashed-c commented Feb 25, 2019

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.

rashed-c@11d624e

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.

@tjyang
Copy link

tjyang commented Aug 26, 2019

@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.

@ewjoachim
Copy link
Owner

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 😓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants