mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-02 16:04:26 +00:00
Support argon2id password hash algo (#637)
* Support argon2id password hash algo * CI install argon2 deps * Go support argonid algo * RPC add pwd_hash_algo and pwd_hash_params * Support password hash algo * Don't set magic when pwd_hash is set * Fix ci error --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
@@ -36,6 +36,9 @@ type Commit struct {
|
||||
Magic string `json:"magic,omitempty"`
|
||||
RandomKey string `json:"key,omitempty"`
|
||||
Salt string `json:"salt,omitempty"`
|
||||
PwdHash string `json:"pwd_hash,omitempty"`
|
||||
PwdHashAlgo string `json:"pwd_hash_algo,omitempty"`
|
||||
PwdHashParams string `json:"pwd_hash_params,omitempty"`
|
||||
Version int `json:"version,omitempty"`
|
||||
Conflict int `json:"conflict,omitempty"`
|
||||
NewMerge int `json:"new_merge,omitempty"`
|
||||
|
Reference in New Issue
Block a user