Twitter is rolling out support for encrypted direct messages (DMs), the feature is initially limited to verified users or affiliates to a verified organization that are using the latest version of the app (iOS, Android, Web).
The latest version of Twitter apps (iOS, Android, Web) generates a couple of private and public keys for the device. The public key is automatically registered when a user logs into Twitter on a new device or browser; the private key is stored exclusively on the device and Twitter doesn’t know it. The platform also uses a per conversation key that is used to encrypt the content of messages. The per conversation key is shared between participating devices using a classic PKI scheme based on the private-public key pairs of the sender and receiver.
“We employ a combination of strong cryptographic schemes to encrypt every single message, link, and reaction that are part of an encrypted conversation before they leave the sender’s device, and remain encrypted while stored on Twitter’s infrastructure.” reads the announcement published by Twitter. “Once messages are received by the recipient devices, they are decrypted so that they can be read by the user.”
Twitter announced plans to open-source our implementation, at this time Twitter has yet to disclose the method it is using to secure the messages. The company will release a technical analysis of the encryption process later this year.
To send and receive encrypted messages it is necessary that the recipient follows sender, or has sent a message to sender previously, or has accepted a Direct Message request from the sender before
Sending an encrypted message is quite simple, eligible users will see a toggle after clicking on the message icon to enable “encrypted” mode. Then they have to compose the message, select an eligible recipient, and click send.
Alternatively, users can send an encrypted message through the conversation settings page of an unencrypted conversation
In encrypted conversations, a lock icon badge appears on the avatar of the user you are talking to. The badged avatar shows up in both the inbox and conversation views.
The conversation info page also displays the label “Messages are encrypted” at the top of encrypted conversations.
The feature is still in the development phase, the company said that there are the following limitations:
We are in the final!
Please vote for Security Affairs (https://securityaffairs.com/) as the best European Cybersecurity Blogger Awards 2022 – VOTE FOR YOUR WINNERS
Vote for me in the sections where is reported Securityaffairs or my name Pierluigi Paganini
Please nominate Security Affairs as your favorite blog.
Nominate Pierluigi Paganini and Security Affairs here here: https://docs.google.com/forms/d/e/1FAIpQLSepvnj8b7QzMdLh7vWEDQDqohjBUsHyn3x3xRdYGCetwVy2DA/viewform
Follow me on Twitter: @securityaffairs and Facebook and Mastodon
(SecurityAffairs – hacking, encryption)