Messenger
tier-messenger is the interactive terminal messenger included in the Tier package.
It connects to the local tierd over its Unix admin socket. The daemon must be running
and connected to the same Tier network as the people you want to reach.
Start
sudo tier-messenger
On a packaged install the admin socket is accessible to root only, hence sudo (see
Admin socket).
The messenger chats as a user identity hosted on the node. Without options it uses the only hosted identity, or creates one if there is none. If the node hosts several, select one:
sudo tier-messenger --as <64-hex-user-id>
The identity lives on the node, in /var/lib/tier/users/, not in the messenger. To use
it on another node, import its seed there with tierctl user add <seed> (see
User identity).
Contacts and verification
Type :profile to see your user ID (64 hex) and the same ID as a Tier address. Either
can be shared. To add a contact, type :contacts/add and enter their 64-hex ID or
Tier address in either form; the messenger stores the hex ID (see
Addresses).
Verify the full ID with the person over a separate trusted channel. :contacts/verify
sets a verified marker, but it is only a reminder that you did that check, not an independent
identity check.
Keys
The interface is keyboard-driven and modal, vim-like.
| Key | Action |
|---|---|
h / l or ← / → | Focus the chats or messages pane |
j / k or ↓ / ↑ | Move within the focused pane |
g / G | Top / bottom of the pane |
y | Copy the selected message (messages pane) |
i or Enter | Write a message (insert mode) |
Enter while writing | Send |
Esc | Return to normal mode |
: | Command line |
? | In-app help |
:q | Quit (there is no bare q) |
Commands
| Command | Action |
|---|---|
:profile | Show your ID and address |
:profile/name [name] | Set your local display name |
:contacts | Address book |
:contacts/add | Add a contact; prompts for the ID or address, then a name |
:contacts/rename [name] | Rename the selected contact |
:contacts/remove | Remove the selected contact |
:contacts/verify | Toggle the selected contact's verified marker |
:contacts/suite <suite> | Suite for the selected contact; default clears the override |
:set | Settings |
:set suite <suite> | Default suite: classical, hybrid, or pq |
:password/set | Enable the local UI lock |
:password/off | Disable the local UI lock |
:lock | Lock now |
:q | Quit |
hybrid is the default suite. See Suites
for what each one does. The lock is application access control only; it does not encrypt the
messenger's database.
Delivery
Messages are end-to-end sealed for the recipient and authenticated by the sender's identity. Clients find each other through communicators; when possible a message travels directly between nodes, otherwise through a communicator relay that sees only ciphertext.
Delivery is best-effort and online-only. The recipient's messenger, or another subscriber for that user, must be connected to receive a message; the network does not queue messages for offline users. A check mark means the recipient node delivered the message to a live subscriber; it is not a read receipt.
Local data
Contacts, names, settings, and conversation history are stored locally in SQLite, not in the
network. The database path is $XDG_DATA_HOME/tier-messenger/store.db, or
$HOME/.local/share/tier-messenger/store.db, in the environment of the account that
runs the messenger. It is not encrypted; use operating-system account security or disk
encryption to protect history.
Options
tier-messenger [--sock <path>] [--db <path>] [--as <user-id>]
tier-messenger --version
--sock <path> | Admin socket of tierd; default /run/tierd/tierd.sock. |
--db <path> | Messenger database. |
--as <user-id> | Hosted user identity to chat as. |
--version | Print the version. |