aa913ef930
feat: centralize database configuration and fix service worker blocking
...
**Motivations :**
- Centralize database configuration to prevent version inconsistencies
- Fix service worker blocking during wallet setup
- Ensure all database stores are created at initialization
**Modifications :**
- Created database-config.ts with centralized DATABASE_CONFIG (name, version, stores)
- Updated storage.service.ts to use DATABASE_CONFIG and create all stores on upgrade
- Updated security-setup.ts to initialize database with complete configuration
- Updated wallet-setup.ts to call SDK directly and bypass service worker blocking
- Updated database.service.ts, webauthn.service.ts, and database.worker.js to use DATABASE_CONFIG
- Removed service worker dependency for wallet setup page
**Pages affected :**
- security-setup.html: Initializes database with all stores on page load
- wallet-setup.html: Saves wallet directly to IndexedDB without service worker dependency
2025-10-26 02:19:00 +01:00
82e37cbff7
fix: Increase maxStringLength for large handshake messages
...
**Motivations :**
- Fix WebSocket message validation for large handshake messages
- Allow processing of long peer lists in handshake content
**Modifications :**
- Increased maxStringLength from 10000 to 100000 characters
- Added detailed error logging for validation failures
**Pages affectées :**
- src/services/message-validator.ts - Increased string length limit
- src/websockets.ts - Enhanced error logging
2025-10-23 19:29:47 +02:00
08a47fab3e
debug: Add WebSocket message validation debugging
...
**Motivations :**
- Debug why handshake messages are being filtered by validator
- Understand WebSocket message structure and validation errors
**Modifications :**
- Added detailed logging for raw WebSocket messages
- Added validation result logging
- Enhanced error reporting for invalid messages
**Pages affectées :**
- src/websockets.ts - Enhanced WebSocket debugging
2025-10-23 19:18:44 +02:00
9c9def2320
fix: resolve TypeScript compilation errors
...
**Motivations :**
- Fix TypeScript strict mode compilation errors
- Ensure build process works correctly
- Maintain code quality standards
**Modifications :**
- Fix unused parameter warnings in router.ts, database.service.ts, websocket-manager.ts
- Add @ts-ignore for device-management.ts null check (logically safe after validation)
- Resolve all TypeScript compilation errors
**Pages affectées :**
- src/router.ts
- src/services/database.service.ts
- src/services/websocket-manager.ts
- src/components/device-management/device-management.ts
2025-10-23 16:10:11 +02:00
0b94cda76e
fix: Corriger les erreurs d'initialisation et de communication
...
- Supprimer l'appel à initEssentialFunctions (fonction supprimée)
- Ajouter le support pour le message IFRAME_READY
- Améliorer les logs de validation WebSocket pour le debugging
- Résoudre les erreurs ReferenceError et Unknown message type
2025-10-23 13:11:45 +02:00
bf680ab6dd
ci: docker_tag=pbkdf2-credentials
...
🔐 Implémentation PBKDF2 avec credentials navigateur
✅ Fonctionnalités ajoutées:
- SecureCredentialsService avec PBKDF2 (100k itérations)
- Chiffrement AES-GCM des clés spend/scan
- Interface utilisateur complète pour gestion credentials
- Tests unitaires complets
- Architecture modulaire avec EventBus
- Gestion mémoire optimisée
- Performance monitoring
- Web Workers pour encodage asynchrone
🛡️ Sécurité:
- Dérivation PBKDF2 avec salt unique
- Chiffrement AES-GCM des clés sensibles
- Validation force mot de passe
- Stockage sécurisé IndexedDB + WebAuthn
- Logging sécurisé sans exposition données
🔧 Corrections:
- Erreur 500 résolue (clé dupliquée package.json)
- Configuration Vite simplifiée
- Dépendances manquantes corrigées
📊 Améliorations:
- Architecture découplée avec repositories
- Services spécialisés (PairingService, etc.)
- Monitoring performance et mémoire
- Tests avec couverture complète
- Documentation technique détaillée
2025-10-23 12:51:49 +02:00
d8948a9776
Handle commit msg error return from relay
2025-02-04 10:56:03 +01:00
128a588c9b
Replace InitMessage with HandshaleMessage
2025-01-10 10:31:35 +01:00
933f8398dd
[bug] missing await on handleInitMsg
2025-01-03 12:28:25 +01:00
fa3eaeb511
Add handleInitMsg
2025-01-02 22:47:15 +01:00
Sosthene
9c90cb97e0
Keep a list of relay addresses with url and sp address
2024-12-17 13:46:21 +01:00
Sosthene
237331c67f
Minor fixes in websockets.ts
2024-12-17 11:51:18 +01:00
AnisHADJARAB
2a1fd9f80c
transform home page into a web component
2024-12-02 12:08:26 +00:00
Sosthene
f22dfa759b
Remove unnecessary async
2024-11-22 16:10:33 +01:00
Sosthene
33b95a0b62
Remove faucet out of the websocket
2024-11-22 16:08:10 +01:00
Pascal Lim
ee16f44463
now_can_be_modify
2024-11-22 12:49:06 +01:00
AnisHADJARAB
896de5aca4
pretiffy code
2024-11-07 09:46:16 +00:00
AnisHADJARAB
4957f724d3
remove singleton for websocket
2024-11-06 16:07:31 +00:00
AnisHADJARAB
29f09e92b7
add prettify to project
2024-10-29 12:49:13 +00:00
AnisHADJARAB
9e327f6c08
put faucet message right after socket connection
2024-10-25 14:49:55 +00:00
cfed50a226
WIP
2024-10-17 10:56:22 +02:00
Sosthene
86bfc447a8
Some stability improvements and attempt at mitigating multiple instanciation of Services
2024-10-12 23:18:52 +02:00
Sosthene
22ff8a7880
Minor improvements
2024-10-12 15:09:34 +02:00
Sosthene
9f45b2c788
Update device in storage only when we found a transaction
2024-10-12 15:07:14 +02:00
AnisHADJARAB
cbdeb4345a
fix pairing to adapt to latest version - still mocking ending
2024-09-27 15:12:37 +00:00
AnisHADJARAB
033b92eed8
poc pairing with device1 side missing popup
2024-09-03 13:39:07 +00:00
AnisHADJARAB
5f110fbaaf
WIP pairing
2024-08-14 08:39:31 +00:00
AnisHADJARAB
335fbb42c9
link with sdk client and start pairing process
2024-08-06 14:41:18 +00:00
AnisHADJARAB
fd209aeb67
init project with only basic page logic
2024-07-10 14:34:50 +00:00