From 9782907c909306c96b72de48ab94554dcdcf2e43 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 27 Feb 2024 09:54:11 -0500 Subject: [PATCH] fix: increase iterations to 600k --- protocols/s5/s5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/s5/s5.go b/protocols/s5/s5.go index 66a99fb..a1bea9e 100644 --- a/protocols/s5/s5.go +++ b/protocols/s5/s5.go @@ -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)