macaroons: use fast scrypt options in itest and unit tests
This commit is contained in:
4 files changed
+42
-2
No files matched your search
+3
-2
@@ -106,8 +106,9 @@ func (r *RootKeyStorage) CreateUnlock(password *[]byte) error {
|
||||
}
|
||||
|
||||
// We haven't yet stored a key, so create a new one.
|
||||
encKey, err := snacl.NewSecretKey(password, snacl.DefaultN,
|
||||
snacl.DefaultR, snacl.DefaultP)
|
||||
encKey, err := snacl.NewSecretKey(
|
||||
password, scryptN, scryptR, scryptP,
|
||||
)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user