Skip to content

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