curl -sSL -o ./minkms https://dl.min.io/enterprise/minkms/release/linux-amd64/minkmsMake the MinKMS binary executable:
chmod +x ./minkms| diff --git a/argon2/argon2.go b/argon2/argon2.go | |
| index b423fea..9535653 100644 | |
| --- a/argon2/argon2.go | |
| +++ b/argon2/argon2.go | |
| @@ -99,6 +99,37 @@ func IDKey(password, salt []byte, time, memory uint32, threads uint8, keyLen uin | |
| return deriveKey(argon2id, password, salt, nil, nil, time, memory, threads, keyLen) | |
| } | |
| +func New(time, memory uint32, threads uint8) func([]byte, []byte, uint32) []byte { | |
| + if time < 1 { |
| diff --git a/argon2/argon2.go b/argon2/argon2.go | |
| index b423fea..4ce5cac 100644 | |
| --- a/argon2/argon2.go | |
| +++ b/argon2/argon2.go | |
| @@ -99,6 +99,37 @@ func IDKey(password, salt []byte, time, memory uint32, threads uint8, keyLen uin | |
| return deriveKey(argon2id, password, salt, nil, nil, time, memory, threads, keyLen) | |
| } | |
| +func New(time, memory uint32, threads uint8) func([]byte, []byte, uint32) []byte { | |
| + if time < 1 { |