cozy / cozy-proxy

This repository was part of CozyV2 which has been deprecated - Cozy authentication and routing layer
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
26 stars 31 forks source link

Preserve encrypted data when reseting password, if possible #248

Closed nono closed 8 years ago

nono commented 8 years ago

When the user reset its password, we try to preserve its slaveKey in the data-system that encrypts/decrypts the passwords saved in CouchDB. It's possible if the user has already logged in since the last restart of the data-system, as slaveKey is kept in memory.