fix: increase iterations to 600k

This commit is contained in:
Derrick Hammer 2024-02-27 09:54:11 -05:00
parent 1ca46dddd4
commit 9782907c90
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ func configureS5Protocol(proto *S5Protocol) (*s5config.NodeConfig, error) {
proto.logger.Fatal("protocol.s5.db_path is required")
}
derivedSeed := pbkdf2.Key(proto.identity, []byte("s5"), 10000, 32, sha256.New)
derivedSeed := pbkdf2.Key(proto.identity, []byte("s5"), 600000, 32, sha256.New)
p := ed25519.NewKeyFromSeed(derivedSeed)
cfg.KeyPair = s5ed.New(p)