aboutsummaryrefslogtreecommitdiff
path: root/lib/events/encryptedfile.h
AgeCommit message (Collapse)Author
2022-05-16Update lib/events/encryptedfile.hTobias Fella
2022-05-16Implement sending encrypted filesTobias Fella
2022-05-05Fix license identifierTobias Fella
2022-02-16More cleanup, especially in EncryptedFileAlexey Rusakov
For EncryptedFile: - JSON converter bodies moved away to .cpp; - instead of C-style casts, reinterpret_cast is used to convert from (const) char* to (const) unsigned char*; - the size for the target plain text takes into account the case where the cipher block size can be larger than 1 (after reading https://www.openssl.org/docs/man1.1.1/man3/EVP_DecryptUpdate.html). - file decryption is wrapped in #ifdef Quotient_E2EE_ENABLED, to avoid OpenSSL linking errors when compiling without E2EE.
2022-02-16Add a few missing QUOTIENT_API stanzasAlexey Rusakov
Also, removed Q_GADGET macros from key verification events as those don't seem to do anything (no Q_ENUM/Q_FLAG things, namely).
2022-02-09Move includes to .cpp fileTobias Fella
2022-02-07Remove encryptionmanager and various fixesTobias Fella
2021-09-18Add the encryptedfile to the eventcontentTobias Fella