Session Desktop - Onion routing based messenger
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
lilia c8ad65efe0 Switch to bower dependencies
Checks in only the files we actually need from bower_components.
11 years ago
bower_components Switch to bower dependencies 11 years ago
css Refactor options page and style using bootstrap 11 years ago
images Default avatars 11 years ago
js Don't warn on missing message bodies 11 years ago
js-deps Switch to bower dependencies 11 years ago
nacl JS ed25519 11 years ago
protos Fix a missing function and dont blow up on delivery receipts 11 years ago
stylesheets Switch to bower dependencies 11 years ago
test Switch to bower dependencies 11 years ago
LGPL LGPL license (I'd like to be an axolotl/TS JS lib in the future) 11 years ago
README.md Switch to bower dependencies 11 years ago
X11 rm useless GPL, license testvectors under X11 (ie 3-c MIT + advertising provision) 11 years ago
background.html Switch to bower dependencies 11 years ago
bower.json Switch to bower dependencies 11 years ago
icon.png Random things from James-Firth incl update icon 11 years ago
index.html Switch to bower dependencies 11 years ago
manifest.json use new index page for popup 11 years ago
options.html Switch to bower dependencies 11 years ago

README.md

TextSecure Chromium Implementation

This is very early stuff and exists primarily to get the crypto in place. This does not currently work, dont bother trying to use it seriously yet

Getting Started with Development

These steps are for development only.

  • Clone the repo
  • Open Chrome
  • Go to chrome://extensions/
  • Enable developer mode (checkbox on the top right)
  • Click "Load unpacked extension..."
  • Point to the repo's directory

Note that for development, the TextSecure staging environment uses a self-signed certificate, which Chrome will complain is insecure. So first visit https://textsecure-service-staging.whispersystems.org/ in your browser and allow the certificate.

Now, in the extension's options, you can register for TextSecure:

  • Select "Register" under "I'm new to TextSecure".
  • Enter a real phone number (Google Voice numbers work too) and country combination and choose to send an SMS. You will receive a real SMS.
  • Enter the verification code you received by SMS.

You should now be able to use the extension. If you need to reset your development environment, open a browser console within the extension options page (or inspect background.html) and execute localStorage.clear() to clear out the settings.

Dependencies

Dependencies are managed by bower. You'll need to install node, npm, and bower to change them. If you add a dependency, please only check in the package files that we actually need.

Tests

Please write tests! Our testing framework is mocha and our assertion library is chai:

Tips/Tricks

  • Loading the test.html page may read, write or clear localStorage. To avoid having to choose between running tests and preserving your existing messages, keys, and other extension data, much of the test suite can be run by starting a local webserver in the repository root, e.g. python -m SimpleHTTPServer. You can then access the test page at http://0.0.0.0:8000/test.html.