Who. Altbook is made by Maksim Timofeev, United Arab Emirates, Abu Dhabi.
What stays on the phone. Messages, contacts, keys, notes, calendar and settings live on your phone. The developer does not receive them and cannot read them. Messages are encrypted twice on the phone and travel over the Tor network. The messenger and the private part go into no iCloud or computer backup and sync with nothing. The ordinary notebook, calendar and settings go into the iPhone's own backup if you have it on; they reach the phone's calendar or a folder only if you switch on calendar sync or the notebook's automatic export yourself (both off by default).
Two servers of the developer. One owner runs both.
- The wake server works while «Message Notifications» is on (on by default, in the ordinary and in the private mode; switched off in the messenger's settings). When a message waits for you, your contact's phone hands it your phone's notification token, sealed so that only this server can read the token, and the server asks Apple to send a signal. It stores no message, writes nothing to disk and does not learn who writes to whom. In memory, under a key that changes at every restart, it keeps for each token the time of its last signal (up to an hour, so that signals come no more often than you chose) and the day of the last signal Apple took (up to 7 days, so that real signals go first in a flood of fake requests); it keeps nothing of a sender. Apple sees that a signal reached your phone, and when. Apple gets only the number of a word; the word itself (for example «Reminder») or your own notification text is put in by your phone, with no name and no message text.
- The mailbox server works while «Mailbox» is on (on by default, in the ordinary and in the private mode). It keeps each message as one encrypted letter of 1494 bytes under a hash of the box for up to 7 days and 1 hour, until your contact fetches it. On disk it knows the hash of the box, the hour the letter expires and the encrypted bytes, so how many boxes hold how many letters and in which hour each letter came (the expiry hour minus 7 days). It holds no key, name or address of a person and cannot read a letter. While it runs it sees which box is written or read and when, but not who asks, since requests come over Tor.
A public nickname. By default your nickname is private: it lives only on your phone and is seen only by someone you meet in person in the app; it is not on the server, and nobody can find you by it. If you make it public yourself, anyone who types it whole can find you and knock. For this the mailbox server keeps:
- a fingerprint of the nickname instead of the nickname (an Argon2id hash, costly to guess);
- a record of 1494 bytes, encrypted with a key made from the nickname: it holds the address of your «knock box» and a public key for knocks, with no name, number or address; anyone who knows the whole nickname can read it;
- a hash of your right to the nickname and the hour until which the record lives.
Whoever found you puts a knock into the knock box: a name they wrote themselves and a one-time invitation, encrypted for you. A knock is kept for up to 7 days and 1 hour, and the server cannot read it. You take the knocks when you enter the messenger and decide yourself whether to accept; a contact comes only after the usual check by voice. The server does not know the nickname unless it guesses it: whoever holds the server's disk can try guesses, each guess is costly, but a nickname whose base is guessed is found in minutes; more digits in a nickname make guessing dearer. While the server runs it sees which record is published, renewed, removed or looked up and which knock box is knocked on, and when, but not who asks. Which knock box is whose is not written on disk, but the server can guess it from the timing of requests. The phone of whoever searches keeps nothing of the nickname. In private mode anyone can check by a public nickname that it exists.
To remove the nickname, switch «Public Nickname» off: the record is erased from the server at once, and the nickname's fingerprint and the hash of the right stay 30 more days, so that nobody else takes the nickname and you can take it back, and are then erased. Switching «In Person Only» on removes the record too. If the phone does not renew the record (you did not enter the messenger with a connection, or erased the data), it ends by itself 30 days after its last renewal, and the server keeps the fingerprint and the hash 30 more days.
An honest limit. If one person runs both servers and logs both, they can match a write into a box with a signal to a token that follows shortly after, and learn that the owner of that token has one more contact. This is possible only for phones with notifications on. So the promise is narrowed to this: the servers do not read messages and keep no log of requests: they count in memory only how many requests and answers there were in an hour, with no box address, token or time of a request. The mailbox knows the hour a letter came (above), and the wake server remembers the days of signals by token in memory for up to 7 days.
Tor and Apple. Tor relays see an encrypted stream and not your data. Apple sees the notification signals, and the App Store sees that you installed the app.
How long. A letter and a knock: up to 7 days and 1 hour. A public nickname: the record up to 30 days and 1 hour after its last renewal (the phone renews it when you enter the messenger), then the nickname's fingerprint and the hash of the right 30 more days. The token: while notifications are on; once you switch them off, the phone withdraws it from your contacts at the next session in the app (the record of a token at a contact lives up to 30 days). In the wake server's memory: the time of the last signal up to an hour, the day of a signal up to 7 days; nothing after the server restarts.
«Erase Everything» and «Burn Everything» remove the data from the phone; what is already with your contact, in an iCloud copy, or sent by you stays, and letters, knocks and a public nickname's record on the server live out their term.
What there is not. No accounts, no analytics, no ads, no crash reports, no tracking.
Your rights and questions. Write to info.altbook@protonmail.com . You write a letter to support yourself from your own mail; the app puts only the versions of Altbook and iOS in its subject and attaches nothing. A letter leaves the mailbox when your contact fetches it, or at its term; switching «Mailbox» off stops new ones going there. A public nickname is removed with the «Public Nickname» switch (above). The rest lives on your phone and you delete it yourself. Send questions about your rights under the law of your country to the same address.