Commit graph

14 commits

Author SHA1 Message Date
azivner e28c06ef37 all APIs are not prefixed with /api 2017-09-30 10:05:12 -04:00
azivner d6ffae2035 encrypt and decrypt subtrees (in tree context menu) 2017-09-17 12:46:14 -04:00
azivner 0fc604e7b4 fixed changing password 2017-09-17 00:18:03 -04:00
azivner 1d395badfa password now encrypts random "data key" which is then used for encryption of the actual data 2017-09-16 23:21:46 -04:00
azivner fdc668e28b scroll to current note in the tree 2017-09-16 11:37:50 -04:00
azivner 4e298d9d85 after changing password, encryption key changed so current encryption session is invalid and needs to be cleared 2017-09-12 23:07:08 -04:00
azivner 5b84487aac encryption timeout is now configurable in the db 2017-09-12 23:04:17 -04:00
azivner 8bc1bdd5f7 use generated salts instead of fixed ones 2017-09-12 21:43:24 -04:00
azivner aad90f016b refactoring - moving stuff to separate files 2017-09-09 12:06:15 -04:00
azivner adf18132fb if parent note is encrypted, then child note will be created as encrypted as well 2017-09-08 22:43:02 -04:00
azivner 9ba958205d frontend now generates two scrypt hashes with different salts - one for verification and one for encryption. Lowered complexity to half to not affect frontend performance. 2017-09-08 20:55:24 -04:00
azivner aebcabf77d using global one setInterval instead of scheduling setTimeout after each encryption operation (there can be many of them) 2017-09-06 23:16:54 -04:00
azivner fe3d3c1995 note titles are now encrypted as well - plus auto-decryption of note tree and unloading 2017-09-06 23:13:39 -04:00
azivner a8c576298b encryption code separated into its own file 2017-09-06 22:06:43 -04:00