Security
Your keys and your data.
API keys
- Hosted
- Each mosque's Soniox key is encrypted with AES-256-GCM and bound to that mosque. It is checked with Soniox before it is stored, and never shown again: the app shows only the last four characters and when the key was last checked.
- Self-hosted
- The key stays in
.envon your own computer, readable only by you. Never in git, never in the Docker image. A key added in the app is encrypted the same way as on a hosted server. - Both
- Keys are removed from every log line.
Audio
The audio goes from the computer at the screen to the server, only while someone speaks, and from there to Soniox, which hears and translates it. Turjuman stores no audio. Turjuman is not affiliated with Soniox. On your own server you can use a Soniox project in the EU region.
Caption history
The captions of each session are kept on the server as a transcript. The server's operator can switch this off. Tell your community that the khutbah is transcribed.
Accounts
- Roles: the owner and admins manage their mosque; users manage only their own screens.
- Mosques never see each other's screens, accounts, looks, keys or caption history.
- Passwords are stored as scrypt hashes, and never logged.
- Failed logins are limited: 10 failures in 10 minutes block the address for 10 minutes.
Screen links
A screen's link holds a random ID, which is its only secret. New link replaces it, and the old link stops working at once.
HTTPS on your own network
Self-hosted, HTTPS on the mosque's network uses a small certificate authority of your own (make lan-cert), installed on each device. Its key, tls/ca.key, can sign certificates those devices trust: keep it, and backups that hold it, private. Remove “Turjuman local CA” from devices that stop using Turjuman.
This website
- No analytics, and no requests to other sites: the fonts come from this server.
- A strict Content-Security-Policy: no inline code, no third-party origins.
- Your language and animation choices stay in your own browser.
Report a problem
Report security problems privately: Report a vulnerability on the Security tab of the Turjuman repository on GitHub. Please do not open a public issue.
All the details: SECURITY.md.