Syncore is a secure, offline-first password vault with QR-based two-factor authentication. The desktop application (Windows) stores and manages passwords encrypted with AES-256-GCM. The mobile client (Android) acts as a 2FA authenticator — every session requires a QR scan from the mobile device before the vault is unlocked.
Graduation Project — Computer Engineering Department, 2026
| Splash | QR Screen | Vault |
|---|---|---|
![]() |
![]() |
![]() |
| QR Screen | Vault |
|---|---|
![]() |
![]() |
- AES-256-GCM encryption for every password entry
- HMAC-SHA256 challenge-response 2FA over local network
- Argon2id key derivation (resistant to GPU/ASIC brute-force)
- TOFU (Trust On First Use) pairing — no pre-shared secrets needed
- Vault never unlocks without mobile approval
- Master password is never stored — only its Argon2 hash
- QR-based login — scan once per session
- Card-based password list with inline search
- Auto-categorization (18 categories: Social, Banking, Email, Gaming…)
- Weak password detection with visual badges
- Favorites and Trash with restore support
- Dark glassmorphism theme with custom title bars
- Splash screen with branded background
- Logout returns to QR screen (session isolation)
- QR scanner for desktop pairing
- Instant sync on connect, 1s lightweight poll + 15s full sync
- Category and strength filters
- Offline mode — local SQLite cache when desktop is unreachable
- Native Android splash screen and app icon
- Bidirectional sync with UUID-based last-modified-wins conflict resolution
- Tombstone system — deleted entries propagate to both sides
- 30-day tombstone retention policy
- Thread-safe mutex on both desktop (Python
threading.Lock) and mobile (Dart Future chain)
| Layer | Technology |
|---|---|
| Desktop UI | PyQt6 (Python) |
| Desktop Storage | SQLite via sqlite3 |
| Desktop Crypto | cryptography (AES-256-GCM), argon2-cffi |
| Desktop Server | Raw TCP with length-prefix framing (port 8765) |
| Mobile UI | Flutter / Dart |
| Mobile Storage | sqflite |
| Mobile Scanner | mobile_scanner |
| Transport | TCP + JSON, HMAC-SHA256 auth |
┌─────────────────────────────────┐ ┌────────────────────────────┐
│ Desktop (Windows) │ │ Mobile (Android) │
│ │ │ │
│ Splash → QR Screen │ │ Splash → Vault Screen │
│ ↓ │ │ ↓ │
│ Mobile scans QR │◄──TCP──► QR Scanner │
│ ↓ │ 8765 │ ↓ │
│ HMAC Challenge-Response │ │ Auth (HMAC-SHA256) │
│ ↓ │ │ ↓ │
│ Vault Unlocked │◄──────►│ Sync (UUID + tombstones) │
│ (AES-256-GCM SQLite) │ │ (sqflite cache) │
└─────────────────────────────────┘ └────────────────────────────┘
Authentication flow:
- Desktop displays a QR code encoding
pvault://<ip>:8765?user=<username> - Mobile scans QR and opens TCP connection
- Desktop sends a random 32-byte challenge
- Mobile responds with
HMAC-SHA256(shared_secret, challenge) - Desktop verifies — on success, vault is unlocked and CRUD session begins
- Windows 10 / 11
- Python 3.10+
- Dependencies:
pip install -r Syncore/desktop/requirements.txt
- Android 5.0+ (API 21+)
- Same local network as the desktop
git clone https://github.com/phevyy/Syncore.git
cd Syncore/Syncore/desktop
pip install -r requirements.txt
python main.pyDownload SyncoreSetup.exe from the latest release and run it — installs to Program Files, creates Start Menu shortcut. No Python required.
Download Syncore.apk from the latest release, transfer it to the Android device and install.
(Enable "Install from unknown sources" in device settings if needed)
Syncore/ # repository root
├── README.md
├── LICENSE
├── docs/banner.png
└── Syncore/
├── assets/screenshots/ # README screenshots
├── desktop/ # Windows app (Python / PyQt6)
│ ├── main.py # App entry point, splash, auth flow
│ ├── network_server.py # TCP server, challenge-response, CRUD handlers
│ ├── vault_storage.py # AES-256-GCM SQLite vault, sync logic
│ ├── crypto_manager.py # Argon2, AES-GCM, HMAC primitives
│ ├── session_manager.py # Persistent login session
│ ├── run_tests.py · test_manager.py · quick_test.py
│ ├── syncore.iss # Inno Setup installer script
│ ├── requirements.txt
│ ├── assets/ # icon/logo.ico, splash/splash.png
│ └── ui/
│ ├── styles.py # Dark theme, color palette
│ ├── manager_window.py # Main vault UI, cards, categories
│ ├── login_window.py
│ └── tfa_waiting_window.py
└── mobile_flutter/ # Android app (Flutter)
├── pubspec.yaml
└── lib/
├── main.dart · app_theme.dart
├── screens/
│ ├── vault_screen.dart # Main screen, sync, filters
│ ├── auth_screen.dart # Connect & authenticate
│ ├── qr_scan_screen.dart # QR scanner
│ ├── login_screen.dart
│ └── manual_screen.dart # Manual connection
└── services/
├── vault_service.dart # TCP session, mutex, protocol
├── auth_service.dart
├── local_vault_service.dart # Offline SQLite cache
└── storage_service.dart
| Property | Implementation |
|---|---|
| Vault encryption | AES-256-GCM (AEAD — confidentiality + integrity) |
| Key derivation | Argon2id — time=3, mem=64MB, threads=4 |
| 2FA transport | HMAC-SHA256 over local TCP |
| Nonce | 96-bit random per entry — no reuse |
| Master password | Never stored — Argon2 hash only |
| Sync conflict | UUID + UTC timestamp, last-modified-wins |
| Thread safety | threading.Lock (Python) + Future chain mutex (Dart) |
Note: This system is designed for local network use. The desktop machine acts as the server; the mobile device must be on the same network.
Author: Fikret Emre Sınmaz
Department: Computer Engineering
Year: 2026
Syncore, QR tabanlı iki faktörlü kimlik doğrulama sistemine sahip, güvenli ve çevrimdışı öncelikli bir şifre kasasıdır. Masaüstü uygulama (Windows) şifreleri AES-256-GCM ile şifreleyerek saklar. Mobil istemci (Android) 2FA doğrulayıcısı olarak çalışır — kasaya erişmek için her oturumda mobil cihazdan QR okutmak zorunludur.
Bitirme Projesi — Bilgisayar Mühendisliği Bölümü, 2026
| Açılış Ekranı | QR Ekranı | Kasa |
|---|---|---|
![]() |
![]() |
![]() |
| QR Ekranı | Kasa |
|---|---|
![]() |
![]() |
- Her şifre kaydı için AES-256-GCM şifreleme
- Yerel ağ üzerinden HMAC-SHA256 challenge-response 2FA
- GPU/ASIC kaba kuvvet saldırılarına dayanıklı Argon2id anahtar türetme
- TOFU (İlk Kullanımda Güven) eşleştirme — önceden paylaşılan anahtar gerekmez
- Mobil onayı olmadan kasa açılmaz
- Ana parola hiçbir zaman saklanmaz — yalnızca Argon2 hash'i tutulur
- Oturum başına bir kez QR okutma zorunluluğu
- Kart tabanlı şifre listesi ve anlık arama
- Otomatik kategorizasyon (18 kategori: Sosyal Medya, Bankacılık, E-posta, Oyun…)
- Görsel rozetlerle zayıf şifre tespiti
- Favoriler ve geri alınabilir Çöp Kutusu
- Özel başlık çubukları ile koyu cam efekti tema
- Marka kimliğine uygun açılış ekranı
- Çıkış yapınca QR ekranına dönüş (oturum izolasyonu)
- Masaüstü ile eşleştirme için QR tarayıcı
- Bağlanırken anlık senkronizasyon, 1s hafif yoklama + 15s tam senkronizasyon
- Kategori ve şifre güçlülüğü filtreleri
- Çevrimdışı mod — masaüstüne ulaşılamazken yerel SQLite önbelleği
- Native Android açılış ekranı ve uygulama ikonu
- UUID tabanlı son değişiklik kazanır çakışma çözümü ile çift yönlü senkronizasyon
- Tombstone sistemi — silinen kayıtlar her iki tarafa yayılır
- 30 günlük tombstone saklama politikası
- Masaüstünde
threading.Lock, mobilde Dart Future zinciri ile thread güvenliği
| Katman | Teknoloji |
|---|---|
| Masaüstü Arayüz | PyQt6 (Python) |
| Masaüstü Depolama | sqlite3 ile SQLite |
| Masaüstü Şifreleme | cryptography (AES-256-GCM), argon2-cffi |
| Masaüstü Sunucu | Uzunluk önekli ham TCP (port 8765) |
| Mobil Arayüz | Flutter / Dart |
| Mobil Depolama | sqflite |
| Mobil QR Tarayıcı | mobile_scanner |
| İletişim | TCP + JSON, HMAC-SHA256 kimlik doğrulama |
┌─────────────────────────────────┐ ┌────────────────────────────┐
│ Masaüstü (Windows) │ │ Mobil (Android) │
│ │ │ │
│ Açılış → QR Ekranı │ │ Açılış → Kasa Ekranı │
│ ↓ │ │ ↓ │
│ Mobil QR okur │◄──TCP──► QR Tarayıcı │
│ ↓ │ 8765 │ ↓ │
│ HMAC Challenge-Response │ │ Kimlik Doğrulama │
│ ↓ │ │ ↓ │
│ Kasa Açılır │◄──────►│ Senkronizasyon │
│ (AES-256-GCM SQLite) │ │ (sqflite önbelleği) │
└─────────────────────────────────┘ └────────────────────────────┘
Kimlik doğrulama akışı:
- Masaüstü,
pvault://<ip>:8765?user=<kullanıcıadı>içeren QR kodu gösterir - Mobil QR'ı tarar ve TCP bağlantısı açar
- Masaüstü rastgele 32 byte'lık bir challenge gönderir
- Mobil,
HMAC-SHA256(shared_secret, challenge)ile yanıt verir - Masaüstü doğrular — başarılı ise kasa açılır ve CRUD oturumu başlar
- Windows 10 / 11
- Python 3.10+
- Bağımlılıklar:
pip install -r Syncore/desktop/requirements.txt
- Android 5.0+ (API 21+)
- Masaüstü ile aynı yerel ağ
git clone https://github.com/phevyy/Syncore.git
cd Syncore/Syncore/desktop
pip install -r requirements.txt
python main.pySyncoreSetup.exe dosyasını son sürüm sayfasından indirip çalıştırın — Program Files'a kurar, Başlat Menüsüne kısayol ekler. Python gerekmez.
Syncore.apk dosyasını son sürüm sayfasından indirip Android cihaza aktarın ve yükleyin.
(Gerekirse cihaz ayarlarından "Bilinmeyen kaynaklardan yükleme"ye izin verin)
Syncore/ # depo kökü
├── README.md
├── LICENSE
├── docs/banner.png
└── Syncore/
├── assets/screenshots/ # README ekran görüntüleri
├── desktop/ # Windows uygulaması (Python / PyQt6)
│ ├── main.py # Giriş noktası, açılış ekranı, auth akışı
│ ├── network_server.py # TCP sunucu, challenge-response, CRUD işleyicileri
│ ├── vault_storage.py # AES-256-GCM SQLite kasası, sync mantığı
│ ├── crypto_manager.py # Argon2, AES-GCM, HMAC ilkelleri
│ ├── session_manager.py # Kalıcı oturum yönetimi
│ ├── run_tests.py · test_manager.py · quick_test.py
│ ├── syncore.iss # Inno Setup kurulum betiği
│ ├── requirements.txt
│ ├── assets/ # icon/logo.ico, splash/splash.png
│ └── ui/
│ ├── styles.py # Koyu tema, renk paleti
│ ├── manager_window.py # Ana kasa arayüzü, kartlar, kategoriler
│ ├── login_window.py
│ └── tfa_waiting_window.py
└── mobile_flutter/ # Android uygulaması (Flutter)
├── pubspec.yaml
└── lib/
├── main.dart · app_theme.dart
├── screens/
│ ├── vault_screen.dart # Ana ekran, senkronizasyon, filtreler
│ ├── auth_screen.dart # Bağlantı ve kimlik doğrulama
│ ├── qr_scan_screen.dart # QR tarayıcı
│ ├── login_screen.dart
│ └── manual_screen.dart # Elle bağlantı
└── services/
├── vault_service.dart # TCP oturumu, mutex, protokol
├── auth_service.dart
├── local_vault_service.dart # Çevrimdışı SQLite önbelleği
└── storage_service.dart
| Özellik | Uygulama |
|---|---|
| Kasa şifreleme | AES-256-GCM (AEAD — gizlilik + bütünlük) |
| Anahtar türetme | Argon2id — time=3, mem=64MB, thread=4 |
| 2FA taşıma | Yerel TCP üzerinden HMAC-SHA256 |
| Nonce | Kayıt başına 96-bit rastgele — tekrar kullanım yok |
| Ana parola | Hiçbir zaman saklanmaz — yalnızca Argon2 hash |
| Sync çakışması | UUID + UTC zaman damgası, son değişiklik kazanır |
| Thread güvenliği | threading.Lock (Python) + Future zinciri mutex (Dart) |
Not: Bu sistem yerel ağ kullanımı için tasarlanmıştır. Masaüstü sunucu görevi üstlenir; mobil cihazın aynı ağda olması gerekir.
Yazar: Fikret Emre Sınmaz
Bölüm: Bilgisayar Mühendisliği
Yıl: 2026
Syncore — Güvenli, yerel, gizlilik odaklı.





