A colleague needs the server password, your parents need the Wi-Fi password, a contractor needs an API key. The easy way is to type it into a messenger, but then the password sits in the chat for years, in its cloud backups and in notifications on the lock screen. Here is how to pass a secret on without leaving it where someone can find it.
Why messengers and e-mail are a bad idea
- Chats live forever. The message is kept on both devices, in backups and often on the service’s servers. A year later everyone has forgotten about it — except whoever breaks into the mailbox or phone and searches for “password”.
- Notifications are visible. The text pops up on the lock screen and on smartwatches.
- Forwarding. A message is easily forwarded to the wrong person or a group chat.
- E-mail. A message passes through several servers and stays in both mailboxes for a long time.
Option 1: sharing in a password manager
If you and the recipient use the same password manager, this is the best choice. Bitwarden, 1Password, KeePassXC with a shared database, Apple and Google Passwords let you share an entry or a folder. The password travels encrypted, access can be revoked, and when the password changes the recipient sees the new one at once.
Option 2: an encrypted link
When there is no shared manager, use an encrypted link. The text is encrypted in your browser, and the key lives in the link itself after the # sign — a part of the address that is never sent to the server. Only the link stays in the chat, and for anything important it can be protected with a password.
- Paste the secret and turn on “Protect with a password”.
- Send the link through one channel, for example a messenger.
- Share the link password through another: by voice, by phone, in a different messenger.
- Ask the recipient to delete the message once read.
An attacker who intercepts only the link or only the password learns nothing. “Self-destructing note” services such as Privnote are handy because the message disappears once read, but the secret is stored on their server for a while.
Option 3: an encrypted file
For several passwords, SSH keys or a configuration file, use password-based file encryption. You get a .pasw file you can send any way you like: by e-mail, through the cloud, on a USB stick. The password, again, goes through a separate channel. The file can be decrypted on the same page or with a short Python script.
Option 4: a secret no single person should hold
A company vault’s master password or a recovery key is best not handed to anyone in full. Shamir’s scheme splits it into shares — say, five, any three of which rebuild it. Each keeper gets one share, and nobody can use the secret alone.
Rules that always apply
- Separate channels. The link or file goes one way, its password another.
- Temporary passwords. Send a password the recipient changes at first sign-in. The generator makes a good one.
- Least privilege. If you can give the person their own account instead of a shared password, do it.
- Revoke access. When an employee leaves or a contractor finishes, change every password you gave them.
- Verify the person. If a “colleague” suddenly asks for a password in a messenger, call them on a number you already know: this is how scammers work.
Sharing the Wi-Fi password
Guests do not need the password read out at all: print a card with a Wi-Fi QR code. The phone camera joins the network by itself, so the password can be long and random. Even better is a separate guest network, covered in the article on securing home Wi-Fi.