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.

KeyAction
h / l or ← / →Focus the chats or messages pane
j / k or ↓ / ↑Move within the focused pane
g / GTop / bottom of the pane
yCopy the selected message (messages pane)
i or EnterWrite a message (insert mode)
Enter while writingSend
EscReturn to normal mode
:Command line
?In-app help
:qQuit (there is no bare q)

Commands

CommandAction
:profileShow your ID and address
:profile/name [name]Set your local display name
:contactsAddress book
:contacts/addAdd a contact; prompts for the ID or address, then a name
:contacts/rename [name]Rename the selected contact
:contacts/removeRemove the selected contact
:contacts/verifyToggle the selected contact's verified marker
:contacts/suite <suite>Suite for the selected contact; default clears the override
:setSettings
:set suite <suite>Default suite: classical, hybrid, or pq
:password/setEnable the local UI lock
:password/offDisable the local UI lock
:lockLock now
:qQuit

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.
--versionPrint the version.