aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2025-12-07 19:44:46 +0100
committerGravatar Tim Segers <tsegers@pm.me>2025-12-07 19:45:21 +0100
commit86a61b7dec45ddeed4574353b9630e3ff5a7e27c (patch)
tree54129ceb74f3779929f8316d45921050bf2ec826
parent9331455b902d2a853458f32806b624349a5e2405 (diff)
downloadtweetpipe-86a61b7dec45ddeed4574353b9630e3ff5a7e27c.tar.gz
Decrease PBKDF2 iteration count to match OWASP recommendationt0.2
-rw-r--r--src/tweetpipe_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tweetpipe_p.h b/src/tweetpipe_p.h
index 06fc523..b37f6a4 100644
--- a/src/tweetpipe_p.h
+++ b/src/tweetpipe_p.h
@@ -24,7 +24,7 @@
#define MIN_BUFFER_SIZE 512
#define MAX_BUFFER_SIZE 0x7fffffff
#define DEFAULT_BUFFER_SIZE (1 * 1024 * 1024)
-#define PWHASH_OPSLIMIT 1000000
+#define PWHASH_OPSLIMIT 210000
typedef struct Context_ {
char * in;