Commit Graph

48 Commits (v1.6.6)

Author SHA1 Message Date
Audric Ackermann d6b7463f5f
remove unused crypto marking us as coinminer
hopefully
4 years ago
Audric Ackermann 710c9fa269
fix http request over onion 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann b68338e26c
working get and post request with opengroup api v2 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann 375c5ba1a8 add the request and reply of an encryptionKeyPair if needed 4 years ago
Audric Ackermann 135fc3b366
remove prekeys 4 years ago
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
4 years ago
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 4 years ago
Mikunj 646973e330 Made changes to how messages are sent.
Instead of blocking the message queue when we don't have a session, we instead just send out a session request and send the queued messages using fallback encryption.
This means that users will be able to message right away without having to wait.
The only down side is that all messages sent before sessions are established will be using the weaker encryption.

This change also means we have to detach session requests from envelope type (which is a good thing) and thus now a message is a session request if it contains a preKeyBundle.
5 years ago
Mikunj 8f82e7a442 Fix multi device pairing 5 years ago
Audric Ackermann f500fed69c
rename missing envelope type FR to SESSION_REQUEST 5 years ago
Mikunj 36762dbbf2 Added libsignal-protocol typings.
Added MessageEncrypter.
5 years ago
Audric Ackermann fa853538d0
LINT after prettier upgrade 5 years ago
Maxim Shishmarev 61d4c7c349 Encrypt source for medium groups 5 years ago
Mikunj 96d42e24d2 Made calculateAgreement async 5 years ago
Mikunj d8ed1258e1 Made key generation async 5 years ago
Mikunj 496afa85cb Remove libsodium-wrapper.
Remove LokiSnodeChannel as we weren't using it.
5 years ago
Maxim Shishmarev 0221e7b8c0 fix linter warnings 5 years ago
Maxim Shishmarev 9e3f16301f Add AES-GCM 5 years ago
Mikunj 1be4123133 Rename variable to be less confusing 5 years ago
Mikunj 942c76ce6b Linting 5 years ago
Mikunj 820ce5cdf0 Made session reset synchronous.
Clean up some code.
5 years ago
Mikunj Varsani 8ffb1a0a10 Refactor session reset handling 5 years ago
Ryan Tharp dfb5b0ed9f throw instead of log 5 years ago
Ryan Tharp 0ac79b2275 convert logging to throws 5 years ago
Ryan Tharp 23fe8407ea fix typo 5 years ago
Ryan Tharp dbff390035 improve guards on loading keypair 5 years ago
Maxim Shishmarev b7e93ab597 Support sealed sender for friend requests 5 years ago
Ryan Tharp 66eae90c38 refactor verifyAuthorisation out of validateAuthorisation 5 years ago
Mikunj f87c9d2222 Fix up numbers in pairing type. 6 years ago
Mikunj 589b3f3233 Infer pairing message type from the content.
This should fix device pairing cross platform.
6 years ago
Beaudan Brown d97eced37b Merge branch 'clearnet' into multi-device 6 years ago
Beaudan Brown 5710c1268c Revert id field and add new url field to be compatible with mobile 6 years ago
sachaaaaa 1f3311bc5d Save device mappings upon accepting friend request + various fixes 6 years ago
sachaaaaa 4929f8d8db Move high-level authorisation from message_receivier to libloki.crypto 6 years ago
sachaaaaa d3653e8665 lint after manual merge 6 years ago
sachaaaaa 0426d85e7a Merge branch 'clearnet' into multi-device
* clearnet: (136 commits)
  Fix more check on deletion.
  Only shorten pubkeys if name is present
  Shorten pubkeys in quotations too
  better guard
  pass serverId back to the server
  Bump version.
  Purge cache on failure.
  Fix unnecessary link preview fetches.
  Review changes. Increase mod time to 30 seconds.
  Undo defaultPublicChatServer change,
  Modified colour of dark mod badge
  Linting.
  Updated design
  Show crown icon for moderators
  Fix last hash all being NULL in database
  Poll for moderators, store them on the conversation and use the list to determine our own mod status
  Make sure we are always updating the last deleted id
  Update ts/components/conversation/FriendRequest.md
  Fix #355 Display timestamp for friend requests
  Fix duplicate detection for sent messages in public chat
  ...

# Conflicts:
#	app/sql.js
#	js/background.js
#	js/models/messages.js
#	js/views/app_view.js
#	libloki/crypto.js
#	libtextsecure/message_receiver.js
6 years ago
Beaudan Brown 700ed5d2a8 Some refactoring from reviews, and include the token in the message pipeline instead of getting in message_api 6 years ago
Beaudan Brown fc8aa0211d Addressing reviews 6 years ago
Beaudan Brown eec4f22b50 Add crypto helpers and public error 6 years ago
sachaaaaa a4411007b0 Pairing authorisations: refactor proto, change sql table, add getters 6 years ago
sachaaaaa d208614909 Multi-device part 1: make primary account generate and send authorisation to secondary 6 years ago
sachaaaaa 9d6c5bff36 make unverified https queries to the snodes 6 years ago
sachaaaaa aa722590fa use channel encryption with storage server 6 years ago
sachaaaaa e2abc0d510 Add channel encryption library with tests (not in used so far) 6 years ago
Mikunj 6bd2d3962e Linted files 6 years ago
Mikunj 982f10a505 Split libloki logic.
Added to gruntfile.
6 years ago