be1d02f1f7
fix(file-transfer): size chunks under the 64KB SCTP message limit Each 64KB chunk became a ~87KB AES-GCM+Base64 file_chunk message, exceeding WebRTC's 64KB SCTP message-size floor. The consent handshake (small messages) succeeded, but no chunk was ever delivered on Safari and cross-browser connections whose SDP omits a=max-message-size, so files never transferred. Send chunk size is now 16KB (~22KB on the wire); inbound chunks up to 64KB stay accepted for backward compat. fix(file-transfer): make MIME advisory, drive validation by extension The client-supplied MIME type is easily spoofed and varies across browsers/OSes, yet was a hard gate: files with an empty MIME or a cross-OS variant (application/x-zip-compressed, image/jpg) were wrongly rejected. Extension allow-list plus BLOCKED_EXTENSIONS is now the boundary; a blatantly foreign MIME on a safe extension is still rejected and per-type size limits still apply.
118 lines
2.6 KiB
JSON
118 lines
2.6 KiB
JSON
{
|
|
"name": "SecureBit.chat v4.8.11 - ECDH + DTLS + SAS",
|
|
"short_name": "SecureBit",
|
|
"description": "P2P messenger with ECDH + DTLS + SAS security, military-grade cryptography and Lightning Network payments",
|
|
"start_url": "./",
|
|
"display": "standalone",
|
|
"background_color": "#1a1a1a",
|
|
"theme_color": "#ff6b35",
|
|
"orientation": "portrait-primary",
|
|
"scope": "./",
|
|
"lang": "en",
|
|
"dir": "ltr",
|
|
"categories": ["communication", "security", "productivity"],
|
|
"prefer_related_applications": false,
|
|
"icons": [
|
|
{
|
|
"src": "./logo/icon-72x72.png",
|
|
"sizes": "72x72",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-96x96.png",
|
|
"sizes": "96x96",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-128x128.png",
|
|
"sizes": "128x128",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-144x144.png",
|
|
"sizes": "144x144",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-152x152.png",
|
|
"sizes": "152x152",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-180x180.png",
|
|
"sizes": "180x180",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-256x256.png",
|
|
"sizes": "256x256",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-384x384.png",
|
|
"sizes": "384x384",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
},
|
|
{
|
|
"src": "./logo/icon-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
}
|
|
],
|
|
"shortcuts": [
|
|
{
|
|
"name": "Create Channel",
|
|
"short_name": "Create",
|
|
"description": "Create a new secure channel",
|
|
"url": "./?action=create",
|
|
"icons": [
|
|
{
|
|
"src": "./logo/icon-96x96.png",
|
|
"sizes": "96x96",
|
|
"type": "image/png"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Join Channel",
|
|
"short_name": "Join",
|
|
"description": "Join an existing secure channel",
|
|
"url": "./?action=join",
|
|
"icons": [
|
|
{
|
|
"src": "./logo/icon-96x96.png",
|
|
"sizes": "96x96",
|
|
"type": "image/png"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|