Sealed Places¶
Since 0.3.161 the owner of a place can seal it. In a sealed place the Urchin app seals what is typed, live voice and avatar movement before they leave the device, so people who are not members cannot read what is typed there, hear what is said or see avatars move. A place stays sealed once it is sealed. This guide says what a seal covers, what the app tells you in a sealed place, how an owner seals one, and where the seal is kept.
What a Seal Covers¶
A seal covers three things in a sealed place:
- what is typed there,
- live voice,
- avatar movement.
It does not cover the rest:
- Shared files, reactions and boards are not sealed.
- Whispers are not sealed in this version.
- The host still sees who is in the place, who speaks and when.
A seal keeps the content from people who are not members. It does not keep it from members, and the person who hosts a place can be one of them.
Comparing numbers¶
Urchin makes keys for you the first time you sign in on a device that can make them. Until you compare them with a contact, your
node vouches for who that contact is. /compare <name> opens the compare dialog for a contact. Read
the numbers to each other in person or on a call, or scan each other's QR code. Once you and a member compare numbers, no computer
between you can read or hear what the two of you say in a sealed place.
The keys are kept in a file in Urchin's data folder on the device. See Where the Seal Is Kept.
A device or a session with no keys¶
This version of Urchin cannot add a second device to your list of keys. If another of your devices made your keys first, the device you are on has none, and entering a sealed place says so:
This Hall is sealed, and this device has no keys for it, so you cannot hear its members here and they cannot hear you.
A line typed there is not sent: Not sent: <place> is sealed, and this device has no keys, so it cannot seal a line there.
An SSH session has no keys either. It reads (a sealed line; the app opens it) in place of each sealed line. Once its node has
taken the place's seal from the host, which it does at the join, a line the session says there is refused: Error: this presence
is sealed, so lines in it are sent from the app, which seals them. Nothing was sent. Before that, the line goes unsealed, and the
members' apps do not show it.
Entering a Sealed Place¶
The place's first line says it is sealed, and what that covers. In the lines below, This Hall reads This room in a room, and
This place in a person's own place or a Home's place.
This Hall is sealed. People who are not members cannot read what is typed here, hear you or see your avatar move, and once you and a member compare numbers, no computer between you can. Its host still sees who is here, who speaks and when. Shared files, reactions and boards are not sealed.
When your node has no record of who owns the place to check the seal against, the line says the seal is on its host's word. That is
a Hall you joined from an invite line with no founder= part, a room a tenant hosts, or a Home's place:
This room is sealed, on its host's word: your node has no record of who owns it to check against. People who are not members cannot read what is typed here, hear you or see your avatar move, and once you and a member compare numbers, no computer between you can. Its host still sees who is here, who speaks and when. Shared files, reactions and boards are not sealed.
On a device with keys, a place that is not sealed says so once in each sign-in: This Hall is not sealed. Its host can read what
is typed here, hear what is said and see avatars move.
Still checking who sealed it¶
Your node can learn that a place is sealed before your device has checked who sealed it. The check can take from a few seconds to a few minutes, and nothing is sent while it runs:
This Hall is sealed, and this device is still checking who sealed it, which can take from a few seconds to a few minutes. Until it has, nothing you type or say here is sent, and other people's lines and voice cannot open yet.
A line typed then reads Not sent: this device is still checking who sealed <place>, and it sends nothing there until it has.
Send it again once the check is done. The first entry line above shows when the check is done.
Lines that were not sealed¶
In a sealed place the app does not show a line that came in unsealed. The chat window keeps one count, updated in place:
2 lines were not shown, because they were not sealed and <place> is. The console says it once, at the first such line:
Lines that were not sealed are not shown here, because <place> is sealed.
One name on two hosts¶
You can be in two places of the same name on two hosts at once, such as two Halls called garden. When one of them is sealed, the app cannot tell them apart, so it holds both:
You are now in Hall garden on two hosts, cedar and maple, and one of them is sealed. Places with one name cannot be told apart here, so nothing you type or say in either is sent, and nothing in either opens, until you leave one of them.
If you then leave one and the app cannot tell which, it holds the name until you join again:
You left Hall garden on one of its two hosts, but this device cannot tell which one, so it cannot tell which Hall garden you are still in. Nothing you type or say there is sent, and nothing there opens, until you join Hall garden again.
A typed line that is not sent¶
| Line | What it means |
|---|---|
Not sent: this device does not have its key for <place> yet, so the line could not be sealed. Send it again in a moment. |
You have just come in, and the key is not ready. |
Not sent: the line is too long to seal. Send it in shorter lines. |
A sealed line holds 16,292 bytes of text, a little under 16 KiB. A line in symbols or emoji reaches that sooner than one in plain letters. |
A Place That Says It Is Sealed, With No Proof¶
A host can mark a place as sealed without showing who sealed it. Until it does, the app treats the place as sealed:
This Hall says it is sealed, but its host has not shown who sealed it. Until it does, nothing is sent here unsealed, and unsealed lines are not shown.
The console adds Type /not-sealed to treat it as not sealed. /not-sealed asks first. After it, what you say and type there is
sent unsealed, and unsealed lines show. A host could be hiding who sealed the place, and then people who are not members could
read and hear you. /not-sealed confirm does the same without asking. The app then reads <place> is treated as not sealed on
this device.
If the host later shows who sealed the place and the check passes, the place is sealed again on your device, and the entry line
says so. /not-sealed changes nothing in a place whose seal has been checked: Nothing changed: who sealed <place> has been
checked, so it stays sealed on this device. In a place that is not sealed it reads Nothing changed: <place> is not sealed.
Who Can Read and Hear You¶
In a sealed place, /members lists the members, then Who can read and hear you here: everyone your device has handed its key
to. A member with more than one device reads <name> (<n> devices). An entry is marked new until you next open the list.
Under the list are the devices the key does not reach:
| Line | What it means |
|---|---|
<name> cannot read or hear you here yet: their device cannot take this place's keys. Updating their app may fix it. |
Their app is older than 0.3.161, or their host has not given their device what it needs. |
<name> cannot read or hear you here: a sealed place takes its keys to 64 devices at most, and theirs came after the 64th. |
Your device hands its key to 64 devices at most, taken in a fixed order, and theirs came later. |
When you cannot read or hear a member¶
Just after you come in, a member whose key has not reached you shows waiting for their key on their row. If it still has not
come:
| Line | What it means |
|---|---|
Cannot read or hear <name>: their key has not reached this device. It has asked for it again. |
Your device asks again at 2, 10 and 30 seconds, then each minute, ten times in all. |
Cannot read or hear <name>: their key has not reached this device, and it has stopped asking. Their device sends a new key at least every 30 minutes, and you will read and hear them once one arrives. Leaving and coming back in asks again. |
The ten asks went unanswered. |
Cannot read or hear <name>: the clock on their device or on this one may be more than 5 minutes off. |
A key is refused when the two clocks are more than 5 minutes apart. The line cannot say which clock is wrong. |
Sealing a Place You Own¶
Only the owner can seal a place: a Hall's founder, or the owner of a room, a Home's place or their own place.
/sealseals the place you are in./seal <presence>seals one of your places by name.
Each asks first:
Seal Hall garden? After this, people who are not members cannot read what is typed there, hear what is said or see avatars move. Shared files, reactions and boards are not sealed. A member whose app cannot take its keys can no longer read or hear what is said there. This cannot be undone: a sealed place stays sealed, and the only way back is a new one.
Type /seal confirm, or /seal <presence> confirm, to seal it. The app then reads ✓ <place> is sealed. A place with no Place
id of its own, such as your own place, a tenant's room or a Home's place, is known by its host and its name, so for it the
question ends the only way back is a new one with another name.
| Line | What it means |
|---|---|
Not sealed: only the owner of <place> can seal it. |
You are not its owner. |
Not sealed: <place>'s name takes too much space to seal. A name with fewer characters, or with plain letters in place of symbols, fits. |
The seal carries the place's name. A symbol or emoji takes up to four times the room of a plain letter. |
<place> is already sealed. |
Nothing changed. |
Where the Seal Is Kept¶
Your device keeps a record of each place it has seen sealed. That record is what lets it refuse a host that later says a sealed
place is not sealed. It is kept in Urchin's data folder on the device, where your keys are. It is not in the node's data folder: the installer's backup before an update and restore-data never copy or restore it (see
Restore the Node's Data).
Urchin has no command that backs up or restores its data folder. A copy made some other way, such as a backup of the whole device,
carries your keys and these records, and has the limit /seal's help states:
Restoring an older copy of Urchin's data folder loses the seals this device has learned since that copy was made, and nothing tells you. A place sealed since then is new to this device: it shows as sealed again once its host shows who sealed it, and a host that hides that is not caught.
The keys' file has no passphrase. Anyone who can read it holds your keys, and that includes any program you run and anyone who administers the device.
A device keeps at most 4,096 sealed places. When it cannot save a new one, it says so once, after the place's entry line:
Hall garden is sealed, but this device could not save that. This device already keeps 4,096 sealed places, the most it can. It stays sealed until Urchin closes. After that, it counts as sealed again only once its host shows who sealed it, and a host that hides that is not caught.
The middle sentence reads Urchin's data folder could not be written. when the file could not be written.