You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/js
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
..
models Revert changes and rename keysPending to keyExchangeCompleted 7 years ago
modules Client side proof of work attached to messages 7 years ago
views Change keysPending flag to keyExchangeStatus in conversation model 7 years ago
.eslintrc Auto-fixes: UX Improvements (#2077) 7 years ago
Mp3LameEncoder.min.js Copy audio-related files into js/ instead of symlinking them (#1456) 8 years ago
WebAudioRecorderMp3.js Copy audio-related files into js/ instead of symlinking them (#1456) 8 years ago
about_start.js Remove jshint - move everything over to eslint 7 years ago
background.js Merge branch 'master' of https://github.com/signalapp/Signal-Desktop into development 7 years ago
chromium.js Remove jshint - move everything over to eslint 7 years ago
conversation_controller.js Migrate to SQLCipher for messages/cache 7 years ago
database.js rename IndexedDB database to 'loki-messenger' 7 years ago
debug_log_start.js Remove jshint - move everything over to eslint 7 years ago
delivery_receipts.js Clean up old messages, better handle errors from sending 7 years ago
expire.js Use window.log in browser context, turn on console eslint rule 7 years ago
expiring_messages.js Clean up old messages, better handle errors from sending 7 years ago
focus_listener.js Remove jshint - move everything over to eslint 7 years ago
keychange_listener.js Remove jshint - move everything over to eslint 7 years ago
libphonenumber-util.js Remove Vim mode lines 7 years ago
libsignal-protocol-worker.js Update to electron v2.0.1 (#2401) 7 years ago
logging.js Use window.log in browser context, turn on console eslint rule 7 years ago
notifications.js Use window.log in browser context, turn on console eslint rule 7 years ago
permissions_popup_start.js Remove jshint - move everything over to eslint 7 years ago
read_receipts.js Clean up old messages, better handle errors from sending 7 years ago
read_syncs.js Move expiring message time earlier if read sync has earlier time 7 years ago
registration.js Remove jshint - move everything over to eslint 7 years ago
reliable_trigger.js Use window.log in browser context, turn on console eslint rule 7 years ago
rotate_signed_prekey_listener.js Use window.log in browser context, turn on console eslint rule 7 years ago
settings_start.js New option: Disable spell check 7 years ago
signal_protocol_store.js Prekeys sending: first pass (#12) 7 years ago
spell_check.js Use window.log in browser context, turn on console eslint rule 7 years ago
storage.js Use window.log in browser context, turn on console eslint rule 7 years ago
util_worker_tasks.js Move base64 conversions off of the main thread 7 years ago
wall_clock_listener.js Remove jshint - move everything over to eslint 7 years ago