Session Desktop - Onion routing based messenger
Go to file
Beaudan 7eabae18f5 Replaced more references to signal with loki and updated CONTRIBUTING.md 2019-04-11 16:56:24 +10:00
.tx Transifex config specific to electron, updated translations (#1478) 2017-09-14 17:48:09 -07:00
_locales lint 2019-03-12 11:36:32 +11:00
app Changed registration to be a 2 step process. 2019-04-04 11:09:50 +11:00
build Added loki icon. 2019-01-16 11:25:34 +11:00
components Add channel encryption library with tests (not in used so far) 2019-02-15 16:09:02 +11:00
config Updated messenger to work with slightly different storage server API and changed swarm requests to go through storage server 2019-04-08 13:37:20 +10:00
fixtures Ensure that multi-video lightbox scrolling changes video 2018-11-28 12:34:29 -08:00
fonts Add fonts so we don't have to hit googlefonts 2015-02-11 17:37:57 -08:00
images Merge commit signal/master into signal-1.20 2019-01-22 13:54:03 +11:00
js Replaced more references to signal with loki and updated CONTRIBUTING.md 2019-04-11 16:56:24 +10:00
libloki Update libloki/proof-of-work.js 2019-04-11 13:04:44 +10:00
libtextsecure Multiple all ttl values by 1000 and stop dividing timestamp by 1000 so they are both milliseconds 2019-04-11 10:56:17 +10:00
mnemonic_languages Moved mnemonic to node side. Added sc_reduce32 (asm) to generate privkey. Moved mnemonic languages to separate files. 2018-10-24 17:04:54 +11:00
mockup_servers Linting and other housekeeping stuff 2018-11-01 11:10:30 +11:00
protos Ensure a session is always initiated using the prekey assigned to the contact 2019-02-07 17:58:24 +11:00
stylesheets Changed registration to be a 2 step process. 2019-04-04 11:09:50 +11:00
test Replaced more references to signal with loki and updated CONTRIBUTING.md 2019-04-11 16:56:24 +10:00
ts lint 2019-03-12 11:36:32 +11:00
.aptly.conf Setup publishing to s3 2017-09-14 16:53:36 -07:00
.editorconfig Use 2 spaces for indentation 2018-05-04 15:37:46 -04:00
.eslintignore Fixed files not included in release. 2019-02-22 12:00:04 +11:00
.eslintrc.js Line break rule fix for windows. 2019-01-17 11:27:14 +11:00
.gitattributes Stop git from defaulting to changing line endings 2019-02-14 12:20:37 +11:00
.gitignore Rip the worker logic out of message_receiver and add the functionality for it to work with pow. Fix pow tests to work with those changes 2018-12-13 17:13:52 +11:00
.gitlab-ci.yml Set the windows cd to look in the release folder instead of dist 2019-02-22 10:57:32 +11:00
.nvmrc Upgrade to node 10.13.0; update chokidar, its dep upath fails 2018-11-26 15:26:04 -08:00
.prettierignore Added error catching. 2019-01-22 10:40:07 +11:00
.prettierrc.js Add `.prettierrc.js` 2018-04-30 16:53:34 -04:00
.travis.yml Line break rule fix for windows. 2019-01-17 11:27:14 +11:00
.yarnclean node-sqlcipher update: always build, statically link openssl 2018-08-02 17:32:51 -07:00
CONTRIBUTING.md Replaced more references to signal with loki and updated CONTRIBUTING.md 2019-04-11 16:56:24 +10:00
Gruntfile.js Show commit hash in About window for beta builds 2019-03-01 17:10:20 +11:00
LICENSE Add GPLv3 LICENSE file (#1309) 2017-10-20 09:36:49 -07:00
LOKI-NOTES.md Linting and other housekeeping stuff 2018-11-01 11:10:30 +11:00
README.md Update links and wording 2019-02-25 16:08:41 +11:00
about.html Show commit hash in About window for beta builds 2019-03-01 17:10:20 +11:00
about_preload.js Show commit hash in About window for beta builds 2019-03-01 17:10:20 +11:00
appveyor.yml Remove nsp; its registry has now been taken offline 2018-12-10 14:31:20 -08:00
aptly.sh aptly.sh: Fix broken switch commands - distro and config fix 2017-12-04 18:51:38 -08:00
background.html Changed registration to be a 2 step process. 2019-04-04 11:09:50 +11:00
bower.json Replaced more references to signal with loki and updated CONTRIBUTING.md 2019-04-11 16:56:24 +10:00
debug_log.html Replaced more references to signal with loki and updated CONTRIBUTING.md 2019-04-11 16:56:24 +10:00
debug_log_preload.js Update the user agent for debug log requests 2018-07-18 20:00:10 -07:00
dev-app-update.yml.sample Show dialog box when there's an update for download 2017-09-14 16:53:50 -07:00
find_broken_perms.sh Add two scripts to handle broken permissions in release dir 2017-09-14 16:53:49 -07:00
fix_broken_perms.sh Replaced more references to signal with loki and updated CONTRIBUTING.md 2019-04-11 16:56:24 +10:00
index.html Merge branch 'textsecure/master' into merge_1_21_0 2019-02-06 13:53:20 +11:00
main.js Updated messenger to work with slightly different storage server API and changed swarm requests to go through storage server 2019-04-08 13:37:20 +10:00
metrics.html add TTL variation in pow metrics 2019-01-15 09:52:24 +11:00
metrics_app.js Linted files 2019-01-16 16:18:08 +11:00
package.json Replace mentions of Signal in package json 2019-03-05 15:19:16 +11:00
password.html Added db resetting. 2019-01-29 12:57:24 +11:00
password_preload.js Added db resetting. 2019-01-29 12:57:24 +11:00
permissions_popup.html New media permission, show dialog when not enabled for voice msg 2018-07-03 16:04:21 -07:00
permissions_popup_preload.js Fix permissions popup; add needed function on window (#2554) 2018-07-20 14:01:06 -07:00
preload.js Updated messenger to work with slightly different storage server API and changed swarm requests to go through storage server 2019-04-08 13:37:20 +10:00
prepare_beta_build.js win & osx builds on gitlab 2018-12-14 15:29:52 +11:00
prepare_import_build.js Use window.log in browser context, turn on console eslint rule 2018-07-21 14:52:43 -07:00
settings.html Fixed up settings view. 2019-02-08 16:03:15 +11:00
settings_preload.js Added link preview setting. 2019-02-08 14:58:31 +11:00
styleguide.config.js Finish new Message component, integrate into application 2018-07-17 15:58:07 -07:00
travis.sh Simplify testing and linting 2018-04-11 16:36:42 -04:00
tsconfig.json Adjust `tsconfig.json` formatting for Prettier 2018-05-04 17:34:50 -04:00
tslint.json Lint fixes 2018-10-11 12:24:58 -07:00
yarn.lock Merge pull request #213 from sachaaaaa/channel_encryption 2019-03-04 12:19:34 +11:00

README.md

Loki Messenger

Build Status

Loki Messenger allows for truly decentralized and end to end and private encrypted chats, Loki Messenger is built to handle both online and fully Asynchronous offline messages , Loki messenger implements the Signal protocol for message encryption, Our Client interface is a fork of Signal Messenger. All communication that passes through Loki messenger is routed through Lokinet.

Summary

Loki messenger integrates directly with Loki Service Nodes, which are a set of distributed, decentralized and Sybil resistant nodes. Service Nodes act as both federated servers which store messages offline, and a set of nodes which allow for onion routing functionality obfuscating users IP Addresses. For a full understanding of how Loki messenger works, read the Loki whitepaper

Online Messages

If Alice and Bob are both online they can simply resolve each others public keys, to introduction sets, this functionality is handled by interfacing with Lokinet. With the appropriate introduction sets Alice and Bob can create a path and using onion routing pass messages through the Loki network without giving away personally identifiable information like their IP address.

Offline messages

Offline messaging uses Swarms, given any users public key the user can resolve a public key to a specific grouping of Service Nodes (AKA Swarm) each user in Loki Messenger belongs to a Swarm. When routing a message offline the user selects a Service node in the destination users Swarm, when the user comes online they query any node in their Swarm, if the Swarm is holding any messages for the user they disseminate those messages to the user.

Swarm Messaging

Spam protections for Loki Messenger are based on a Proof of Work which is attached to any message that exceeds a default size or Time To Live, this process is discussed further in the Loki whitepaper.

Want to Contribute? Found a Bug or Have a feature request?

Please search for any existing issues that describe your bugs in order to avoid duplicate submissions. Submissions can be made by making a pull request to our development branch, if you don't know where to start contributing , try reading the Github issues page for ideas.

Build instruction

build instructions can be found in CONTRIBUTING.md

License

Copyright 2018- Current, Loki Foundation Copyright 2014-2018, Open Whisper Systems Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html