sachaaaaa
7b1fbe362e
Allow choosing language for mnemonic seed
7 years ago
sachaaaaa
bbabeb34b8
Merge pull request #18 from sachaaaaa/mnemonic
...
Allow registering using a mnemonic word list
7 years ago
sachaaaaa
68c98e0f6f
Merge pull request #20 from sachaaaaa/friend_request_prompt
...
Friend request prompt
7 years ago
sachaaaaa
666cb1d3cb
replace double with triple equals
7 years ago
sachaaaaa
13858dfa66
yarn.lock and fix missing variable in transmission error handling
7 years ago
sachaaaaa
3481c0e58f
send back an empty message with prekeys upon accepting a friend request
7 years ago
sachaaaaa
e1ffe582c3
Prompt user when an incoming friend request is received
7 years ago
sachaaaaa
143b1e883d
Merge pull request #17 from sachaaaaa/lock_input_friend_request
...
Lock input after friend request is sent
7 years ago
sachaaaaa
68e15d60b1
Convert privKey to ArrayBuffer before generating key pair
7 years ago
sachaaaaa
1ce29d77c3
Moved mnemonic to node side. Added sc_reduce32 (asm) to generate privkey. Moved mnemonic languages to separate files.
7 years ago
sachaaaaa
1cf8710127
Merge pull request #16 from sachaaaaa/friend_response
...
Handle prekeys in incoming friend request
7 years ago
sachaaaaa
a418a9d23b
allow registering using a mnemonic word list (seed used as privKey for now)
7 years ago
Beaudan
d9c89376cb
Added logic to pass tll into transmitMessage function, with default value of 24 hours.
...
TODO: ensure that the target calculation for the PoW is adjusting appropriately for the different ttl values.
7 years ago
Beaudan
9d8890594c
Removed unused retransmit function
7 years ago
sachaaaaa
fb020f88ea
call 'onFriendRequestSent' only after the message was successfully sent
7 years ago
sachaaaaa
9370e2b74a
Merge branch 'master' of https://github.com/signalapp/Signal-Desktop into development
...
* 'master' of https://github.com/signalapp/Signal-Desktop : (38 commits)
v1.17.0
v1.17.0-beta.4
Ensure that blue group avatars are preserved in dark theme
Android theme: Incoming quotes take color from containing message
Conversations have blue avatar backgrounds if no image provided
Fix lint errors
Add ca language
inboxView: Ensure Conversation exists for our own number
Ensure that file is not attached if we've filtered it
v1.17.0-beta.3
Localization updates
v1.16.3
Lint fixes
Lint fixes
Better handle large numbers of messages in cache on startup
Keep object stores after conversations migrate to SQLCipher
Longer timeout for orphaned file cleanup
Tests and increase consistency for isFileDangerous calls
Longer timeout for orphaned file cleanup
v1.17.0-beta.2
...
# Conflicts:
# background.html
# package.json
7 years ago
sachaaaaa
93f1534512
Save prekeys upon reception of friend request. Add function to send an empty message as friend request acceptance
7 years ago
sachaaaaa
b9dbf11ebc
Fix various things from previous commits
7 years ago
sachaaaaa
5602f4bfff
Change placeholder in discussion
7 years ago
sachaaaaa
d4d0d05adf
Lock text input while waiting for friend request reply
7 years ago
sachaaaaa
886f47b8e7
Prekeys sending: first pass ( #12 )
...
* add 'recipient' attribute in prekey database to allow binding a prekey to a recipient pub key
* Attach a PreKeyBundleMessage to the ContentMessage in fallback encryption mode
* Skip generating 100 prekeys upon registration
* Store the signed key signature in database
7 years ago
Scott Nonnenberg
76e72f871a
Better handle large numbers of messages in cache on startup
7 years ago
sachaaaaa
0283c6428f
Ignore friend request messages that could not be decrypted
7 years ago
sachaaaaa
9677f8b648
Merge branch 'development' into send_as_bytes
7 years ago
sachaaaaa
be29ea725a
revert libsignal-protocol and convert binary-encoded string to Uint8Array later down the line
7 years ago
sachaaaaa
6fe70b9b85
Send outgoing messages as raw bytes (Uint8Array) and moved recipient & ttl to header
7 years ago
sachaaaaa
9da4e94276
print outgoing messages as bytes, that can be injected in the mock socket server for debugging
7 years ago
sachaaaaa
04b45f6aa1
Decrypt friend-request messages (the ones using fallback encryption). Moved logic into a new file libloki-protocol.js and concat loki code into js/libloki.js
7 years ago
sachaaaaa
5e9f4177ff
style nits
7 years ago
sachaaaaa
d6954aa91c
Wrap outgoing message in a WebSocketMessage proto object to match incoming format
7 years ago
sachaaaaa
38e6272dc6
Use async/await in addMockContact instead of nested promises
7 years ago
sachaaaaa
42e941531f
Add fallback encryption (FallBackSessionCipher. simple DH) for when key bundle hasn't been received yet. Skip padding of bytes.
7 years ago
sachaaaaa
ac92d53e14
display mock contact priv key for debugging
7 years ago
sachaaaaa
e81e253ccf
temporarily disable decryption and unpadding of incoming messages
7 years ago
sachaaaaa
6b998d79a7
Fix message_receiver not able to convert ArrayBuffer to stringBase64 in addToCache
7 years ago
sachaaaaa
2631d195fd
allow generating a mock contact via console without saving its key bundle
7 years ago
sachaaaaa
33ad509fbf
Merge branch 'master' of https://github.com/signalapp/Signal-Desktop into development
...
# Conflicts:
# _locales/ar/messages.json
# _locales/es_419/messages.json
# _locales/he/messages.json
# _locales/hi/messages.json
# _locales/hr/messages.json
# _locales/kn/messages.json
# _locales/ko/messages.json
# _locales/mk/messages.json
# _locales/sr/messages.json
# _locales/uk/messages.json
# _locales/vi/messages.json
# package.json
7 years ago
Scott Nonnenberg
814b9cf26a
Only accept 'you left group' messages when group blocked
7 years ago
Scott Nonnenberg
c2e0ec5636
Group Blocking: Allow group metadata messages from own devices
7 years ago
Scott Nonnenberg
9c399624cc
Support for blocking groups on mobile, via group/blocked syncs
7 years ago
sachaaaaa
b7ca5562b2
remove debugging code that skips encryption
7 years ago
sachaaaaa
fbf13e1873
make transmitMessage call loki_message_api.sendMessage instead of webapi::sendMessage
7 years ago
sachaaaaa
bb65115d7d
Ensure the unique object id is stored in the object to facilitate deleting it later.
7 years ago
sachaaaaa
2f562ce9e1
Change contact prekeys in db to allow multiple entries for each contact
7 years ago
sachaaaaa
0832806bd9
wip: added helper to create mock contacts, almost got a session working
7 years ago
sachaaaaa
b84ff76faf
Fix error handling when sending message + clean up in loki_message_api
7 years ago
sachaaaaa
8ada6ce8ad
serialize message as base64
7 years ago
sachaaaaa
1e14022e2f
Add skeleton for Loki Message API. Wrap data in json (for now?)
7 years ago
sachaaaaa
8f33419b52
Change pubkey representation to hex instead of base64
7 years ago
sachaaaaa
536908b1c4
Temporarily prevent re-connecting when socket is disconnected
7 years ago