SCAR Chat Server v1.0.0
=======================
Config file not found, using defaults
WARNING: Using default JWT secret! Change this in production!

Configuration:
  Database: scarchat.db
  SSL Cert: server.crt
  SSL Key:  server.key
  Host:     0.0.0.0
  Port:     8443

Server listening on 0.0.0.0:8443
New connection from 127.0.0.1:42046
SSL handshake completed
LoginRequest::deserialize - Payload size: 17
  Raw payload bytes: 06 00 47 61 6e 6f 6d 65 07 00 74 65 73 74 31 32 33 
  Username length (raw bytes): 6 0
  Username length (uint16_t): 6
  Username: 'Ganome'
  Password length: 7
  Password: (hidden, length=7)
LoginRequest constructor - Username: 'Ganome', Password length: 7
Received message type: 1
LoginRequest received - Username: 'Ganome', Password length: 7
Authentication attempt for user: 'Ganome'
User found in database, username: 'Ganome'
Stored salt (first 20 chars): 06944340a7d677e2245c
Stored hash (first 20 chars): 68304574252479bcade4
Computed hash (first 20 chars): 68304574252479bcade4
User 'Ganome' authenticated successfully
Sending successful LoginResponse with token
Sending message type 2, size: 200 bytes
Session added. Total sessions: 1
Successfully sent 200 bytes
New connection from 127.0.0.1:48806
SSL handshake completed
LoginRequest::deserialize - Payload size: 12
  Raw payload bytes: 04 00 74 65 73 74 04 00 31 32 33 34 
  Username length (raw bytes): 4 0
  Username length (uint16_t): 4
  Username: 'test'
  Password length: 4
  Password: (hidden, length=4)
