aboutsummaryrefslogtreecommitdiff
path: root/src/Encryption.cpp
AgeCommit message (Collapse)Author
2020-08-18Replace 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
2020-08-18Add decryption (and caching) of data, even when adding encryption key after ↵dec05eba
data has been added
2020-08-18Add local user storage function (locally stored encrypted user private key)dec05eba
2020-08-18Store database storage to files, also loadingdec05eba
2020-08-18Expose include dirdec05eba
2020-08-18Partially implement 'add' operationdec05eba
2020-08-18Implement 'create' operation, add seedingdec05eba
Seeding is currently only done on the key you specify, in the future the user should request data that it can seed.
2020-08-18Add encryption functions (xchacha20)dec05eba
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?