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

Python 3: SecureKeyValues broken!! #69

Open
pfuntner opened this issue Mar 10, 2020 · 0 comments
Open

Python 3: SecureKeyValues broken!! #69

pfuntner opened this issue Mar 10, 2020 · 0 comments
Labels
python3 Bugs related to switching from Python 2 to Python 3

Comments

@pfuntner
Copy link
Owner

pfuntner commented Mar 10, 2020

The Python3 screwing continues:

$ SecureKeyValues.py -o test
Traceback (most recent call last):
  File "/home/jpfuntne/bin/SecureKeyValues.py", line 210, in <module>
    store = SecureKeyValues("test", "this is a test")
  File "/home/jpfuntne/bin/SecureKeyValues.py", line 95, in __init__
    self.key = base64.b64encode(hash.hexdigest())
  File "/usr/lib/python3.6/base64.py", line 58, in b64encode
    encoded = binascii.b2a_base64(s, newline=False)
TypeError: a bytes-like object is required, not 'str'

I'll revert it to Python 2 via 5c442df for now.

@pfuntner pfuntner added the python3 Bugs related to switching from Python 2 to Python 3 label Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python3 Bugs related to switching from Python 2 to Python 3
Projects
None yet
Development

No branches or pull requests

1 participant