Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Password is stored in clear text in the config file #2

Open
bnjbvr opened this issue Dec 21, 2013 · 1 comment
Open

Password is stored in clear text in the config file #2

bnjbvr opened this issue Dec 21, 2013 · 1 comment

Comments

@bnjbvr
Copy link
Contributor

bnjbvr commented Dec 21, 2013

This means that if you know that somebody uses cozy-clis, you can just cat ~/.cozy-config.json and get their password.

Possible solutions include:

  • using encryption in both ends
  • ask to store a hashed version (sha256) of the password and compare it distantly with the hashed version of the password.
@frankrousseau
Copy link
Contributor

Thank you for the suggestions. We have similar problems with device synchronization. So it will take time before we solve this. Whatever you're right, the password shouldn't appear clearly in this file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants