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

Remove instruction to use plaintext backend for storing GitHub tokens for Unit tests #175

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Rovanion
Copy link

First of all, it is insecure to store passwords in plain text. It should be discuoraged, not instructed.

Second, keyring.backends.file.PlaintextKeyring is no longer part of the keyring API as to discourage insecure storage of passwords. If the developer trying to set up the unit tests tries to follow these instructions verbatim they will fail with the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'keyring.backends' has no attribute 'file'

If, on my CentOS 7 system, I instead skip straight ahead to setting the password using the next line in the documentation all works out fine.

… for Unit tests

First of all, it is insecure to store passwords in plain text. It should be discuoraged, not
instructed.

Second, `keyring.backends.file.PlaintextKeyring` is no longer part of the keyring API as to
discourage insecure storage of passwords. If the developer trying to set up the unit tests tries to
follow these instructions verbatum they will fail with the following error:

```
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'keyring.backends' has no attribute 'file'
```
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

Successfully merging this pull request may close these issues.

1 participant