The Private protocol
Parlark checks a signed session key, encrypts the request, and verifies the signed reply before displaying it.
What happens when you send a message
- Verify the session. The worker signs a short-lived session with a fresh challenge and an X25519 public key. The browser checks the signature, challenge, and expiration before sending your message.
- Encrypt the request. The browser and worker use X25519 and HKDF with SHA-256 to derive an AES-256-GCM key. The request travels to the worker as ciphertext.
- Verify and open the reply. The worker encrypts its reply and signs a receipt that binds the session, request, and response. The browser verifies the receipt before decrypting and displaying the reply.
A failed session check stops the request. A failed reply check keeps the response hidden.
What the check proves
Parlark checks the session key and verifies the software signature linking the reply to the request. Hardware attestation requires a Trusted Execution Environment (TEE) provider.
Saved history uses a separate AES-GCM key held in this browser’s IndexedDB. Temporary mode keeps conversation messages out of that store.