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

Use hashed login-passwords paired with serval-key passwords. #17

Open
seamustuohy opened this issue Mar 26, 2014 · 1 comment
Open

Use hashed login-passwords paired with serval-key passwords. #17

seamustuohy opened this issue Mar 26, 2014 · 1 comment

Comments

@seamustuohy
Copy link
Collaborator

QtCryptographicHash to encode password values and use those hashed passwords for verifying user logins. This should also create a serval-key on account creation keyed with the same password.

This will require that when a user changes their password that the serval key is copied into a new key with the new password.

See: https://stackoverflow.com/questions/7977047/whats-the-best-practice-to-store-password-and-username-in-a-pyqt-program

@seamustuohy seamustuohy added this to the 2.0 milestone Mar 26, 2014
@seamustuohy seamustuohy self-assigned this Mar 26, 2014
@seamustuohy
Copy link
Collaborator Author

Current idea is to use a NamedTemporaryFile to decrypt the encrypted user QSettings file into. That way, if the application closes the temporary holding the users unencrypted data will be destroyed as well. This will mean that any writing to QSettings will have to go through the python-gnupg system to decrypt and write to the file. This will all be written up formally with corresponding code and presented outwards for review once it has been implemented.

@seamustuohy seamustuohy removed their assignment Jun 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant