From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about a discontinued Android application. For its successor, see Signal (software).
TextSecure Blue Icon.png
TextSecure authentication.pngTextSecure conversation list.pngTextSecure conversation.png
Screenshots of TextSecure
Original author(s) Moxie Marlinspike
and Stuart Anderson
(Whisper Systems)
Developer(s) Open Whisper Systems
Initial release May 2010 (2010-05)[1]
Last release 2.28.1
(September 29, 2015; 4 months ago (2015-09-29))[2]
Development status Discontinued (merged with RedPhone to become Signal)[3]
Written in Java (client and server)
Operating system Android
Size 11 MB
Available in 34 languages[4]
Type Encrypted instant messaging
License GPLv3 (client),[5]
AGPLv3 (server)[6]
Website whispersystems.org

TextSecure was a free and open-source encrypted instant messaging application for Android. It used end-to-end encryption to secure the transmission of instant messages, group messages, attachments and media messages to other TextSecure users. Users could independently verify the identity of their correspondents by comparing key fingerprints out-of-band or by scanning QR codes in person. The application could function as a drop-in replacement for Android's native messaging application as it could also fall back to sending unencrypted SMS and MMS messages. The local message database could also be encrypted with a passphrase. TextSecure was merged with an encrypted voice calling application to become Signal. The application was developed by Open Whisper Systems and published under the GPLv3 license.

TextSecure is also the name of the encryption protocol that was used by the Android application. The protocol continues to be developed by Open Whisper Systems and is now used in Signal.


TextSecure's icon from May 2010 to February 2014 and from February 2014 to February 2015.

Whisper Systems and Twitter (2010–2011)[edit]

TextSecure started as an application for sending and receiving encrypted SMS messages.[7] Its beta version was first launched in May 2010 by Whisper Systems,[8] a startup company co-founded by security researcher Moxie Marlinspike and roboticist Stuart Anderson.[9][10] In addition to launching TextSecure, Whisper Systems produced a firewall, tools for encrypting other forms of data, and RedPhone, an application that provided encrypted voice calls.[1][9] All of these were proprietary enterprise mobile security software.

In November 2011, Whisper Systems announced that it had been acquired by Twitter. The financial terms of the deal were not disclosed by either company.[11] The acquisition was done "primarily so that Mr. Marlinspike could help the then-startup improve its security".[12] Shortly after the acquisition, Whisper Systems' RedPhone service was made unavailable.[13] Some criticized the removal, arguing that the software was "specifically targeted [to help] people under repressive regimes" and that it left people like the Egyptians in "a dangerous position" during the events of the 2011 Egyptian revolution.[14]

Twitter released TextSecure as free and open-source software under the GPLv3 license in December 2011.[9][15][16][17] RedPhone was also released under the same license in July 2012.[18] Marlinspike later left Twitter and founded Open Whisper Systems[19] as a collaborative Open Source project for the continued development of TextSecure and RedPhone.[20]

Open Whisper Systems (2013–present)[edit]

Open Whisper Systems' website was launched in January 2013.[20] Open Whisper Systems started working to bring TextSecure to iOS in March 2013.[21][22]

In February 2014, Open Whisper Systems updated their protocol to version 2, adding group chat and push messaging capabilities.[21][23] Toward the end of July 2014, Open Whisper Systems announced plans to unify its RedPhone and TextSecure applications as Signal.[24] This announcement coincided with the initial release of Signal as a RedPhone counterpart for iOS. The developers said that their next steps would be to provide TextSecure instant messaging capabilities for iOS, unify the RedPhone and TextSecure applications on Android, and launch a web client.[25] Signal was the first iOS app to enable easy, strongly encrypted voice calls for free.[19][26]

In March 2015, Open Whisper Systems released Signal 2.0 with support for TextSecure private messaging on iOS.[27][28] Later that month, Open Whisper Systems ended support for sending and receiving encrypted SMS/MMS messages on Android. From version 2.7.0 onward, TextSecure only supported sending and receiving encrypted messages via the data channel. Reasons for this included:[7]

  • Complications with the SMS encryption procedure: Users needed to manually initiate a "key exchange", which required a full round trip before any messages could be exchanged. In addition to this, users could not always be sure whether the receiver could receive encrypted SMS/MMS messages or not.
  • Compatibility issues with iOS: Not possible to send or receive encrypted SMS/MMS messages on iOS due to the lack of APIs.
  • The large amounts of metadata that inevitably arise and are uncontrollable when using SMS/MMS for the transportation of messages.
  • Focus on software development: Maintaining SMS/MMS encryption and dealing with edge cases took up valuable resources and inhibited the development of the software.

Open Whisper Systems' abandonment of SMS/MMS encryption,[29] added to the dependency on Google Cloud Messaging (GCM) and the unavailability from F-Droid,[29] prompted some users to create a fork which is named SMSSecure and is meant solely for the encryption of SMS and MMS messages.[29][30]

In November 2015, the TextSecure application was merged with RedPhone to become Signal for Android.[3]


Former NSA contractor Edward Snowden has endorsed Open Whisper Systems' applications on multiple occasions. In his keynote speech at SXSW in March 2014, he praised TextSecure and RedPhone for their ease-of-use.[31][32] During an interview with The New Yorker in October 2014, he recommended using "anything from Moxie Marlinspike and Open Whisper Systems".[33] During a remote appearance at an event hosted by Ryerson University and Canadian Journalists for Free Expression in March 2015, Snowden said that Signal is "very good" and that he knew the security model.[34] Asked about encrypted messaging apps during a Reddit AMA in May 2015, he recommended “Signal for iOS, Redphone/TextSecure for Android”.[35][36]

In October 2014, the Electronic Frontier Foundation (EFF) included TextSecure in their updated surveillance self-defense guide.[37] In November 2014, TextSecure received a perfect score on the EFF's secure messaging scorecard;[38][39] it received points for having communications encrypted in transit, having communications encrypted with keys the providers don't have access to (end-to-end encryption), making it possible for users to independently verify their correspondent's identities, having past communications secure if the keys are stolen (forward secrecy), having their code open to independent review (open source), having their security designs well-documented, and having recent independent security audits.[38] As of 6 July 2015, "ChatSecure + Orbot", Cryptocat, "Signal / RedPhone", Pidgin, Silent Phone, Silent Text, and Telegram's secret chats also have seven out of seven points on the scorecard.[38]


The application prevented screenshots of conversations by default.

TextSecure allowed users to send encrypted text messages, audio messages, photos, videos, contact information, and a wide selection of emoticons over a data connection (e.g. Wi-Fi, 3G or 4G) to other TextSecure users with smartphones running Android. TextSecure also allowed users to exchange unencrypted SMS and MMS messages with people who did not have TextSecure.[23]

Messages sent with TextSecure to other TextSecure users were automatically end-to-end encrypted, which meant that they could only be read by the intended recipients. The keys that were used to encrypt the user's messages were stored on the device alone,[38] and they were protected by an additional layer of encryption if the user had a passphrase enabled. In the user interface, encrypted messages were denoted by a lock icon.

TextSecure had a built-in function for verifying that the user was communicating with the right person and that no man-in-the-middle attack had occurred. This verification could be done by comparing key fingerprints out-of-band.[38] Users could also scan each other's personal QR codes.

TextSecure allowed users to chat with more than one person at a time.[40] Group chats were automatically end-to-end encrypted and held over an available data connection if all participants were registered TextSecure users. Users could create groups with a title and avatar icon, add their friends, join or leave groups, and exchange messages/media, all with the same encryption properties pairwise TextSecure chats provided. The servers did not have access to group metadata such as lists of group members, the group title, or the group avatar icon.[23][41]

Optional features
Feature Description Default
TextSecure messages Used the data channel for communication with TextSecure users.[23] On
Passphrase Enabled local encryption of the message database and the keys that were used to encrypt the user's messages.[1] Off
Passphrase timeout Forgot the passphrase from memory after a specified time interval. Off
Screen security Blocked screenshots in the recents list and inside the app. On
Old message deletion Automatically deleted older messages once a conversation thread exceeded a specified length. Off
SMS delivery reports Requested a delivery report for each SMS message the user sent. Off
Outgoing SMS/MMS To people who did not have TextSecure. These messages were not encrypted. Off


TextSecure required that the user had a phone number for verification.[42] The number did not have to be the same as on the device's SIM card; it could also be a VoIP number[42] or a landline as long as the user could receive the verification code and have a separate device to set-up the software. A number could only be registered to one device at a time.

The server architecture was mostly centralized. There was, however, one notable instance in which the messages were federated: In December 2013, it was announced that the messaging protocol that was used by TextSecure had successfully been integrated into the Android-based open-source operating system CyanogenMod.[43][44][45] As of CyanogenMod 11.0, the client logic is contained in a system app called WhisperPush. According to Open Whisper Systems, the Cyanogen team ran their own TextSecure server for WhisperPush clients, which federated with Open Whisper Systems' TextSecure server, so that both clients could exchange messages with each-other seamlessly.[45]

The official TextSecure client required Google Play Services because the app was dependent on Google's GCM push messaging framework.[46] From February 2014 to March 2015, TextSecure used GCM as the transport for message delivery over the data channel. From March 2015 until the app's discontinuation, TextSecure's message delivery was done by Open Whisper Systems themselves and the client relied on GCM only for a wakeup event.[7] This minimized the amount of metadata that was available to Google. The developers had added support for WebSocket to the open source TextSecure server.[46] They claimed that WebSocket would not work as well as push messages that were sent via GCM, but that it would allow TextSecure to work independently of GCM once support had been added to the client.[46]


Encryption protocol[edit]

The TextSecure encryption protocol is an end-to-end encrypted messaging protocol with deniability guarantees[47] and message-level forward secrecy, similar to the Off-the-Record Messaging (OTR) protocol.[48] It uses Curve25519, AES-256, and HMAC-SHA256 as primitives.[49][48]

There have been two major releases of the TextSecure protocol. The first version used the OTR ratchet (with ECC keys instead of DSA keys) and custom binary structures.[50] The TextSecure protocol also compressed some data structure formats[50] and allowed the ephemeral key negotiation to work asynchronously.[51] The second version uses the no header keys variation of the Axolotl key management protocol and protobuf records.[48]


The TextSecure protocol is open and federated,[23][48] making it possible for third parties to independently examine it and to implement it in their systems.

In December 2013, it was announced that the TextSecure protocol had successfully been integrated into the Android-based open-source operating system CyanogenMod.[43][44][45]

On November 18, 2014, Open Whisper Systems announced a partnership with WhatsApp to provide end-to-end encryption by incorporating the protocol used in TextSecure into each WhatsApp client platform.[52] Open Whisper Systems asserted that they have already incorporated the protocol into the latest WhatsApp client for Android and that support for other clients, group/media messages, and key verification would be coming soon.[53] WhatsApp confirmed the partnership to reporters, but there was no announcement or documentation about the encryption feature on the official website, and further requests for comment were declined.[54]


Client-server communication was protected by TLS.[49] Communication was handled by a REST API and push messaging (both GCM and APN).[6]

The contact discovery mechanism that was used in the TextSecure application, and which is now used in Signal, was designed so that the server does not have direct access to the user's contact list.[55][56] In order to determine which contacts were also TextSecure users, cryptographic hashes of the user's contact numbers were periodically transmitted to the server.[55] The server then checked to see if those matched any of the SHA256 hashes of registered users and told the client if any matches were found.[55]

The group messaging mechanism that was used in the TextSecure application was designed so that the servers did not have access to any group metadata such as the membership list, group title, or group icon.[41] Instead, the creation, updating, joining, and leaving of groups was done by the clients, which delivered pairwise messages to the participants in exactly the same way that group conversation messages were delivered.[5][23][41]


The complete source code of TextSecure is available on GitHub under a free software license.[5] The same is true of the software that handled message routing for the TextSecure data channel.[6]


