Mikunj
a1f2b38325
Merge changes
5 years ago
Mikunj
a497871ea3
Made changes for new protocol
5 years ago
Audric Ackermann
eb894a9b66
lint
5 years ago
Audric Ackermann
f46c885fdf
merge fix-closed-group to clearnet
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
3a746109ea
Path building for onion requests
5 years ago
Maxim Shishmarev
9e3f16301f
Add AES-GCM
5 years ago
Audric Ackermann
a7def71840
multi device: do not sync contacts not friends
5 years ago
Mikunj
33925d69e9
Cleanup
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
Mikunj
a09e370e1d
Added testing on pull request
...
Disable proxy in tests.
5 years ago
Audric Ackermann
6d03a63d4a
add sync of open groups on device link
5 years ago
Mikunj
d00abed7da
Linting
5 years ago
Mikunj
a03185248c
Fix check for valid sender when handling sync message
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
Mikunj
b61dd6a839
Don't send groups in contact sync message
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
Mikunj Varsani
054a523738
Fix linked device sending automatic friend request when it already has keys for a device
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
Vincent
9dcc851ebd
Updated all icon references
5 years ago
Maxim Shishmarev
02320334f0
Remove P2P
5 years ago
Maxim Shishmarev
3472a1a938
Remove unused destinationRegistrationId; lint
5 years ago
Maxim Shishmarev
b7e93ab597
Support sealed sender for friend requests
5 years ago
Audric Ackermann
3b24714f3e
Sort messages by sent_at ( #718 )
...
Sort messages by sent_at
5 years ago
Vincent
a1a582d7ea
Session branding fixes
5 years ago
Vincent
5fbbdc33c3
Signal branding
5 years ago
Maxim Shishmarev
033492a200
Sort messages by sent_at
5 years ago
sachaaaaa
7c52a1d038
encrypt and decrypt images before upload and after download
5 years ago
sachaaaaa
db0068b429
Sending and handling of special UNPAIRING_REQUEST message
5 years ago
Beaudan Campbell-Brown
a2e8e6480f
Merge pull request #539 from neuroscr/multidevice-publicchat
...
[multi-device] public chat
5 years ago
Ryan Tharp
66eae90c38
refactor verifyAuthorisation out of validateAuthorisation
5 years ago
Beaudan Brown
807f4cbd2a
Storing primary device pubkey on the conversation model for easier access, ensuring that we accept all the friend requests from the primary conversation rather than the secondary
5 years ago
Beaudan Brown
24a687c106
Throttle the refreshing of device mappings to once every minute
5 years ago
Beaudan Brown
74045d58d7
Use Int32 for the contact list buffer
5 years ago
Beaudan Campbell-Brown
deedcc1d64
Merge pull request #606 from BeaudanBrown/contact-sync
...
[multi-device]Contact syncing
5 years ago
sachaaaaa
843c5b5ebc
Fix contact status in createContactSyncProtoMessage
5 years ago
Beaudan Brown
370dee5abb
Ensure we have the correct apis and listeners during the pairing process. Catch upnp error. Remove redundant friend requests
5 years ago
Beaudan Brown
c31535edb4
Rename blockSync, only send contacts and profile if sending a GRANT request, do *not* always be friends with secondary devices because we still need to complete a friend request exchange
5 years ago
Beaudan Brown
332cd30052
Send contact sync message when becoming friends with contact and auto accept/send friend requests when receiving contact sync
5 years ago
Mikunj
f61de2cf8e
Use first 3 mnemonic words instead of the last 3.
5 years ago
Beaudan Campbell-Brown
0f74a002df
Merge pull request #601 from BeaudanBrown/sync-messages
...
[multi-device] Sync messages
5 years ago
Beaudan Brown
15c07ea7df
Sync secondary devices again but handle the receiving of them properly
5 years ago
Mikunj
f87c9d2222
Fix up numbers in pairing type.
5 years ago
Beaudan Brown
7e275ac266
Don't sync secondary devices and make sure initAPIs has been called before sending friend requests to synced contacts
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
sachaaaaa
9ddc237f6d
show pairing words instead of pubkeys on the primary device's paired devices list.
6 years ago
Beaudan Brown
94b0faf2aa
Remove (hopefully) last place the type of a pairing request is being checked
6 years ago
Beaudan Campbell-Brown
8235662518
Merge pull request #589 from Mikunj/pairing-fix
...
Fix cross platform device linking
6 years ago
Mikunj
589b3f3233
Infer pairing message type from the content.
...
This should fix device pairing cross platform.
6 years ago
Beaudan Brown
883feb668d
The rest of my multidevice work, send messages to all the correct devices and automatic friend request if not friends with a device
6 years ago
Beaudan Campbell-Brown
17e70bf81c
Merge branch 'multi-device' into is-secondary-device
6 years ago
Beaudan Brown
08ad913105
Add explicit isSecondary flag to conversation list items so they can remain hidden in the menu after they become friends etc
6 years ago
Beaudan Brown
de0a5c7b78
Unique constraint and prevent some undefined bugs
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
Beaudan Brown
9002c344e3
TEMPORARY: Disabled sending of contact list sync message to have consistent experience across platforms
6 years ago
sachaaaaa
53bdf14321
refactor
6 years ago
sachaaaaa
1f3311bc5d
Save device mappings upon accepting friend request + various fixes
6 years ago
sachaaaaa
f268fbb552
Merge pull request #534 from sachaaaaa/use_file_server_device_mapping
...
[multi-device] Use file server device mapping
6 years ago
sachaaaaa
4929f8d8db
Move high-level authorisation from message_receivier to libloki.crypto
6 years ago
sachaaaaa
5a8ab00a96
Rename pairing getters to specify secondary or primary. Add getGrantAuthForPrimary.
6 years ago
sachaaaaa
f8e9e1d3bd
Remove rejected authorisation from database
6 years ago
sachaaaaa
8ecf057386
Display list of paired device in modal
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
sachaaaaa
b10835ffc7
Share contact upon authorising secondary device
6 years ago
Beaudan Brown
9beea2cbd3
Enforce curlies completely and lint with new settings
6 years ago
sachaaaaa
ef6b22f6b9
Simplify and lint
6 years ago
Beaudan Campbell-Brown
43bd167965
Merge pull request #463 from loki-project/public-chat
...
Public chat
6 years ago
sachaaaaa
1ea934d69c
Merge pull request #457 from sachaaaaa/share_profile_name
...
[multi-device] Share primary device profile name upon secondary registration
6 years ago
sachaaaaa
97970ff465
Share primary device profile name upon secondary registration
6 years ago
sachaaaaa
aa2438ad00
Shorter TTL for pairing requests
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
53b974d63f
Send messages to every devices linked to a primary device
6 years ago
sachaaaaa
a2463f74c3
Improve object validation in createPairingAuthorisationProtoMessage
6 years ago
sachaaaaa
a4411007b0
Pairing authorisations: refactor proto, change sql table, add getters
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
a7f999aeb1
Merge pull request #391 from sachaaaaa/show_seed_errors
...
Report mnemonic errors instead of silent failure
6 years ago
sachaaaaa
1f3f63dcc6
Report mnemonic error in a toast instead of silently fail
6 years ago
sachaaaaa
701f6be00c
Add missing mnemonic languages
6 years ago
Beaudan
63396669bc
Add eslint rule to enforce curlys, run eslint --fix to automatically apply this rule and add swapfiles to gitignore
6 years ago
Beaudan
96aaa7851d
Send broadcast message instead of empty message to trigger things like session reset and disappearing messages. Also fix small bug where deleting a contact kept the (now removed) conversation open
6 years ago
Beaudan
df2c4af67c
Run lint and check for ip or address when removing unreachable nodes
6 years ago
Beaudan
580931c4fb
Pass ourKey to message api, initialise these APIs after registration or when storage is ready so we always have ourKey
6 years ago
sachaaaaa
37e95cf7d2
remove unnecessary await
6 years ago