feat(handshake): shrink the connection exchange; release v5.9.0
The invitation carried the whole session: both public keys, their signatures, a salt, a challenge and the full SDP. It now carries only what brings up DTLS — ICE credentials, the certificate fingerprint, candidates, an expiry — plus a 16-byte commitment to the key material. The key material itself moves to the DataChannel and is checked against that commitment before it is parsed. Measured on the live site: 2274 characters across 4 animated QR frames became 151 characters in a single frame. The safety code is now computed over a transcript of both descriptors and both key blobs, and the HKDF salt is derived from that same transcript instead of being transmitted. authProof is replaced by one signature over it. SBQ2_SEND_ENABLED is the single value that reverts new invitations to SB1.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"version": "1786051485967",
|
||||
"buildVersion": "1786051485967",
|
||||
"appVersion": "5.8.1",
|
||||
"buildTime": "2026-08-06T21:24:46.003Z",
|
||||
"buildId": "1786051485967-6e82cfc",
|
||||
"gitHash": "6e82cfc",
|
||||
"version": "1786054741114",
|
||||
"buildVersion": "1786054741114",
|
||||
"appVersion": "5.9.0",
|
||||
"buildTime": "2026-08-06T22:19:01.153Z",
|
||||
"buildId": "1786054741114-fb959d7",
|
||||
"gitHash": "fb959d7",
|
||||
"generated": true,
|
||||
"generatedAt": "2026-08-06T21:24:46.005Z"
|
||||
"generatedAt": "2026-08-06T22:19:01.154Z"
|
||||
}
|
||||
Reference in New Issue
Block a user