aboutsummaryrefslogtreecommitdiff
path: root/src/Encryption.cpp
AgeCommit message (Collapse)Author
2018-05-16Store node encryption key with user data, fix encryption bug when using ↵dec05eba
additional data
2018-05-14Replace files with sqlitedec05eba
Using sqlite because sqlite has transactions, storing/loading from files automatically, unloading data that is not accessed often. Removed cosmetic data (node name, username). They can be added using addData by the application that uses odhtdb instead. Database callback functions can now be called with stored data using database.loadNode function. TODO: Add local user storage (with password) back, it has been temorary disabled
2018-04-28Add decryption (and caching) of data, even when adding encryption key after ↵dec05eba
data has been added
2018-04-27Add local user storage function (locally stored encrypted user private key)dec05eba
2018-04-14Store database storage to files, also loadingAleksi Lindeman
2018-03-13Expose include dirAleksi Lindeman
2018-03-09Partially implement 'add' operationAleksi Lindeman
2018-03-05Implement 'create' operation, add seedingAleksi Lindeman
Seeding is currently only done on the key you specify, in the future the user should request data that it can seed.
2018-03-05Add encryption functions (xchacha20)Aleksi Lindeman
Changed license to GPL 3.0 because of incompatible license with opendht. Should odhtdb stay GPL 3.0 or should opendht be replaced with libdht so license can be changed back to MIT?