Commit Graph

4535 Commits (a418a9d23ba92aae9b849a7abbb566ec80f8b24c)
 

Author SHA1 Message Date
sachaaaaa a418a9d23b allow registering using a mnemonic word list (seed used as privKey for now) 7 years ago
sachaaaaa 2ea49473e5
Merge pull request #19 from loki-project/friend-req-ttl
Longer ttl for friend request messages
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 639c3e9a4f fix app name from previous merge 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
Scott Nonnenberg 47c81e1be9 v1.17.0 7 years ago
Scott Nonnenberg 931ea56191 Merge tag 'v1.17.0-beta.4' 7 years ago
BeaudanBrown bb03025333
Merge pull request #13 from loki-project/proof-of-work
Proof of work
7 years ago
Scott Nonnenberg f01c5f3e68 v1.17.0-beta.4 7 years ago
Scott Nonnenberg 2b5f6d8b5e Ensure that blue group avatars are preserved in dark theme 7 years ago
Scott Nonnenberg fbaef50c4a Android theme: Incoming quotes take color from containing message 7 years ago
Scott Nonnenberg f21f83a163 Conversations have blue avatar backgrounds if no image provided 7 years ago
Scott Nonnenberg 4514152320 Fix lint errors 7 years ago
Beaudan dfa8b59bc3 Using let and const properly, updated number to uint function, general cleaning 7 years ago
Beaudan ee57c698d7 Client side proof of work attached to messages
Skeleton calcPoW function that prepares payload for hashingFunction to increment Uint8Array nonce

Util function for converting a number to its Uint8Array representation

Actually perform calculate PoW nonce for every message

Adding bytebuffer as dependency and updated package-lock

Move PoW to new file and execute it in child process

TODO: Move send message logic to callback after child process has finished calculating the PoW

Refactored nonce calculation to function to be awaited

More readable timestamp grab plus converted to seconds

Nonce is now returned as a base64 string and included in request header

Also converted timestamp and ttl to string when including them in the header

Added a couple comments and tidied up some nonce logic
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 afa7f4b084 Add ca language 7 years ago
Scott Nonnenberg b9cc17b81a inboxView: Ensure Conversation exists for our own number 7 years ago
Scott Nonnenberg a24d9f9979 Ensure that file is not attached if we've filtered it 7 years ago
sachaaaaa 54201d6665 fix bad merge: missing FallBackDecryptionError 7 years ago
sachaaaaa eb488f9305 fix bad merge in libloki-protocol 7 years ago
sachaaaaa b432700fe8
Merge pull request #11 from sachaaaaa/key_exchange_status
Change keysPending flag to keyExchangeCompleted in conversation model
7 years ago
sachaaaaa d5ef0cfb03 Revert changes and rename keysPending to keyExchangeCompleted 7 years ago
sachaaaaa 377ee009c4
Merge pull request #10 from sachaaaaa/ignore_failed_decryption_messages
Ignore friend request messages that couldn't be decrypted
7 years ago
Scott Nonnenberg c5908052ec v1.17.0-beta.3 7 years ago
Scott Nonnenberg 14651a39bd Localization updates 7 years ago
Scott Nonnenberg b5104934a7 v1.16.3 7 years ago
Scott Nonnenberg 10bd12d622 Lint fixes 7 years ago
Scott Nonnenberg fc0253e9b5 Lint fixes 7 years ago
Scott Nonnenberg 76e72f871a Better handle large numbers of messages in cache on startup 7 years ago
Scott Nonnenberg 7532f397ea Keep object stores after conversations migrate to SQLCipher 7 years ago
Scott Nonnenberg 655d9d1222 Longer timeout for orphaned file cleanup 7 years ago
Scott Nonnenberg bc0ec92ad2 Tests and increase consistency for isFileDangerous calls 7 years ago
Scott Nonnenberg 8edfbdcee5 Longer timeout for orphaned file cleanup 7 years ago
sachaaaaa ecd300d68d Change keysPending flag to keyExchangeStatus in conversation model 7 years ago
sachaaaaa 0283c6428f Ignore friend request messages that could not be decrypted 7 years ago
Scott Nonnenberg 5e5fa13719 v1.17.0-beta.2 7 years ago
Scott Nonnenberg 0850dc368a Lint fixes 7 years ago
Scott Nonnenberg 7d9711ba65 Restore iOS-specific theme; colors on left in android theme 7 years ago
sachaaaaa 583fb2e6c6
Merge pull request #8 from sachaaaaa/send_as_bytes
Send outgoing messages as bytes
7 years ago
sachaaaaa 9677f8b648
Merge branch 'development' into send_as_bytes 7 years ago
sachaaaaa b52dac98b7
Merge pull request #7 from sachaaaaa/fallback_decrypt
Decrypt "friend request" messages using fallback encryption. Move logic into libloki.js
7 years ago
Scott Nonnenberg ca61c9cb85 Warnings for dangerous files 7 years ago
Scott Nonnenberg 3b8f934741 On startup, if we've just upgraded to a new version, contact sync 7 years ago
Scott Nonnenberg 59d58aaab5 Allow GIFs larger than 6MB 7 years ago
Scott Nonnenberg 73f8722c8d Fix left border of to-be-sent quote 7 years ago
Scott Nonnenberg 15a8ffbff0 Fix timer colors 7 years ago
sachaaaaa be29ea725a revert libsignal-protocol and convert binary-encoded string to Uint8Array later down the line 7 years ago
sachaaaaa 54e238dee8 changed mock http server to display received bytes 7 years ago