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

Seems like copy/paste error in class Win32CryptoRegistry.get_password #60

Closed
jaraco opened this issue Feb 24, 2015 · 1 comment
Closed

Comments

@jaraco
Copy link
Owner

jaraco commented Feb 24, 2015

https://bitbucket.org/kang/python-keyring-lib/src/785c4a23c174/keyring/backend.py#cl-651

Line 651: password_encrypted = base64.encodestring(password_base64)

But it should be:
password_encrypted = base64.decodestring(password_base64)

otherwise get_password always returns None


@jaraco
Copy link
Owner Author

jaraco commented Feb 24, 2015

Use correct method, matching comment. Fixes #60.

→ <<cset 606167d078e0>>


Original comment by: Jason R. Coombs

@jaraco jaraco closed this as completed Feb 24, 2015
jaraco added a commit that referenced this issue Jun 6, 2022
* Update .coveragerc

* Keep whitespace consistent.

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
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

1 participant