|
Download docs/user-guide.md from abr00kx/taper: direct link, hf CLI and curl.
- Browser
- Download file 21.5 kB
-
https://huggingface.co/abr00kx/taper/resolve/main/docs/user-guide.md
- Command line
-
hf download hf://abr00kx/taper/docs/user-guide.md
-
curl -L -o user-guide.md https://huggingface.co/abr00kx/taper/resolve/main/docs/user-guide.md
21.5 kB
| # Taper user guide | |
| This guide is for people who use Taper, not people who run a server. It | |
| takes about 15 minutes to read. | |
| **Read this first.** Taper is a prototype. Its encryption code comes from | |
| libraries that others have reviewed, but Taper itself has had no independent | |
| security review yet. **Do not rely on it for your safety until that has | |
| happened.** If being found out could put you in danger, treat what you say | |
| here as something that might be exposed, and ask the people who run your | |
| server where things stand. What Taper does and doesn't protect against is | |
| set out in the [threat model](threat-model.md), and what a server holds in | |
| [what an operator can be forced to hand over](operator-handover.md). | |
| If your copy of the app doesn't show a feature described below (for example | |
| the **Settings** button), you have an older version. | |
| ## What is Taper? | |
| Taper is a private messenger. You join a server run by someone you know, and | |
| you talk to people in rooms. Messages are end-to-end encrypted: the server | |
| passes them along but can't read them. | |
| Three things set it apart from most messengers: | |
| - **Messages disappear after 21 days.** The server deletes them, and can't | |
| keep them longer. | |
| - **Everything goes through one connection** (a WebSocket), which the server | |
| hides behind an ordinary-looking website. | |
| - **It's built to be used over Tor**, so the server doesn't need to learn | |
| where you are. | |
| ## What Taper is not | |
| - **It is not anonymous by itself.** The server knows your username. It has | |
| to know which rooms you are in and when messages are sent, so it can | |
| deliver them. It can't read what they say. | |
| - **It doesn't protect you from your own device.** Anyone who can use your | |
| unlocked device, or who has put spyware on it, can read what you can read. | |
| - **It can't make other people forget.** A person in the room can screenshot, | |
| copy or photograph a message. A modified app can keep everything. | |
| - **It isn't a proof that someone is who they say they are.** Verification | |
| (below) is how you check that. | |
| - **It doesn't make you safe from the law.** What is legal to run or use | |
| differs from place to place. In some places, using Tor or bridges is | |
| itself risky. Find out before you rely on it. | |
| ## How do I get an invite? | |
| Ask the person who runs the server, or someone they trust. An invite is a | |
| **link**. It looks like `https://example.org/<long random text>/`, or, for a | |
| server on Tor, `http://<address>.onion/<long random text>/`. | |
| Know this about the link: | |
| - **The link is the invite.** Anyone who has it can create an account (the | |
| app does a proof-of-work step to slow down abuse). An operator can also | |
| require a single-use invite code (`ti_β¦`); if so, they give you one with | |
| the link, and you enter it when you register. | |
| - **Keep it private.** Share it the way you would share a private group's | |
| details. Don't post it publicly. If it leaks, tell the operator, who can | |
| change it. | |
| - **Nothing on the server's main page mentions Taper.** That is on purpose. | |
| The ordinary website is a cover. | |
| Once you are in, you can invite people to a room with their full user ID | |
| (for example `@alice:example.org`). Invites to *rooms* are different from | |
| the link that lets you register. | |
| ## Which app should I use: desktop, web or Tor Browser? | |
| | | Desktop app | Tor Browser | Ordinary browser | | |
| |---|---|---|---| | |
| | Runs on | GNU/Linux only | Anywhere Tor Browser runs | Anywhere | | |
| | Where the code comes from | Bundled with the app | The server | The server | | |
| | Connects through Tor | Always | Yes | **No** | | |
| | Server sees your IP address | No (it sees Tor) | No (it sees Tor) | **Yes** | | |
| | Status | Supported | Supported, at the Standard security level | Works, with the weaknesses in this table | | |
| **Prefer the desktop app if you use GNU/Linux.** It keeps the encryption | |
| code on your machine, so a server can't swap in a different version for you. | |
| It sends every connection through Tor, and its window can't be steered to other sites. You | |
| install it from the source (see `desktop/README.md`); there are no signed | |
| downloads yet. | |
| **Use Tor Browser if you can't use the desktop app.** Open the invite link | |
| in it. **Set its security level to Standard** (the shield icon, then | |
| Settings). The Safer and Safest levels switch off WebAssembly, and Taper | |
| needs it to encrypt and to log you in. The page tells you if it's blocked. | |
| **An ordinary browser is the weakest choice.** The server sees your IP | |
| address, and your network can see you are connecting to it. Use it only | |
| if the people you talk to are happy with that. | |
| **The weakness all web use shares:** the server hands your browser the | |
| code that does the encryption. A dishonest or seized server could hand you | |
| different code. The desktop app avoids this. For the web, there is no check | |
| yet; see `docs/design/signed-releases.md`. | |
| Windows, macOS, Android and iOS apps are planned, not available. | |
| On the web, **closing the tab logs you out and makes this device's keys | |
| unreadable.** Next time you log in, you are a new device (see the section on | |
| keeping a device signed in). | |
| ## What do my password and my device passphrase protect? | |
| They are two different secrets. | |
| **Your password** | |
| - It never leaves your device. Taper uses a method (OPAQUE) where the server | |
| checks that you know the password without being told it. | |
| - It logs you in. | |
| - It also unlocks your **identity**, the long-term keys that let other | |
| people recognise you. The server keeps a copy of those keys, but sealed so | |
| that only your password opens it. | |
| - Pick a long one that you use nowhere else. The form accepts 8 characters; | |
| that is a minimum for the form, not a recommendation. The server can't | |
| check how good your password is, because it never sees it. | |
| - **If you forget it, nobody can reset it.** Not the operator, not us. The | |
| server never had it. You can get a new account, but not your old identity | |
| or its history. Your contacts will see a new identity and have to verify | |
| you again. Keep your password in a password manager. | |
| - You can **change your password** (**Settings**, then **Change password**). | |
| This signs out your other devices. It is for when you know your password | |
| and want a new one. It doesn't help if you've forgotten it. If you have | |
| security keys, it also asks for a touch. | |
| **Your device passphrase** (only if you choose to keep a device signed in; | |
| see below) | |
| - It protects the keys stored on **this one device**. It isn't sent to the | |
| server. | |
| - **If you forget it, the keys on that device are gone.** You can wipe the | |
| device and log in again with your password. That makes a new device, and | |
| you may not be able to read messages from before (see room-key backup). | |
| - **Nothing wipes the device automatically after wrong guesses.** Someone | |
| who copies your device's files can try guesses on their own machine, as | |
| many as they like. Use a long passphrase, such as four or more random | |
| words. | |
| ## How do I check who I'm talking to? | |
| Encryption only helps if the keys belong to the person you think they do. | |
| **Verification** is how you check. You do it once per person. | |
| 1. Open a room, then open **Members**. | |
| 2. Next to the person, press **Verify**. They get a request that says "(their | |
| ID) wants to verify with you", with **Accept** and **Decline**. | |
| 3. When they accept, you both see **seven emoji**, each with its name. | |
| 4. **Compare them in person, or on a call where you recognise their voice or | |
| face. Do not compare them in the chat.** The point is to use a different | |
| route from the one an attacker might control. | |
| 5. If they match, press **They match**. If not, press **They don't match** | |
| and stop: something is wrong, or you mistyped. | |
| 6. You see "Waiting for the other side to confirm...", then "(their ID) is | |
| verified." | |
| Afterwards the person has a **β verified** badge. | |
| ### What the badges and warnings mean | |
| On people in the member list: | |
| | Label | Meaning | | |
| |---|---| | |
| | you | That's you. | | |
| | β verified | You verified them and nothing has changed. | | |
| | unverified | You haven't verified them. Their messages are encrypted, but you haven't checked the keys are theirs. | | |
| | β identity changed | Their identity keys are different from when you first saw them, and you hadn't verified them. A new identity is normal for a new account or a lost password, but it's also what an attack looks like. You can **Verify** them, or press **Accept change** if you know the reason. Accepting doesn't check anything: it only tells the app to stop warning. | | |
| | β changed since verified | You verified them, and their identity has since changed. **You can't send to the room until you verify them again.** Ask them, by another route, why. | | |
| | no identity | They haven't set up an identity. | | |
| | ... | The app is still working it out. | | |
| A banner at the top of the room repeats the two warnings that matter: | |
| - "(ID)'s identity changed. If you didn't expect this, verify them before | |
| trusting their messages." | |
| - "(ID) has a new identity since you verified them. This room is blocked for | |
| sending until you verify them again." | |
| On individual messages, you may see a badge on the message line: | |
| - **unverified**: the sender isn't verified by you. | |
| - **β warning**: a check failed. Hold the pointer over it (or long-press) for | |
| the reason. The reasons are: authenticity not guaranteed; sent from an | |
| unknown device; sent from a device its owner never signed; sender changed | |
| identity since you verified them; sender does not match the device. | |
| - Messages with no badge are from someone you verified, on a device they | |
| signed. | |
| You may also see: | |
| - **"Waiting for the key to this message..."** The room key hasn't arrived | |
| yet. It often resolves itself. If it doesn't, the sender may have been | |
| offline. | |
| - **"Rejected: ..."** The app refused the message because it failed an | |
| integrity check (for example, it was replayed or moved from another | |
| event). Don't trust it. | |
| **What verification doesn't prove.** It proves that the keys belong to the | |
| person you compared emoji with. It doesn't prove who that person is in real | |
| life, or that their device isn't compromised. | |
| **If you reset your identity** (for example after losing your password), | |
| everyone who had verified you will see a warning and need to verify you | |
| again. The app tells you this: "This device has a new encryption identity. | |
| Anyone who verified you will need to verify you again." | |
| ## What does "disappear after 21 days" mean? | |
| - Every message shows when it will expire, for example "expires in 3d 4h". | |
| After that it shows as expired. | |
| - **21 days is a ceiling.** An operator can set it shorter but not longer. | |
| - The server holds messages under a key for each day. When every message | |
| from a day has expired, the server destroys that day's key. After that, | |
| every copy of those messages on the server is unreadable, including copies | |
| in backups. | |
| - **You can delete your own message sooner.** Use **Delete** on it. | |
| - **What this doesn't do:** | |
| - It doesn't remove a copy someone else made (a screenshot, a photo, a | |
| modified app). | |
| - It doesn't make the *fact* of the conversation disappear. The server | |
| still knows who was in a room. | |
| - It depends on the server doing what it says. A dishonest server could | |
| keep ciphertext. Even so, it can't read it without your keys. | |
| - It doesn't delete what is on your own device. The app keeps decrypted | |
| messages in memory while it runs; saved files and attachments you | |
| download are yours to delete. | |
| - **Practical effect:** if you're away for more than 21 days, messages sent | |
| in that time may be gone when you come back. | |
| - **Room-key backup.** The keys to your rooms' messages are backed up to the | |
| server, encrypted under a key made from your password. The server never | |
| sees that key. The server expires each day's backup 21 days after its day. | |
| This lets a new device read recent messages. It can't bring back messages | |
| older than 21 days, and if you forget your password the backup is | |
| unreadable. It is on by default; you can turn it off under **Settings**, | |
| **Room-key backup** (**Back up my room keys**), which makes the server | |
| forget it. Someone who guesses your password and has the server's data could | |
| open it: a long password is what prevents that. | |
| ## What are security keys? | |
| A security key is a small hardware device, such as a YubiKey, that supports | |
| FIDO2/WebAuthn. You add one under **Settings**, **Security keys**: type your | |
| password at the top of the dialog, give the key a name, press **Add a key** | |
| and touch it. You can register up to 8. **Register at least two and keep one | |
| somewhere safe.** If you lose every key, you can't change your password, | |
| delete your account, or add or remove keys, and if you required a key at | |
| login you can't log in. Only your server's operator can clear the keys from | |
| your account, and they can do so for anyone who can persuade them, so a key | |
| protects you from someone who steals your password or session, not from a | |
| careless or compromised operator. A key works only on the site you registered | |
| it on, and that site needs a host name: a server reached by a bare IP address | |
| can't use security keys. (`localhost`, onion addresses and `https` sites work.) | |
| A registered key is used to confirm sensitive actions: adding or removing a | |
| key, changing your password, deleting your account, and changing the rule | |
| below. You can also require it at login (**Ask for a key when I log in**). | |
| The settings dialog also has **Also allow a phone or this computer's own | |
| key**. That is weaker: it may be a software key. | |
| **The badge.** You can choose (it's off unless you turn it on, with **Show a | |
| public π badge on my name**) to show a badge on your name, to people who | |
| share a room with you and, through federation, to servers that ask about you. | |
| It is not on a public profile. It reads **π key (checked)** or just **π | |
| key**. "Checked" means that when you registered the key, your server verified | |
| the maker's certificate against makers it trusts. Out of the box the server | |
| trusts none (the operator has to install some), so most badges read "key". | |
| Plain "key" means the server couldn't tell what kind of device it is, so it | |
| could be software. Your server asserts it, and then forgets the maker and | |
| model. | |
| What the indicator **does** mean: your server says you registered a hardware | |
| key. | |
| What it **doesn't** mean: | |
| - It isn't proof that you are a human. | |
| - It isn't proof that a person typed a given message. | |
| - It isn't something other servers or people can check themselves. They | |
| trust your server's word. | |
| - It doesn't prove who you are. | |
| Showing the badge tells everyone who shares a room with you, and servers that | |
| ask, that you own such a key. Think about whether you want that. Having a key can itself be something | |
| you'd rather not show. It is off until you turn it on (that asks for your | |
| password and your key), and turning it off removes it at once. | |
| ## How do I keep a device signed in, and how do I lock or wipe it? | |
| By default, **nothing survives closing the tab** on the web. That's the | |
| safest setting, and also the most awkward, because each login is a new | |
| device. | |
| If you choose **Keep this device signed in** (a box on the login form): | |
| - You set a **device passphrase**. Your device's keys are stored on the | |
| device, encrypted under it. | |
| - Next time, you enter the passphrase to unlock instead of logging in from | |
| scratch. You keep reading your messages without becoming a new device. | |
| - Use it only on a device you control, and where leaving encrypted keys | |
| behind is acceptable. | |
| **Lock** (the link at the top of the room list, or **Lock now** in | |
| **Settings**) puts the device back to needing the passphrase. Use it when you | |
| walk away. It doesn't log you out of the server, and it keeps the encrypted | |
| keys on disk. | |
| **Wipe this device** signs this device out of the server (if it is unlocked | |
| and can reach it) and deletes its stored keys and sign-in. It doesn't delete | |
| your account or your messages, and doesn't sign out your other devices. It | |
| also can't promise that nothing can be recovered from the disk by someone | |
| with forensic tools. It is in **Settings**, and on the unlock screen, and it | |
| asks you to click twice. **From the unlock screen it can't sign the device | |
| out of the server**, because the sign-in is still sealed there: it deletes | |
| the local data, and the sign-in lapses on its own when it expires. It is renewed each time you use it, so a device you use keeps working, but it never lasts more than 30 days from when you signed in, unless your operator set other times. | |
| If that matters, change your password from another device. | |
| There is **no automatic wipe** after failed attempts. Kept devices **auto-lock | |
| after inactivity** (15 minutes by default, adjustable under **Settings β This | |
| device**). You can also review and **Revoke** individual devices under | |
| **Settings β Active devices**, or **Replace encryption identity** under | |
| **Settings β Encryption identity** if a device was compromised. | |
| In the desktop app, storage is temporary unless you run | |
| `taper-desktop --keep-data` once first. Without it, each start is a new | |
| device, even if you tick the box. `taper-desktop --forget-data` stops | |
| keeping it and deletes what was kept. The desktop app doesn't use your | |
| system's keyring: the passphrase is the only protection. | |
| ## What do I do if my device is lost or seized? | |
| Act as if whoever has it can read everything the device could read, up to the | |
| last 21 days of messages. How bad this is depends on whether the device was | |
| unlocked, and how good your device passphrase is. | |
| 1. **From another device, change your password.** This signs out your other | |
| devices. If you have no other device, ask your server's operator to revoke | |
| your sessions (and, if needed, suspend the account): operators can do | |
| both. | |
| 2. **Think about your identity** if you think someone copied your keys. There | |
| is no button to replace it on purpose yet: the app makes a new identity | |
| only when a login can't recover the old one. If your identity is replaced, | |
| your contacts see the "identity changed" warning. That's expected: tell | |
| them by another route what happened, and verify again. | |
| 3. **Tell the people in your rooms**, by a route other than Taper if you | |
| think your account is in the wrong hands. | |
| 4. **Assume any message on the device was readable.** Anything older than | |
| 21 days is already gone from the server. | |
| 5. If you had **Wipe this device** available and it's safe to do so before the | |
| device leaves your hands, use it, unlocked, so that it can sign out of the | |
| server first. Don't count on this. | |
| Lock and wipe are for devices *you* still hold. A seized device is a reason | |
| to change your password at once from a clean device. | |
| ## How do I connect where Tor is blocked? | |
| If Tor can't connect, use a **bridge**. | |
| - **Desktop app:** press **Bridges...** on the connecting screen. The app | |
| highlights the button after 45 seconds without a connection. Choose: | |
| - **Snowflake**: built in, needs nothing from you, but is slow and easier | |
| to block. | |
| - **Bridges you received**: paste the lines you were given. | |
| **WebTunnel** bridges look like ordinary HTTPS websites and are the | |
| hardest to block. obfs4 and meek lines work too. | |
| - **Tor Browser:** Settings, then Connection. | |
| There is no public list of WebTunnel bridges, because a public list would be | |
| blocked. Each person gets a few: at https://bridges.torproject.org (choose | |
| WebTunnel), from `@GetBridgesBot` on Telegram, or by email to | |
| `bridges@torproject.org` from a Gmail or Riseup address. Your server's | |
| operator may also give you a private one. | |
| Bridges are slower, and none works everywhere all the time. | |
| ## How will I find out about updates? | |
| This is for the desktop app only. When the people who package it have set up | |
| a place to publish release notes (a packager provides the address and a | |
| signing key), the app checks a small signed note about new releases through | |
| Tor each time it starts. If the signature checks out and there's a newer | |
| version, it shows a banner. **It never updates itself.** You update it | |
| yourself. The check sends nothing but an ordinary request for two small | |
| files, with no account, version or identifier. It needs the | |
| `python3-cryptography` package; without it, no notice is shown. It is off in a | |
| source checkout and in every build until a release address and key exist, | |
| and none do yet. To turn it off, set `TAPER_NO_UPDATE_CHECK=1` before you | |
| start the app, or create an empty file `~/.config/taper/no-update-check`. The | |
| web client has no such check: you get the version your server serves, which is | |
| why [signed releases](design/signed-releases.md) matter. | |
| ## How do I report a problem? | |
| Taper has no telemetry: it doesn't send us crashes, usage or errors. So we | |
| only hear about problems if you tell us. | |
| - **Bugs and questions:** [MAINTAINERS: fill in the contact and how to | |
| encrypt to it.] | |
| - **Security problems:** please don't post them in public. See | |
| [`SECURITY.md`](../SECURITY.md). It says plainly that no contact or key is | |
| published yet [MAINTAINERS: fill in]. | |
| - **Say what happened, what you expected, which app and version** (desktop, | |
| Tor Browser, other), and whether it repeats. | |
| - **Leave out** your password, device passphrase, your invite link, and | |
| message content. If you need to send a screenshot, hide user IDs you | |
| don't want to share. The invite link is a secret, and it's easy to paste | |
| by accident. | |
| - If your problem is with the server (can't connect, slow, account issues), | |
| start with your server's operator. | |