Signal-Desktop/app
Scott Nonnenberg 496ebf2a47 Store SQLCipher decryption key in separate file
First, we write the key a whole lot less. We write it on creation, then
never again.

Second, it's in a file we control very closely. Instead of blindly
regenerating the key if the target file generates an error on read,
we block startup unless the error is 'ENOENT' - the file isn't there
at all.

This still allows for the key.txt file to be deleted or corrupted
somehow, but it should be a lot less common than the high-traffic
config.json used for window location and media permissions.
2018-08-16 17:01:32 -07:00
..
.eslintrc.js Use window.log in browser context, turn on console eslint rule 2018-07-21 14:52:43 -07:00
attachment_channel.js Re-enable orphaned attachment cleanup 2018-08-15 17:45:24 -07:00
attachments.js Eliminate orphaned external message files on startup 2018-08-06 18:08:10 -07:00
auto_update.js When iOS device has been linked, use iOS color scheme 2018-08-15 11:22:45 -07:00
config.js Let's make it all pretty, shall we? 2018-05-02 13:40:57 -07:00
global_errors.js Use window.log in browser context, turn on console eslint rule 2018-07-21 14:52:43 -07:00
key_management.js Store SQLCipher decryption key in separate file 2018-08-16 17:01:32 -07:00
locale.js Let's make it all pretty, shall we? 2018-05-02 13:40:57 -07:00
logging.js Let's make it all pretty, shall we? 2018-05-02 13:40:57 -07:00
menu.js Make all OS menus localizable 2018-07-03 16:04:21 -07:00
permissions.js Permissions: 'return callback(true)' instead of 'return true' 2018-07-12 14:52:34 -07:00
protocol_filter.js Add logging to help diagnose protocol handler false positives 2018-08-14 13:06:59 -07:00
sql.js New SQL indices and query tweaks to eliminate table scans 2018-08-09 10:11:12 -07:00
sql_channel.js Store SQLCipher decryption key in separate file 2018-08-16 17:01:32 -07:00
tray_icon.js Let's make it all pretty, shall we? 2018-05-02 13:40:57 -07:00
user_config.js Let's make it all pretty, shall we? 2018-05-02 13:40:57 -07:00
window_state.js Clean logs on start - and eslint/mocha with code coverage (#1945) 2018-01-08 13:19:25 -08:00