Commit Graph

163 Commits (425d1df8ca58d1251ac8450683d6dfe96d69a3fc)

Author SHA1 Message Date
Audric Ackermann 02fb5783a4
remove regionCode and PhoneNumber.ts 4 years ago
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 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 979a9058e3
remove verified number - related features (partial) 4 years ago
Audric Ackermann 75b7788fa9
remove stuff related to web api 4 years ago
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 4 years ago
Audric Ackermann 357421f161
rename window.console.log to window.log.info 5 years ago
Audric Ackermann 1f2c01722a
move to new identity key mechanism
now we do as followed:
• Generate 16 bytes of random data
• Add 16 bytes of zeros
• Use the 16 bytes of random + 16 bytes of zeros to generate an ED25519 key pair
• Convert the ED25519 key pair to an X25519 key pair

All of this is happening with libsodiumm called over IPC
5 years ago
Audric Ackermann 5d21b21fb6
cleanup account_manager unused code 5 years ago
Audric Ackermann ed9f4e713e
add type for mnemonic.js and replace some calls with recoveryPhrase 5 years ago
Maxim Shishmarev cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 5 years ago
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 5 years ago
Audric Ackermann 45cdbcbb2f
handle sync of blocked contact/groups as sync events 5 years ago
Audric Ackermann 3fd260b793
enforce type of profileKey and signature on linking messages 5 years ago
Audric Ackermann 6a13839d9d
address reviews 5 years ago
Audric Ackermann 6380f7426f
fix pairing devices bugs since move to new pipeline 5 years ago
Audric Ackermann c947d99369
getMessageQueue() rather than .messageQueue to avoid startup issue 5 years ago
Audric Ackermann 2e78f755b4
replace sending of established, grant and link request messages 5 years ago
Audric Ackermann 4865b72e93
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Audric Ackermann 66de8d9648
remove plenty of the friend logic 5 years ago
Mikunj ae44f0da0f Remove old multi device functions 5 years ago
Mikunj 7b7d8c0e2a Remove multi device from libloki 5 years ago
Mikunj 7a6ea97efb Handle strings in MultiDeviceProtocol 5 years ago
Mikunj c8414fdce6 Simplify sql and data files 5 years ago
Audric Ackermann e399b9b65b
lint 5 years ago
Audric Ackermann 8d99d22ec6
link: send contacts after closed groups to minimize visible afr 5 years ago
Mikunj Varsani 24a3e05154
Revert "Revert "Clean up unused dependencies."" 5 years ago
Vince 5ff7476359
Revert "Clean up unused dependencies." 5 years ago
Mikunj 9d2417c2f6 Removed proxy-agent and web-socket.
Trimmed down web_api.js to most basic functions we are using. This needs to be completely removed in the future.
5 years ago
Mikunj 000f95a430 Rollback any changes to file server if pairing authorisation failed to send 5 years ago
Mikunj 012575be35 Remove calling sc_reduce32 when deriving a keypair from a mnemonic seed.
This is the reason that seeds across desktop and mobile devices would never restore to the same keypair. This function was there from the initial messenger days and with further discussion with Maxim, we deemed calling this function an unnecessary step for generating a keypair. There are no security implications for this change as we generate keypairs the exact same way as Signal does.

The biggest downside to this change however is that if you try to restore a desktop device with a seed from before this change, that seed will generate a completely different key pair and thus a different session ID.
This will only affect users who plan to restore any device from the seed of a desktop device before this change.
5 years ago
Audric Ackermann 6d03a63d4a
add sync of open groups on device link 5 years ago
Mikunj 0eaebcbcac Don't send contact sync message with pairing authorisation.
Don't send secondary devices in contact sync messages.
5 years ago
Mikunj f35493ce9f Linting 5 years ago
Mikunj abf298ba25 Added sending of group sync message 5 years ago
Maxim Shishmarev 3f58dea035 Remove mixpanel 5 years ago
sachaaaaa 3d7548729f Prevent prekeys to be deleted when re-sending pairing request 6 years ago
Beaudan Brown bce18b7ae6 Revert change so we are always friends with our secondary devices, check validSyncSender from primary pubkey rather than ourNumber 6 years ago
Beaudan Brown f16b032056 Handle sync messages properly for some edge cases, ensure we always have a primaryDevicePubKey, send contact sync message 6 years ago
Mikunj 589b3f3233 Infer pairing message type from the content.
This should fix device pairing cross platform.
6 years ago
sachaaaaa a314721cce Both devices to update their mapping after secondary registration 6 years ago
sachaaaaa b63d8ec84f Merge branch 'clearnet' into multi-device
* clearnet: (35 commits)
  yarn lint
  return early if signature is not a string
  lint pass 2
  lint pass 1
  make sure versioning on write can't get out of sync
  Update js/modules/loki_public_chat_api.js
  Handle annotations omit correctly
  fix typo CI found
  refactor
  pollOnceForMessages() move lastGot up, address Sacha's review
  Update js/modules/loki_public_chat_api.js
  address review
  address reviews
  Custom message rendering of mentions
  fix method
  separate out new/open, more lint/cleanup
  separate out note to self
  create window.mixpanel here
  use window.mixpanel, remove eventEmitter
  lint and remove unneeded params
  ...
6 years ago
Ryan Tharp c921d3e3b3 allow mixpanel to be already set up elsewhere 6 years ago
Ryan Tharp 88b44390bf Desktop Analytics 6 years ago
Beaudan Campbell-Brown a6abcaf826
Merge pull request #453 from Mikunj/profile-simplification
Profile simplification
6 years ago
Mikunj 831ae09576 Cherry pick "profile simplification" from Mik 6 years ago
Mikunj c4dd10a5cd Simplified profile setting. Renamed functions to be less confusing. Removed storing profile in local storage. 6 years ago
sachaaaaa 794e6416c8 Add requestPairing high-level function 6 years ago
sachaaaaa 713e9a3acf Fix pubkey validation 6 years ago