The words, explained

Fidant is built on WebRTC, the technology browsers use for video calls. This page explains it and the other technical words on these pages, such as STUN and TURN.

WebRTC

The technology built into every modern browser for connecting two browsers directly, best known from video calls. Fidant uses it to carry the file between the browsers. The words below are its parts, and the ones Fidant adds.

Signaling

Passing the setup messages between two browsers before they can reach each other. WebRTC leaves this to the app. Fidant passes them through our server, encrypted so the server can't read or change them, except the sender's public key on the Ask for a file page, which isn't secret.

WebSocket

A lasting two-way connection between a page and a server. Fidant's pages keep one open to our server to pass the setup messages.

CDN

A content delivery network: a service with machines around the world that delivers a site's files from one near each visitor. Fidant's pages come from Amazon CloudFront, AWS's CDN. It sees which pages each IP address loads, but never the part of a link after #.

Load balancer

A service that receives the connections to a server and passes them on. Our server sits behind one from AWS. It decrypts the connection, so it sees what the pages and our server send each other. Setup messages stay encrypted, except the sender's public key on the Ask for a file page, which is not secret.

Offer and answer

The setup messages that describe each side of a WebRTC connection, including the fingerprint of its DTLS certificate. The sender's browser makes the offer and the recipient's browser the answer.

Candidates

The addresses at which a browser might be reached: on the local network, its public address, or an address on a relay. The two browsers swap candidates and try pairs of them until one works. WebRTC calls this process ICE.

STUN

A service that tells a browser its public address: the address the internet sees when the browser is behind a router. Our STUN service runs on the same machine as our relay.

TURN

A relay that forwards the traffic between two browsers that can't reach each other directly. Our relay is a TURN server. It forwards encrypted packets that it can't read.

DTLS

The encryption WebRTC always puts on the connection between two browsers, much like the TLS that HTTPS uses. Each browser checks the other's certificate against the fingerprint in the offer or answer.

Data channel

A WebRTC connection that carries data instead of sound and video. Fidant sends its frames over one.

AES-256-GCM

The encryption Fidant adds on top of DTLS, with a 256-bit key. It also detects any change to what it encrypted.

HKDF-SHA-256

A standard way to derive several keys from one secret. Fidant derives the signal key and the file key from the secret in the link.

SHA-256

A checksum: any change to a file, however small, gives a completely different value. The recipient's browser compares the file's checksum with the sender's.

Nonce

A number that must never be used twice with the same key. Fidant builds it from the direction and the frame's sequence number.

Fragment

The part of an address after the # sign. Browsers don't send it to servers when they open the address, so that is where the link keeps its secret. A request link keeps only a public key there, which is no secret.

Padmé

A way to round a size up so that it shows only roughly. It adds at most 12 %.

HMAC

A checksum made with a key. Only someone who has the key can make or check it.