# Obálka: mail from the state that reads like mail

A client for Czech data boxes (datové schránky, ISDS) on Android and iOS. Mainly for people who hold more than one box: all of them in one list, running deadlines at the top, and your mail with its signed originals on the phone. No server, and nothing in the background.

- Public beta on the iPhone through TestFlight: https://testflight.apple.com/join/xugmfyc6; not on the App Store or Google Play yet
- Free (0 Kč), open source under the MIT licence: https://github.com/dorhawk-software/obalka
- An unofficial client: not from the state, nor from the ISDS operator
- In Czech: https://dorhawk.software/obalka/

## Three boxes, one place to look

Yourself, your sole trade, your company: one data box quickly becomes three, each with its own sign-in. Obálka signs in to each one separately and shows their messages in one list, like email.

- **A label on every message.** In the merged list, a coloured label says which box a message came to. Each box has a colour of its own.
- **On top, what can't wait.** "Needs attention" holds unread messages and messages accepted by fiction. The number says how many, the line under it says why.
- **In your other boxes.** When you look at one box, a line under what needs attention says how much is unread in the others. Nothing more, and nothing louder.
- **Each signs in its own way.** Name and password, SMS code or Mobile Key (Mobilní klíč): every method ISDS offers third-party apps. In the test environment too.

## Ten days until it counts as delivered. Ninety days from sign-in until it's erased.

A message nobody signs in to for ten days is accepted by fiction, and its deadlines run whether you've read it or not. Sign in sooner and it is accepted then, and ninety days later ISDS erases it, attachments and all. A message accepted by fiction it keeps for at least three years.

Obálka shows the running deadline at the top and tells you about fiction straight away. It keeps the message, its attachments and the signed original (.zfo) in an encrypted archive on the phone for as long as you like.

Acceptance on sign-in and by fiction under § 17 of Act No. 300/2008 Coll., how long ISDS keeps it under the ISDS operating rules (Provozní řád ISDS). Obálka shows deadlines and fiction as a help; what counts is the law and the message itself.

## Nothing happens in the background. Not even checking for new mail.

Under the law, simply loading the list of received messages counts as delivery (§ 17(3)). An app that checks your box on its own can deliver you mail you don't know about. The ISDS operating rules allow an app on a phone or computer to sign in only "by a manual command of the user", and Obálka follows them to the letter.

Obálka signs in to a box when you open it, refresh the message list, or download or send a message. Never in the background, never at night, never without you. That's why it sends no new-mail notifications: it would have to sign in on its own to know. It only reminds you of dates you set yourself.

## What stays on the phone, and what leaves it

The app has no server and no account, and the developers have no access to your mail.

What stays on the phone:

- **Messages and attachments** (envelopes, states, drafts, reminders, downloaded attachments and signed originals): in an encrypted database and the app's own storage, which other apps can't reach. Only you can get to them.
- **Sign-in details**: in the phone's secure storage, Keychain on iOS and Keystore on Android. With the app lock on, only after your fingerprint, face or phone passcode.
- **Archive backup**: a file on the phone, or wherever you save it. Only whoever knows the backup password can open it; not even the developers.
- **Debug log**: a technical trace, only while debugging is on, in a file on the phone.

What leaves:

- **Sign-in and messages**: to ISDS, straight from the phone, over HTTPS. Only when you ask, never in the background.
- **Error reports**: which error happened, and where; never message contents or subjects, names, box IDs, sign-in details or attachments. To Sentry on servers in the EU (Frankfurt), deleted after 30 days. Only with your consent, which the app asks for; you can turn it off at any time.
- **Transfer to a new phone**: a backup you pick, sign-in details never. Straight to the other phone on your network, otherwise through the public relay of the croc tool, encrypted between the phones. Only when you start it.

