Accounts, Passport and sign-in
Registering, the Passport identity file, strengthened sign-in, two-factor authentication and recovery.
Registering and signing in
Anyone who can reach the server can register with an email address, a username and a password. The first account becomes the Owner. You can sign in with your email address or your username. An administrator can restrict registration to people with an invite link or switch it off; see registrationMode in Configuration.
Sessions are opaque tokens kept on the server in an httpOnly cookie. They are not JWTs, so each one can be revoked, and disabling an account ends its sessions and live connections at once.
Passport: your portable identity
When you register in the web client the browser creates a Passport: a key pair that anchors your account.
- Export it from Settings, Passport as an encrypted
.mcpassfile. - Sign in with the file and its passphrase, which is also how you recover a forgotten password.
- Register on another MeshCrowd server with the same identity. There is one account per Passport per server.
Your Passport also protects your private Notes channels. If you lose both the Passport file and your password, your notes cannot be recovered by anyone.
Strengthened sign-in
Accounts created in the web client derive two keys from your password in the browser. One key is sent to the server and stored as a bcrypt hash. The other wraps your Passport seed and never leaves the browser. The server never sees the password of such an account, so logs, a database copy or a curious operator cannot read it.
Older accounts, including those created by very old Android apps, can opt in under Settings, Passport. Android apps older than 3.0 cannot sign in to a strengthened account and need to be updated.
Failed Passport proofs lock that identity for 15 minutes after five failures. Password login is not affected.
Two-factor authentication
Turn on TOTP under Settings, Account. Scan the QR code with an authenticator app and store the recovery codes somewhere safe: each works once. Email verification is not implemented; two-factor is TOTP based.
Changing your password
Use Settings, Privacy & Safety, Change password (with a repeat-password field). It asks for two confirmations first: it re-encrypts your Passport key backup, signs out your other devices, and without the key file it discards the server backup. It warns you if you never exported a Passport file. When an administrator sets a new password for you, your encrypted Passport backup becomes unreadable and your sessions end, so the Admin Panel asks them to confirm twice too.
Your devices
Settings, Devices lists every browser and app signed in to your account, with the approximate device, IP address, last activity and sign-in time. The device you are using is marked. Use Sign out on any entry you do not recognise, or Sign out all other devices: that device is logged out at once and its live connection is closed. Changing your password also signs out every other device.
Profile
Your avatar, banner, bio, custom status and presence are covered in Profiles, status and themes. Privacy controls decide who can send you DMs and who can see your profile card.
Friends and direct messages
Send a friend request by username. Friends can start 1:1 DMs. The + next to Direct Messages lets you pick one friend for a DM or several for a group DM (with an optional name), and group DMs hold up to ten people. Every conversation has an Add people button: on a 1:1 it starts a new group with you, the other person and the people you add (the 1:1 and its history stay as they are); on a group it adds them in place, with no bots and the usual DM privacy rules. End-to-end encrypted DMs cannot be extended. Groups appear in everyone's normal conversation list. DM text is encrypted at rest on the server; details are on Security and privacy.