Technology
Under the hood.
For admins, developers and anyone who wants the details: what Neruna talks to, where it keeps data and how it's built.
- Platforms
- Windows 10 and 11 (64-bit), Linux (AppImage) and macOS (Apple silicon and Intel) – as a beta, in the same release
- Protocols
- IMAP · SMTP · CalDAV · CardDAV · ICS/webcal · Exchange Web Services · Microsoft Graph
- Formats
- MIME · iCalendar · vCard · S/MIME
- Storage
- Local SQLite database as an offline copy
- Passwords
- In the system keychain – Windows Credential Manager, macOS Keychain, Secret Service on Linux; without one, encrypted in the data folder. Never in the database, never in logs.
- Updates
- In the background, installed at the next start
- Languages
- German, English, French, Italian
- Licence
- Mozilla Public License 2.0
01 Architecture
Swappable providers instead of hard-wired protocols.
The interface only talks to three areas: mail, calendar and contacts. Behind them sit providers – one per protocol. Only standard formats flow between providers and storage: MIME, iCalendar and vCard.
That's how Microsoft 365 was added without changing the interface or storage – and how more providers will follow.
02 Protocols & standards
| Area | Standard | Notes |
|---|---|---|
| IMAP4rev1, SMTP (Submission) | New mail instantly via IMAP IDLE; folder subscriptions on the server; server-side search | |
| Calendar | CalDAV, iCalendar, ICS/webcal | Invitations and replies (iTIP); subscriptions read-only |
| Contacts | CardDAV, vCard 3.0/4.0 | Groups in the common CardDAV format, contact photos |
| Exchange | Exchange Web Services (SOAP), TLS · X.509 | Exchange 2013 or later; Negotiate/NTLM, Basic or client certificate only; mail, calendar, contacts |
| Proton Mail | IMAP · SMTP (Proton Mail Bridge) | The Bridge's IMAP/SMTP on 127.0.0.1; its certificate is remembered at setup |
| Microsoft 365 · Outlook.com | Microsoft Graph, OAuth 2.0 (PKCE) | Sign-in in the browser; Neruna never sees the password. Mail, calendar, contacts |
| Setup | Autoconfig, .well-known | Server settings from the provider, from Neruna's directory (Mozilla's database plus CalDAV, CardDAV, EWS) or from Mozilla's database; editable by hand |
| S/MIME | CMS, X.509 | S/MIME and PGP (PGP/MIME, inline PGP, Autocrypt): automatic signing and encryption; algorithms selectable for S/MIME |
03 Sync
Fast, frugal, readable offline.
- Inbox instantly via IMAP IDLE; without IDLE every 2 minutes
- All other folders, calendars and contacts every 5 minutes – changes only
- Microsoft 365 via delta queries, the last 90 days at first, older mail on demand
- Changes on both sides are guarded by versions (ETags)
04 Building blocks
Solid, open libraries.
- .NET 10 runtime, cross-platform
- Avalonia 12 interface for Windows, Linux and macOS
- MailKit · MimeKit IMAP, SMTP, MIME, S/MIME, OpenPGP
- Ical.Net iCalendar, recurrence, time zones
- EF Core · SQLite local offline copy
- WebView2 · WebKitGTK formatted writing (Windows or Linux)
- Velopack installer and automatic updates
05 Neruna Cloud · Control
The portal knows configuration. No content.
Neruna Cloud runs in Switzerland. Neruna Control is the same software on your own server, via Docker – as a beta on request.
- Device keys Every device has its own key pair (ECDSA P-256); the private part stays in the operating system's keychain and is not transmitted. Sign-in with short-lived tokens.
- Zero knowledge for secrets Certificate keys and account passwords are encrypted per device (ECDH P-256, HKDF, AES-GCM). The server only stores them encrypted and has no key for them.
- Vault Personal backups with a key derived from your vault password (Argon2id) and AES-GCM.
- Signed settings Account server settings are signed with the organisation's key. The app does not accept changed servers without a valid signature – so even a tampered server cannot redirect passwords to another server.
- What this protects against – and what not The encryption protects the stored secrets if the server leaks data, and from the operator – me included. It assumes that the devices and browsers of admins and staff are not compromised, that the organisation's passphrase stays secret and that the genuine organisation key was remembered at the first connection. One limit remains: the portal page comes from the server – a compromised server could deliver altered code while someone enters the passphrase there.