LoginRequest constructor - Username: 'test', Password length: 4
Received message type: 1
LoginRequest received - Username: 'test', Password length: 4
Authentication attempt for user: 'test'
User found in database, username: 'test'
Stored salt (first 20 chars): 1f351b99ffc610d13369
Stored hash (first 20 chars): ae8b48181e6ed84fc28a
Computed hash (first 20 chars): ae8b48181e6ed84fc28a
User 'test' authenticated successfully
Sending successful LoginResponse with token
Sending message type 2, size: 197 bytes
Session added. Total sessions: 2
Successfully sent 197 bytes
Received message type: 35
Sending message type 35, size: 16 bytes
Successfully sent 16 bytes
Received message type: 36
Sending message type 36, size: 57073 bytes
Successfully sent 57073 bytes
Received message type: 36
Sending message type 36, size: 212 bytes
Successfully sent 212 bytes
Received message type: 36
Sending message type 36, size: 232 bytes
Successfully sent 232 bytes
Received message type: 36
Sending message type 36, size: 867 bytes
Successfully sent 867 bytes
Received message type: 36
Sending message type 36, size: 22328 bytes
Successfully sent 22328 bytes
Received message type: 36
Sending message type 36, size: 278 bytes
Successfully sent 278 bytes
Received message type: 36
Sending message type 36, size: 18469 bytes
Successfully sent 18469 bytes
Received message type: 36
Sending message type 36, size: 233 bytes
Successfully sent 233 bytes
Received message type: 36
Sending message type 36, size: 7881 bytes
Successfully sent 7881 bytes
Received message type: 36
Sending message type 36, size: 240 bytes
Successfully sent 240 bytes
Received message type: 36
Sending message type 36, size: 14914 bytes
Successfully sent 14914 bytes
Received message type: 36
Sending message type 36, size: 237 bytes
Successfully sent 237 bytes
Received message type: 36
Sending message type 36, size: 277 bytes
Successfully sent 277 bytes
Received message type: 36
Sending message type 36, size: 14679 bytes
Successfully sent 14679 bytes
Received message type: 36
Sending message type 36, size: 243 bytes
Successfully sent 243 bytes
Received message type: 36
Sending message type 36, size: 321 bytes
Successfully sent 321 bytes
Received message type: 36
Sending message type 36, size: 10239 bytes
Successfully sent 10239 bytes
Received message type: 36
Sending message type 36, size: 313 bytes
Successfully sent 313 bytes
Received message type: 36
Sending message type 36, size: 292 bytes
Successfully sent 292 bytes
Received message type: 36
Sending message type 36, size: 15412 bytes
Successfully sent 15412 bytes
Received message type: 36
Sending message type 36, size: 227 bytes
Successfully sent 227 bytes
Received message type: 36
Sending message type 36, size: 309 bytes
Successfully sent 309 bytes
Received message type: 36
Sending message type 36, size: 242 bytes
Successfully sent 242 bytes
Received message type: 36
Sending message type 36, size: 6769 bytes
Successfully sent 6769 bytes
Received message type: 36
Sending message type 36, size: 266 bytes
Successfully sent 266 bytes
Received message type: 36
Sending message type 36, size: 233 bytes
Successfully sent 233 bytes
Received message type: 36
Sending message type 36, size: 18600 bytes
Successfully sent 18600 bytes
Received message type: 36
Sending message type 36, size: 227 bytes
Successfully sent 227 bytes
Received message type: 36
Sending message type 36, size: 272 bytes
Successfully sent 272 bytes
Received message type: 36
Sending message type 36, size: 233 bytes
Successfully sent 233 bytes
Received message type: 36
Sending message type 36, size: 123849 bytes
Successfully sent 123849 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 197 bytes
Successfully sent 197 bytes
Received message type: 36
Sending message type 36, size: 257 bytes
Successfully sent 257 bytes
Received message type: 36
Sending message type 36, size: 463 bytes
Successfully sent 463 bytes
Received message type: 36
Sending message type 36, size: 351 bytes
Successfully sent 351 bytes
Received message type: 36
Sending message type 36, size: 767 bytes
Successfully sent 767 bytes
Received message type: 36
Sending message type 36, size: 6177 bytes
Successfully sent 6177 bytes
Received message type: 36
Sending message type 36, size: 256 bytes
Successfully sent 256 bytes
Received message type: 36
Sending message type 36, size: 238 bytes
Successfully sent 238 bytes
Received message type: 36
Sending message type 36, size: 12277 bytes
Successfully sent 12277 bytes
Received message type: 36
Sending message type 36, size: 259 bytes
Successfully sent 259 bytes
Received message type: 36
Sending message type 36, size: 218 bytes
Successfully sent 218 bytes
Received message type: 36
Sending message type 36, size: 218 bytes
Successfully sent 218 bytes
Received message type: 36
Sending message type 36, size: 218 bytes
Successfully sent 218 bytes
Received message type: 36
Sending message type 36, size: 13197 bytes
Successfully sent 13197 bytes
Received message type: 36
Sending message type 36, size: 231 bytes
Successfully sent 231 bytes
Received message type: 36
Sending message type 36, size: 219 bytes
Successfully sent 219 bytes
Received message type: 36
Sending message type 36, size: 219 bytes
Successfully sent 219 bytes
Received message type: 36
Sending message type 36, size: 219 bytes
Successfully sent 219 bytes
Received message type: 36
Sending message type 36, size: 17330 bytes
Successfully sent 17330 bytes
Received message type: 36
Sending message type 36, size: 211 bytes
Successfully sent 211 bytes
Received message type: 36
Sending message type 36, size: 316 bytes
Successfully sent 316 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 7880 bytes
Successfully sent 7880 bytes
Received message type: 36
Sending message type 36, size: 258 bytes
Successfully sent 258 bytes
Received message type: 36
Sending message type 36, size: 159806 bytes
Successfully sent 159806 bytes
Received message type: 36
Sending message type 36, size: 226 bytes
Successfully sent 226 bytes
Received message type: 36
Sending message type 36, size: 194 bytes
Successfully sent 194 bytes
Received message type: 36
Sending message type 36, size: 194 bytes
Successfully sent 194 bytes
Received message type: 36
Sending message type 36, size: 197 bytes
Successfully sent 197 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 294 bytes
Successfully sent 294 bytes
Received message type: 36
Sending message type 36, size: 275 bytes
Successfully sent 275 bytes
Received message type: 36
Sending message type 36, size: 618 bytes
Successfully sent 618 bytes
Received message type: 36
Sending message type 36, size: 215 bytes
Successfully sent 215 bytes
Received message type: 36
Sending message type 36, size: 215 bytes
Successfully sent 215 bytes
Received message type: 36
Sending message type 36, size: 544 bytes
Successfully sent 544 bytes
Received message type: 36
Sending message type 36, size: 210 bytes
Successfully sent 210 bytes
Received message type: 36
Sending message type 36, size: 210 bytes
Successfully sent 210 bytes
Received message type: 36
Sending message type 36, size: 210 bytes
Successfully sent 210 bytes
Received message type: 36
Sending message type 36, size: 3580 bytes
Successfully sent 3580 bytes
Received message type: 36
Sending message type 36, size: 503 bytes
Successfully sent 503 bytes
Received message type: 36
Sending message type 36, size: 503 bytes
Successfully sent 503 bytes
Received message type: 36
Sending message type 36, size: 503 bytes
Successfully sent 503 bytes
Received message type: 36
Sending message type 36, size: 503 bytes
Successfully sent 503 bytes
Received message type: 36
Sending message type 36, size: 503 bytes
Successfully sent 503 bytes
Received message type: 36
Sending message type 36, size: 14249 bytes
Successfully sent 14249 bytes
Received message type: 36
Sending message type 36, size: 292 bytes
Successfully sent 292 bytes
Received message type: 36
Sending message type 36, size: 225 bytes
Successfully sent 225 bytes
Received message type: 36
Sending message type 36, size: 225 bytes
Successfully sent 225 bytes
Received message type: 36
Sending message type 36, size: 225 bytes
Successfully sent 225 bytes
Received message type: 36
Sending message type 36, size: 225 bytes
Successfully sent 225 bytes
Received message type: 36
Sending message type 36, size: 225 bytes
Successfully sent 225 bytes
Received message type: 36
Sending message type 36, size: 9422 bytes
Successfully sent 9422 bytes
Received message type: 36
Sending message type 36, size: 256 bytes
Successfully sent 256 bytes
Received message type: 36
Sending message type 36, size: 190316 bytes
Successfully sent 190316 bytes
Received message type: 36
Sending message type 36, size: 267 bytes
Successfully sent 267 bytes
Received message type: 36
Sending message type 36, size: 197 bytes
Successfully sent 197 bytes
Received message type: 36
Sending message type 36, size: 197 bytes
Successfully sent 197 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 251 bytes
Successfully sent 251 bytes
Received message type: 36
Sending message type 36, size: 416 bytes
Successfully sent 416 bytes
Received message type: 36
Sending message type 36, size: 285 bytes
Successfully sent 285 bytes
Received message type: 36
Sending message type 36, size: 522 bytes
Successfully sent 522 bytes
Received message type: 36
Sending message type 36, size: 225 bytes
Successfully sent 225 bytes
Received message type: 36
Sending message type 36, size: 225 bytes
Successfully sent 225 bytes
Received message type: 36
Sending message type 36, size: 225 bytes
Successfully sent 225 bytes
Received message type: 36
Sending message type 36, size: 225 bytes
Successfully sent 225 bytes
Received message type: 36
Sending message type 36, size: 318 bytes
Successfully sent 318 bytes
Received message type: 36
Sending message type 36, size: 246 bytes
Successfully sent 246 bytes
Received message type: 36
Sending message type 36, size: 246 bytes
Successfully sent 246 bytes
Received message type: 36
Sending message type 36, size: 246 bytes
Successfully sent 246 bytes
Received message type: 36
Sending message type 36, size: 246 bytes
Successfully sent 246 bytes
Received message type: 36
Sending message type 36, size: 246 bytes
Successfully sent 246 bytes
Received message type: 36
Sending message type 36, size: 651 bytes
Successfully sent 651 bytes
Received message type: 36
Sending message type 36, size: 248 bytes
Successfully sent 248 bytes
Received message type: 36
Sending message type 36, size: 240 bytes
Successfully sent 240 bytes
Received message type: 36
Sending message type 36, size: 240 bytes
Successfully sent 240 bytes
Received message type: 36
Sending message type 36, size: 240 bytes
Successfully sent 240 bytes
Received message type: 36
Sending message type 36, size: 240 bytes
Successfully sent 240 bytes
Received message type: 36
Sending message type 36, size: 240 bytes
Successfully sent 240 bytes
Received message type: 36
Sending message type 36, size: 8471 bytes
Successfully sent 8471 bytes
Received message type: 36
Sending message type 36, size: 257 bytes
Successfully sent 257 bytes
Received message type: 36
Sending message type 36, size: 214 bytes
Successfully sent 214 bytes
Received message type: 36
Sending message type 36, size: 207856 bytes
Successfully sent 207856 bytes
Received message type: 36
Sending message type 36, size: 257 bytes
Successfully sent 257 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 206 bytes
Successfully sent 206 bytes
Received message type: 36
Sending message type 36, size: 230 bytes
Successfully sent 230 bytes
Received message type: 36
Sending message type 36, size: 282 bytes
Successfully sent 282 bytes
Received message type: 36
Sending message type 36, size: 228 bytes
Successfully sent 228 bytes
Received message type: 36
Sending message type 36, size: 210 bytes
Successfully sent 210 bytes
Received message type: 36
Sending message type 36, size: 313 bytes
Successfully sent 313 bytes
Received message type: 36
Sending message type 36, size: 223 bytes
Successfully sent 223 bytes
Received message type: 36
Sending message type 36, size: 223 bytes
Successfully sent 223 bytes
Received message type: 36
Sending message type 36, size: 223 bytes
Successfully sent 223 bytes
Received message type: 36
Sending message type 36, size: 223 bytes
Successfully sent 223 bytes
Received message type: 36
Sending message type 36, size: 223 bytes
Successfully sent 223 bytes
Received message type: 36
Sending message type 36, size: 723 bytes
Successfully sent 723 bytes
Received message type: 36
Sending message type 36, size: 226 bytes
Successfully sent 226 bytes
Received message type: 36
Sending message type 36, size: 226 bytes
Successfully sent 226 bytes
Received message type: 36
Sending message type 36, size: 226 bytes
Successfully sent 226 bytes
Received message type: 36
Sending message type 36, size: 226 bytes
Successfully sent 226 bytes
Received message type: 36
Sending message type 36, size: 226 bytes
Successfully sent 226 bytes
Received message type: 36
Sending message type 36, size: 226 bytes
Successfully sent 226 bytes
Received message type: 36
Sending message type 36, size: 1456 bytes
Successfully sent 1456 bytes
Received message type: 36
Sending message type 36, size: 512 bytes
Successfully sent 512 bytes
Received message type: 36
Sending message type 36, size: 492 bytes
Successfully sent 492 bytes
Received message type: 36
Sending message type 36, size: 492 bytes
Successfully sent 492 bytes
Received message type: 36
Sending message type 36, size: 492 bytes
Successfully sent 492 bytes
Received message type: 36
Sending message type 36, size: 492 bytes
Successfully sent 492 bytes
Received message type: 36
Sending message type 36, size: 492 bytes
Successfully sent 492 bytes
Received message type: 36
Sending message type 36, size: 492 bytes
Successfully sent 492 bytes
Received message type: 36
Sending message type 36, size: 222839 bytes
Received message type: 36
Sending message type 36, size: 240 bytes