Open Whisper Systems distributed TextSecure through Google Play. Following an incident in August 2012, they declined requests to distribute the application through third party distribution platforms, such as F-Droid.[46][57][58] Open Whisper Systems acknowledged that this was an important issue for some of TextSecure's users, and assured that they were working on it. They chose, however, to focus on serving the users who had GCM capabilities first.[46] In October 2015, TextSecure had been installed over 1 000 000 times through Google Play.[2]


In October 2013, iSEC Partners published a blog post in which they said that they had audited several of the projects supported by the Open Technology Fund over the past year, including TextSecure.[59]

In October 2014, researchers from Ruhr University Bochum published a protocol analysis of TextSecure.[49] Among other findings, they presented an unknown key-share attack on the protocol, but in general, they found that the encrypted chat client is secure.[60]


Main article: Open Whisper Systems

TextSecure was developed by Open Whisper Systems, a nonprofit software group[61] that develops collaborative Open Source projects with a mission to "make private communication simple".[62] The group consists of a large community of volunteer Open Source contributors, as well as a small team of dedicated grant-funded developers.[62] Open Whisper Systems is funded by a combination of donations and grants, and all of its products are published as free and open-source software under the terms of the GNU General Public License (GPL) version 3.

Open Whisper Systems has received financial support from, among others, the Freedom of the Press Foundation,[63] the Knight Foundation,[64] the Shuttleworth Foundation,[65] and the Open Technology Fund,[66] a U.S. government program that has also funded other privacy projects like the anonymity software Tor and the encrypted instant messaging website Cryptocat.

