This commit is contained in:
callebtc
2025-07-16 14:27:57 +02:00
parent 4aa27c4100
commit abbe89a00f
@@ -24,7 +24,7 @@ class NoiseEncryptionService(private val context: Context) {
// Session limits for performance and security
private const val REKEY_TIME_LIMIT = 3600000L // 1 hour (same as iOS)
private const val REKEY_MESSAGE_LIMIT = 10000L // 10k messages (same as iOS)
private const val REKEY_MESSAGE_LIMIT = 1000L // 1k messages (matches iOS) (same as iOS)
}
// Static identity key (persistent across app restarts) - loaded from secure storage