1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-16 07:10:07 +00:00

Encrypted library version 3: use different salt for each library.

This commit is contained in:
Jonathan Xu
2019-03-19 17:42:36 +08:00
parent d4713418bb
commit 17ef884861
20 changed files with 243 additions and 88 deletions

View File

@@ -55,6 +55,7 @@ public class Repo : Object {
public string magic { get; set; }
public int enc_version { get; set; }
public string random_key { get; set; }
public string salt { get; set; }
// Section 3: Client only information
// Should be set for all client repo objects
@@ -200,6 +201,7 @@ public class EncryptionInfo: Object {
public int enc_version { get; set; }
public string magic { get; set; }
public string random_key { get; set; }
public string salt { get; set; }
}
} // namespace