Audric Ackermann
6dc3582a1d
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
0c7cc7d24f
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
5 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
sachaaaaa
edd800d382
Make linter happy
6 years ago
sachaaaaa
bf8bb23683
remove stale comment and simplify conversation creation
6 years ago
sachaaaaa
d208614909
Multi-device part 1: make primary account generate and send authorisation to secondary
6 years ago
sachaaaaa
0e61ab8ccc
Better document magic numbers
6 years ago
sachaaaaa
16e51a2c7a
use variable for magic number
6 years ago
sachaaaaa
b15799e7cb
Generate 13 word seeds by default - still accept 25 word seeds.
6 years ago
Maxim Shishmarev
cdd374a4b2
Add a toggle option for typing indicators; use short ttl for them
6 years ago
Mikunj
12ce0140de
Left pane changes.
...
Merge commit 'b3ac1373fa64117fe2a9ccfddf3712f1826c06d9' into signal-1.23
# Conflicts:
# _locales/en/messages.json
# background.html
# js/background.js
# js/conversation_controller.js
# js/models/conversations.js
# js/models/messages.js
# js/views/conversation_list_item_view.js
# js/views/conversation_list_view.js
# js/views/conversation_search_view.js
# js/views/inbox_view.js
# libtextsecure/account_manager.js
# package.json
# stylesheets/_global.scss
# stylesheets/_index.scss
# stylesheets/_modules.scss
# test/_test.js
# test/index.html
# test/models/conversations_test.js
# test/views/conversation_search_view_test.js
# ts/components/ConversationListItem.tsx
# ts/components/MainHeader.tsx
# ts/components/conversation/ConversationHeader.tsx
# ts/components/conversation/ResetSessionNotification.tsx
6 years ago