Skip to content

Releases: mohammadazri/SentriZK-InternalChat

SentriZK v1.0.8

Choose a tag to compare

@mohammadazri mohammadazri released this 14 May 10:01

SentriZK Release Notes — v1.0.8 (Build 9)

Release Date: 14 May 2026


🐛 Critical Fix: ML Threat Detection on Physical Devices

Problem

The Edge AI threat scanner was always returning 35.9% on certain physical Android devices (e.g. RMX1911 / Oppo Realme, Android 10, Qualcomm Adreno GPU). The TFLite GPU + NNAPI delegate loaded without any error, but silently produced incorrect inference results, causing the model to output the same score for every message — safe or malicious.

Meanwhile, emulators running Android 16 with newer GPU drivers worked perfectly fine (100% threat for phishing messages).

Root Cause

Older Qualcomm Adreno GPU drivers on Android 10 partially support TFLite GPU delegation but produce garbage output for certain model operations (e.g. FULLY_CONNECTED v12, SELECT_V2). The delegate does not throw an error — it silently returns wrong values.

Fix

Added a self-validation step during model initialization:

  1. After loading the model with GPU+NNAPI, two test inferences are run — one safe message and one clearly malicious message.
  2. If the score difference between them is less than 5%, the delegate is detected as broken.
  3. The model is automatically reloaded in CPU-only mode, which produces correct results on all devices.
  4. Devices with modern GPUs (emulators, newer phones) continue to use hardware acceleration as before.

Files Changed:

  • Frontend/mobile/lib/services/message_scan_service.dart

🚀 New Feature: One-Step Account Recovery

Problem

Previously, after completing the account recovery process on the web portal, the user was redirected back to the app but left on the login screen. They had to manually tap "Sign In" again to actually enter the app — a confusing two-step process.

Fix

  • The web recovery page now redirects with a new recover-success deep link intent (instead of the generic auth-callback).
  • The mobile app detects recover-success, saves the recovered credentials (username + encryptedSalt), and immediately triggers the full login sequence — Firebase auth, Firestore profile sync, FCM token registration, and dashboard navigation.
  • The existing login-success flow was refactored into a reusable _performLoginSequence() method shared by both login and recovery.

Files Changed:

  • Frontend/web/src/app/recover/page.tsx
  • Frontend/mobile/lib/screens/auth_screen.dart

💬 Chat Management Features (from v1.0.7)

Delete Chat Threads

  • Long-press any chat in the main list to delete the entire local conversation.
  • Clears all Isar database messages for that peer and removes saved drafts from SharedPreferences.
  • Includes a confirmation dialog before deletion.

Copy Message Text

  • Long-press any message inside a 1-on-1 chat.
  • New "Copy Text" option appears in the bottom sheet alongside "Delete".
  • Copies the message content to the clipboard with a SnackBar confirmation.

Files Changed:

  • Frontend/mobile/lib/screens/user_list_screen.dart
  • Frontend/mobile/lib/screens/chat_screen.dart

SentriZK v1.0.7

Choose a tag to compare

@mohammadazri mohammadazri released this 13 May 13:41

🚀 SentriZK v1.0.6 (Latest Release)

Zero-Knowledge Authenticated Internal Chat with On-Device AI Threat Detection

We are excited to announce the stable release of SentriZK v1.0.6. This update brings critical fixes to our on-device Machine Learning threat detection engine, ensuring enterprise-grade security runs flawlessly on physical hardware.

📦 What's New & Fixed in v1.0.6

  • Critical ML Engine Fix: Resolved an asset compression issue that prevented the TensorFlow Lite model from loading correctly in Production builds. The Edge AI threat detection now successfully maps into memory and scans outgoing messages locally on physical Android devices.
  • Version Bump: Updated core pubspec.yaml to v1.0.6+7.
  • Performance Stability: Ensured high-performance mmap (Memory Mapping) is utilized for the .tflite model, keeping ML inference under 100ms per message without draining device battery.

SentriZK v1.0.6

Choose a tag to compare

@mohammadazri mohammadazri released this 09 May 04:40

SentriZK Mobile Update

🚀 Improvements

  • Chat Scrolling: Updated message list to behave like WhatsApp (anchored to bottom).
  • Auto-Scroll: Conversations now automatically scroll to the newest message when typing or receiving.
  • UI Layout: Optimized security notice and messages to anchor at the top for new chats.
  • Keyboard Fix: Fixed view behavior when opening the keyboard to keep messages visible.

SentriZK v1.0.5

Choose a tag to compare

@mohammadazri mohammadazri released this 13 Apr 08:02

SentriZK — Release Notes (v1.0.5+6)

E2EE Stabilization & Calling Experience Upgrade

This release focuses on strengthening the End-to-End Encryption (E2EE) pipeline while delivering a more seamless, high-quality calling experience. Key improvements include enhanced session reliability, background processing stability, and refined call interactions.


🔐 E2EE & Security Enhancements

  • Signal Protocol Isolation Layer
    All cryptographic operations (e.g., decryption, session initialization) are now executed within an isolate-safe layer, preventing asynchronous exceptions from disrupting background processes.

  • PreKey Collision Resolution
    Fixed a critical race condition where legacy messages could consume PreKey 0 on fresh installations, leading to InvalidKeyIdException.
    The system now distributes load by randomly selecting from a pool of available PreKeys.

  • Automatic Session Recovery (“Auto-Heal”)
    Introduced a silent recovery mechanism:

    • Failed decryptions trigger an automatic resend request
    • Messages are securely re-encrypted and delivered
    • “Waiting for this message…” placeholders are seamlessly replaced

📞 Calling Experience Improvements

  • Interactive Call Notifications
    Incoming voice and video calls now include actionable notifications with Accept and Decline options.

  • Immediate Call Entry (Foreground)
    When the app is active, incoming calls directly open the call interface without redundant notifications.

  • Global Navigation Handling
    Implemented a global navigation handler to support direct call access from notifications and lock screen interactions.

  • Enhanced Notification Priority
    Updated notification channels to maximum priority for improved reliability across modern Android devices.


🛠️ UX & Stability Improvements

  • Unified Permission Flow
    Camera, microphone, and notification permissions are now requested during initial setup to prevent interruptions during calls.

  • Navigation Stability Fix
    Resolved an issue causing a blank screen after call rejection by implementing a reliable navigation fallback.


📦 Release Details

  • Version: 1.0.5+6
  • Stability: Production-ready
  • Dependencies: Updated with latest libsignal_protocol_dart fixes

SentriZK v1.0.4

Choose a tag to compare

@mohammadazri mohammadazri released this 06 Apr 01:36

Fixed device id fetch to survive deletion or update

SentriZK v1.0.3

Choose a tag to compare

@mohammadazri mohammadazri released this 06 Apr 01:11

Fixed call problem and update domain

SentriZK v1.0.2

Choose a tag to compare

@mohammadazri mohammadazri released this 05 Apr 12:49

Fixed recovery methode and updaet as fixed device id based on device