See also[edit]


  1. ^ a b c Andy Greenberg (2010-05-25). "Android App Aims to Allow Wiretap-Proof Cell Phone Calls". Forbes. Retrieved 2014-02-28. 
  2. ^ a b "TextSecure Private Messenger". Google Play. Archived from the original on 19 October 2015. Retrieved 19 October 2015. 
  3. ^ a b Marlinspike, Moxie (2 November 2015). "Just Signal". Open Whisper Systems. Retrieved 2 November 2015. 
  4. ^ Open Whisper Systems. "List of languages supported by TextSecure". GitHub. Retrieved 15 March 2014. 
  5. ^ a b c Open Whisper Systems. "TextSecure". GitHub. Retrieved 26 February 2014. 
  6. ^ a b c Open Whisper Systems. "TextSecure-Server". GitHub. Retrieved 2 March 2014. 
  7. ^ a b c Open Whisper Systems (6 March 2015). "Saying goodbye to encrypted SMS/MMS". Retrieved 22 March 2015. 
  8. ^ "Announcing the public beta". Whisper Systems. 25 May 2010. Archived from the original on 30 May 2010. Retrieved 22 January 2015. 
  9. ^ a b c Garling, Caleb (2011-12-20). "Twitter Open Sources Its Android Moxie | Wired Enterprise". Wired. Retrieved 2011-12-21. 
  10. ^ "Company Overview of Whisper Systems Inc.". Bloomberg Businessweek. Retrieved 2014-03-04. 
  11. ^ Tom Cheredar (November 28, 2011). "Twitter acquires Android security startup Whisper Systems". VentureBeat. Retrieved 2011-12-21. 
  12. ^ Yadron, Danny (9 July 2015). "Moxie Marlinspike: The Coder Who Encrypted Your Texts". The Wall Street Journal. Retrieved 10 July 2015. 
  13. ^ Andy Greenberg (2011-11-28). "Twitter Acquires Moxie Marlinspike's Encryption Startup Whisper Systems". Forbes. Retrieved 2011-12-21. 
  14. ^ Garling, Caleb (2011-11-28). "Twitter Buys Some Middle East Moxie | Wired Enterprise". Wired. Retrieved 2011-12-21. 
  15. ^ Chris Aniszczyk (20 December 2011). "The Whispers Are True". The Twitter Developer Blog. Twitter. Archived from the original on 24 October 2014. Retrieved 22 January 2015. 
  16. ^ "TextSecure is now Open Source!". Whisper Systems. 20 December 2011. Archived from the original on 6 January 2012. Retrieved 22 January 2015. 
  17. ^ Pete Pachal (2011-12-20). "Twitter Takes TextSecure, Texting App for Dissidents, Open Source". Mashable. Retrieved 2014-03-01. 
  18. ^ "RedPhone is now Open Source!". Whisper Systems. 18 July 2012. Archived from the original on 31 July 2012. Retrieved 22 January 2015. 
  19. ^ a b Andy Greenberg (29 July 2014). "Your iPhone Can Finally Make Free, Encrypted Calls". Wired. Retrieved 18 January 2015. 
  20. ^ a b "A New Home". Open Whisper Systems. 21 January 2013. Retrieved 23 January 2015. 
  21. ^ a b Brian Donohue (Feb 24, 2014). "TextSecure Sheds SMS in Latest Version". Threatpost. Retrieved 2014-03-01. 
  22. ^ Christine Corbett (27 March 2013). "Sure!". Open Whisper Systems. Retrieved 2014-03-16. 
  23. ^ a b c d e f Moxie Marlinspike (24 February 2014). "The New TextSecure: Privacy Beyond SMS". Open Whisper Systems. Retrieved 26 February 2014. 
  24. ^ "Free, Worldwide, Encrypted Phone Calls for iPhone". Open Whisper Systems. 29 July 2014. 
  25. ^ Michael Mimoso (29 July 2014). "New Signal App Brings Encrypted Calling to iPhone". Threatpost. 
  26. ^ Jon Evans (29 July 2014). "Talk Private To Me: Free, Worldwide, Encrypted Voice Calls With Signal For iPhone". TechCrunch. AOL. 
  27. ^ Micah Lee (2015-03-02). "You Should Really Consider Installing Signal, an Encrypted Messaging App for iPhone". The Intercept. Retrieved 2015-03-03. 
  28. ^ Megan Geuss (2015-03-03). "Now you can easily send (free!) encrypted messages between Android, iOS". Ars Technica. Retrieved 2015-03-03. 
  29. ^ a b c "TextSecure-Fork bringt SMS-Verschlüsselung zurück". Heise (in German). 2 April 2015. Retrieved 29 July 2015. 
  30. ^ "SMSSecure: TextSecure-Abspaltung belebt SMS-Verschlüsselung wieder". Der Standard (in German). 3 April 2015. Retrieved 1 August 2015. 
  31. ^ Max Eddy (11 March 2014). "Snowden to SXSW: Here's How To Keep The NSA Out Of Your Stuff". PC Magazine: SecurityWatch. Retrieved 2014-03-16. 
  32. ^ Hanno Böck (Mar 11, 2014). "Snowden empfiehlt Textsecure und Redphone" (in German). Golem.de. Retrieved 2014-03-16. 
  33. ^ "The Virtual Interview: Edward Snowden - The New Yorker Festival". YouTube. The New Yorker. Oct 11, 2014. Retrieved May 24, 2015. 
  34. ^ Dell Cameron (Mar 6, 2015). "Edward Snowden tells you what encrypted messaging apps you should use". The Daily Dot. Retrieved May 24, 2015. 
  35. ^ Alan Yuhas (May 21, 2015). "NSA surveillance powers on the brink as pressure mounts on Senate bill – as it happened". The Guardian. Retrieved May 24, 2015. 
  36. ^ Zack Beauchamp (May 21, 2015). "The 9 best moments from Edward Snowden's Reddit Q&A". Vox Media. Retrieved May 24, 2015. 
  37. ^ "Surveillance Self-Defense. Communicating with Others". Electronic Frontier Foundation. 2014-10-23. 
  38. ^ a b c d e "Secure Messaging Scorecard. Which apps and tools actually keep your messages safe?". Electronic Frontier Foundation. 2014-11-04. 
  39. ^ Stephanie Mlot (2014-11-18). "WhatsApp Rolling Out End-to-End Encryption". PC Magazine. Retrieved 2014-11-24. 
  40. ^ DJ Pangburn (3 March 2014). "TextSecure Is the Easiest Encryption App To Use (So Far)". Motherboard. Retrieved 14 March 2014. 
  41. ^ a b c Moxie Marlinspike (5 May 2014). "Private Group Messaging". Open Whisper Systems. Retrieved 2014-07-09. 
  42. ^ a b "How can I get TextSecure working with my Google Voice number?". Open Whisper Systems. 6 March 2015. Archived from the original on 6 September 2015. Retrieved 2 January 2016. 
  43. ^ a b Andy Greenberg (2013-12-09). "Ten Million More Android Users' Text Messages Will Soon Be Encrypted By Default". Forbes. Retrieved 2014-02-28. 
  44. ^ a b Seth Schoen (2013-12-28). "2013 in Review: Encrypting the Web Takes A Huge Leap Forward". Electronic Frontier Foundation. Retrieved 2014-03-01. 
  45. ^ a b c Moxie Marlinspike (2013-12-09). "TextSecure, Now With 10 Million More Users". Open Whisper Systems. Retrieved 2014-02-28. 
  46. ^ a b c d e Open Whisper Systems (18 March 2014). "Why do I need Google Play installed to use TextSecure on Android?". Archived from the original on 5 September 2015. Retrieved 2 January 2016. 
  47. ^ Moxie Marlinspike (27 July 2013). "Simplifying OTR Deniability". Open Whisper Systems. Retrieved 2014-03-01. 
  48. ^ a b c d Open Whisper Systems. "ProtocolV2". GitHub. Retrieved 21 January 2015. 
  49. ^ a b c Frosch, Tilman; Mainka, Christian; Bader, Christoph; Bergsma, Florian; Schwenk, Jörg; Holz, Thorsten. "How Secure is TextSecure?" (PDF). Horst Görtz Institute for IT Security, Ruhr University Bochum. Retrieved 4 November 2014. 
  50. ^ a b Open Whisper Systems. "Protocol". GitHub. Retrieved 28 April 2015. 
  51. ^ Moxie Marlinspike (22 August 2013). "Forward Secrecy for Asynchronous Messages". Open Whisper Systems. Retrieved 2014-03-01. 
  52. ^ Jon Evans (2014-11-18). "WhatsApp Partners With Open Whisper Systems To End-To-End Encrypt Billions Of Messages A Day". TechCrunch. Retrieved 2014-11-19. 
  53. ^ "Open Whisper Systems partners with WhatsApp to provide end-to-end encryption". Open Whisper Systems. November 18, 2014. Retrieved November 18, 2014. 
  54. ^ "Facebook’s messaging service WhatsApp gets a security boost". Forbes. 18 Nov 2014. Retrieved 21 Nov 2014. 
  55. ^ a b c Moxie Marlinspike (3 January 2013). "The Difficulty Of Private Contact Discovery". Open Whisper Systems. Retrieved 25 March 2014. 
  56. ^ Moxie Marlinspike (Mar 14, 2014). "Is contact information stored on TextSecure servers?". Support Center. Retrieved May 24, 2015. 
  57. ^ "SMS Plain text leak via LogCat". GitHub. 23 August 2012. Retrieved 23 January 2015. 
  58. ^ "Request: Google Play signed download alternative". GitHub. 9 February 2013. Retrieved 23 January 2015. 
  59. ^ Tom Ritter (14 Oct 2013). "Working with the Open Technology Fund". iSEC Partners. Retrieved 4 May 2015. 
  60. ^ Pauli, Darren. "Auditors find encrypted chat client TextSecure is secure". The Register. Retrieved 4 November 2014. 
  61. ^ Franceschi-Bicchierai, Lorenzo (18 November 2014). "WhatsApp messages now have Snowden-approved encryption on Android". Mashable. Retrieved 23 January 2015. 
  62. ^ a b Open Whisper Systems. "About us". Retrieved 2015-01-18. 
  63. ^ "Open Whisper Systems". Freedom of the Press Foundation. Retrieved 18 January 2015. 
  64. ^ "TextSecure". Knight Foundation. Retrieved 5 January 2015. 
  65. ^ "Moxie Marlinspike". Shuttleworth Foundation. Retrieved 14 January 2015. 
  66. ^ "Open Whisper Systems". Open Technology Fund. Retrieved 26 December 2015. 

External links[edit]