App data is left out of whole-phone backups (iCloud, Google). No ads, no tracking, no selling of data. Full text: [privacy policy](https://github.com/dorhawk-software/obalka/blob/main/PRIVACY.en.md).

## A new phone doesn't start with an empty box

A backup of the whole archive, with every attachment if you choose. Nobody opens it without the password. Send it to another phone with a one-time code or a QR code, password included.

- **Encryption**: Argon2id and XChaCha20-Poly1305, attachments AES-256-GCM.
- **Password**: only the user has it. It can also be shown as a QR code for the other phone.
- **Attachments**: none, only downloaded ones, or all of them. If ISDS has already erased some, the backup says so up front.
- **Transfer**: sends a finished backup as it is. Tested on Android; tested on iPhone, with a few checks left.

## The app

Light and dark themes, independent of the phone's setting. Czech and English. Screens: All boxes, a message with its delivery record, the box switcher, search across every box (offline, in the archive on the phone, without diacritics), one box with the "In your other boxes" line, a new message addressed like a letter, settings, and error reports that ask first. The backup runs by itself after every refresh.

- **Sending**: free to authorities; to private boxes as a postal data message, with the credit shown up front. Large messages too.
- **App lock**: optional; fingerprint, face or phone passcode. Box contents stay hidden in the app switcher.
- **Deadlines in attachments**: if you turn it on, Obálka can find a deadline in a downloaded attachment, on the phone only. Otherwise it doesn't read attachments.
- **Reminders**: set your own date on any message. A local notification reminds you, not a server.

## What Obálka isn't

Portál občana is the state's official app. It is free and offers other services besides mail. If you have one personal box and it is enough for you, you don't need Obálka. Obálka does data boxes only, mainly for people who hold more than one.

- **It isn't an official app.** An independent, open-source client. It isn't from the Digital and Information Agency, which administers ISDS, or from Česká pošta, which operates it, and it has no connection to either.
- **It isn't a cloud service.** No account, no server. The archive lives on the phone, and only a backup you move yourself goes anywhere else.
- **It doesn't read your mail for you.** Attachments aren't read unless you turn on the deadline search, and even then only on the phone.
- **It isn't legal advice.** It shows deadlines and delivery by fiction as a help. What counts is the law and the message itself.

## Status: in beta on the iPhone

On the iPhone, the beta is open to everyone: all it takes is Apple's TestFlight app and the link https://testflight.apple.com/join/xugmfyc6. There is no beta on Android yet; it will come through Google Play. All of Obálka is on GitHub to read and build, with an honest [feature-by-feature overview](https://github.com/dorhawk-software/obalka/blob/main/specs/README.md).

Done:

- Sign-in with name and password, SMS code and Mobile Key
- Messages, attachments, the on-phone archive and search
- Sending to authorities and private boxes, large messages too
- Deadlines, delivery by fiction and the delivery record
- All boxes and the box switcher
- Encrypted backup and restore, password also as a QR code
- Transfer to another phone on Android
- Lock, debug mode, light and dark themes, Czech and English

Done, not yet tested:

- Signed message originals, on a device
- Transfer to another phone on iPhone: tested, a few checks left
- Changing a box's password in the app, and the warning that it is about to expire
- Downloading attachments automatically, and backups with every attachment, against a test box

Not yet:

- A beta on Google Play, and the store releases
- Backup to the cloud (Google Drive, iCloud)

## From the developers

Much of Obálka was written by Claude from Anthropic, and the page says so plainly. People decide what gets built and what ships, and a bug in the app is on them.

Obálka is free and open source, and it will stay that way. If it saved you some worry, you can buy the developers a coffee: https://buymeacoffee.com/software.dorhawk. It unlocks nothing: it's a thank-you, not a subscription.

Please report security issues privately, as [SECURITY.md](https://github.com/dorhawk-software/obalka/blob/main/SECURITY.md) describes.

*obálka (Czech, f.): 1. a paper envelope for a letter. 2. in a data box, everything a message says about itself before you open it: who it's from, who it's to, and when.*

[All Dorhawk Software apps](https://dorhawk.software/)
