Cable-Desktop/js
lilia 536dd7b951 Add signed key rotation scheduler
Rotate signed prekey every 48hrs, waiting for online access if
necessary. After a rotation attempt is made, schedule the next run for
48hrs in the future.

We use a timeout to "wake up" and handle the rotation. This timeout gets
set on startup and whenever the next rotation time is changed. For
paranoia's sake, always clear the current timeout before setting the
next one.

Since new registrations necessarily upload new signed keys, we reset the
scheduled time to T+48hrs on `registration_done` events.

// FREEBIE
2017-02-16 18:06:20 -08:00
..
models Add replayable error for signed key failure 2017-02-16 18:06:19 -08:00
views Add replayable error for signed key failure 2017-02-16 18:06:19 -08:00
background.js Add signed key rotation scheduler 2017-02-16 18:06:20 -08:00
chromium.js Ensure new installs default to non-blocking 2016-10-05 19:10:20 +09:00
components.js Update libphonenumber 2016-10-30 19:49:14 +09:00
conversation_controller.js Ensure that expired messages are removed from the frontend 2016-09-28 17:20:02 -07:00
conversation_panel.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
database.js Add an index on message.expireTimer 2016-09-28 17:20:02 -07:00
debugLog.js Fix minor style errors 2016-02-18 13:45:22 -08:00
delivery_receipts.js Reduce load from delivery receipt processing 2016-11-17 20:13:34 +01:00
emoji_util.js Fix search tests 2016-09-01 14:01:51 -07:00
expire.js Add build support for expiring old releases 2016-04-03 20:55:53 -07:00
expiring_messages.js Support future compatibility for new timer options 2017-02-06 18:22:20 -08:00
index.js Remove refs to appWindow 2016-10-07 11:02:26 +09:00
libphonenumber-util.js Refactor number parsing and validation 2015-12-09 18:58:51 -08:00
libsignal-protocol-worker.js Update libsignal-protocol v1.0.0 2016-06-14 16:27:34 -07:00
libtextsecure.js Add signed key rotation and deletion routines 2017-02-16 18:06:19 -08:00
Mp3LameEncoder.min.js Add voice notes 2016-08-23 16:16:31 -07:00
notifications.js Add an option to play audio notifications 2017-02-02 09:00:14 -06:00
options.js Refactor registration event 2016-09-20 13:42:33 -07:00
panel_controller.js Clear window attention if all messages are marked read 2016-04-14 11:57:56 -07:00
read_receipts.js Use read receipt envelope to infer startExpirationTime 2016-09-28 17:20:02 -07:00
register.js Fix minor style errors 2016-02-18 13:45:22 -08:00
registration.js Refactor registration event 2016-09-20 13:42:33 -07:00
rotate_signed_prekey_listener.js Add signed key rotation scheduler 2017-02-16 18:06:20 -08:00
signal_protocol_store.js Add loadSignedPreKeys to SignalProtocolStore 2017-02-16 14:59:04 -08:00
storage.js Log on failure to fetch storage 2016-08-11 12:22:32 -07:00
WebAudioRecorderMp3.js Add voice notes 2016-08-23 16:16:31 -07:00