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.
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. |
7 years ago | |
|---|---|---|
| .. | ||
| .eslintrc.js | 7 years ago | |
| attachment_channel.js | 7 years ago | |
| attachments.js | 7 years ago | |
| auto_update.js | 7 years ago | |
| config.js | 8 years ago | |
| global_errors.js | 7 years ago | |
| key_management.js | 7 years ago | |
| locale.js | 8 years ago | |
| logging.js | 8 years ago | |
| menu.js | 7 years ago | |
| permissions.js | 7 years ago | |
| protocol_filter.js | 7 years ago | |
| sql.js | 7 years ago | |
| sql_channel.js | 7 years ago | |
| tray_icon.js | 8 years ago | |
| user_config.js | 8 years ago | |
| window_state.js | 8 years ago | |