diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-01-13 11:28:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-13 11:28:43 +0100 |
commit | 622101f2dd43f618fa278976e38df8541f145bb6 (patch) | |
tree | 4e16e7c1839079b46334767659e3f4cf841b17cd /lib/public | |
parent | 00c3f807db59f69cac37429f1b4be424720371e3 (diff) | |
parent | fcda3a20f455795b898161ec4ada0aeb500b9218 (diff) | |
download | nextcloud-server-622101f2dd43f618fa278976e38df8541f145bb6.tar.gz nextcloud-server-622101f2dd43f618fa278976e38df8541f145bb6.zip |
Merge pull request #2918 from nextcloud/encryption-recovery-improvements
create new encryption keys on password reset and backup the old one
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Encryption/Keys/IStorage.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Encryption/Keys/IStorage.php b/lib/public/Encryption/Keys/IStorage.php index e17de04316b..c96d1573b38 100644 --- a/lib/public/Encryption/Keys/IStorage.php +++ b/lib/public/Encryption/Keys/IStorage.php @@ -170,4 +170,14 @@ interface IStorage { */ public function copyKeys($source, $target); + /** + * backup keys of a given encryption module + * + * @param string $encryptionModuleId + * @param string $purpose + * @param string $uid + * @return bool + * @since 12.0.0 + */ + public function backupUserKeys($encryptionModuleId, $purpose, $uid); } |