Commit graph

69 commits

Author SHA1 Message Date
Jehan Monnier
e9e2758816 fix lime to make sure zrtp trust is indexed by scheme, username and domain only instead of full sip uri
# Conflicts:
#	coreapi/lime.c
#	coreapi/linphonecall.c
2018-06-13 11:56:47 +02:00
Johan Pascal
3e851c239b Improve Lime error trace on incoming message deciphering failure
+ improve SQL requests

# Conflicts:
#	coreapi/lime.c
2018-06-13 11:56:47 +02:00
Sylvain Berfini
ebb36d6dd0 Added logs related to incoming message decryption process 2018-04-30 13:29:47 +02:00
Sylvain Berfini
ab06d51476 Do not crash in lime if either message or content type is NULL 2018-04-30 12:54:27 +02:00
Sylvain Berfini
03520fcd52 Fixed group chat's Send File + Text message test 2018-04-24 18:11:20 +02:00
Ronan Abhamon
80e29dd7e6 fix(c-content): avoid many memory leaks 2018-04-24 14:52:35 +02:00
Sylvain Berfini
8f014cb061 Fixed issues with LIME v1 2018-04-24 12:21:53 +02:00
Ghislain MARY
711495218a Revert "Revert "Merge branch 'dev_content_cpp' into dev_refactor_cpp""
This reverts commit 2686dca63a.
2018-04-12 11:47:14 +02:00
Jehan Monnier
2686dca63a Revert "Merge branch 'dev_content_cpp' into dev_refactor_cpp"
This reverts commit d7890dbe74, reversing
changes made to e6158d8da5.
2018-04-05 12:08:44 +02:00
Sylvain Berfini
1b74fdadef Do not crash if key is NULL 2018-02-08 17:25:35 +01:00
Ronan Abhamon
450548f612 fix(core): add missing content.h include 2018-02-08 16:28:48 +01:00
Sylvain Berfini
6603446382 Started to get back LIME working for file transfer 2018-02-07 17:01:54 +01:00
Ghislain MARY
7b5061ace7 Fix memory leaks. 2018-02-01 17:43:07 +01:00
Ghislain MARY
40ada5153a Fix some memory leaks and crashes in message tester. 2018-01-30 15:02:39 +01:00
Benjamin Reis
3a6f8976fd cast to fix build 2017-09-21 16:52:47 +02:00
Sylvain Berfini
d9d06fa32f Fixed compil broken due to chat message changes 2017-09-21 13:13:53 +02:00
Ronan Abhamon
b2a0cd770e fix(core): deal with new cpp flags 2017-09-20 12:45:17 +02:00
Ghislain MARY
0babed04f4 Use ChatRoom C++ class. 2017-08-30 10:27:51 +02:00
Ghislain MARY
2f9760c696 Fix compilation. 2017-07-31 16:17:49 +02:00
Simon Morlat
2dd2ee6e79 fix memory leaks 2017-07-31 16:08:56 +02:00
Ghislain MARY
7ceddff0b9 Do not rename files to compile them as C++. 2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb Compile source files as C++. 2017-07-21 17:06:41 +02:00
Sylvain Berfini
c673c854cb Added test to reproduce LIME issue when sending 2 messages while network not reachable + improved LIME error logs 2017-07-19 11:22:42 +02:00
Sylvain Berfini
0beb626b5d Added error logs in lime decryption process 2017-07-18 10:14:34 +02:00
Jehan Monnier
c4481dcce3 fix trace 2017-06-16 17:28:37 +02:00
Jehan Monnier
7720b06041 add a trace in case lime key is derivated because of message loses 2017-06-16 17:16:20 +02:00
Simon Morlat
15bc305047 fix compilation without lime 2017-04-11 16:11:07 +02:00
Ghislain MARY
cca2555ca6 Reflect changes in bctoolbox. 2017-04-11 15:32:02 +02:00
Johan Pascal
fcc61d1aa5 Switch to sql based zrtp/lime cache
Warning: no migration from old xml cache provided yet
2017-04-01 11:05:08 +07:00
Sylvain Berfini
db1c043cd0 Improved IM encryption engine API 2017-02-21 10:26:33 +01:00
Johan Pascal
bced2b3534 Lime key validity gets easier config file setting
- can use expression like 1W, 2M or 3d instead of number of seconds
2017-02-06 14:39:14 +07:00
Johan Pascal
1841b4222e update to new get current time API in bctoolbox 2017-02-06 09:40:39 +07:00
Simon Morlat
fe51a7bb48 fix compilation errors when compiling without lime 2017-02-05 12:27:51 +01:00
Johan Pascal
d0222b5a87 Manage LIME key expiration date 2017-02-05 15:33:12 +07:00
Simon Morlat
eb82036b55 fix compilation problem without lime 2017-02-01 11:08:57 +01:00
Ghislain MARY
b297a4cb1d Rework chat handling.
- Add content type information in LIME encrypted message
 - Single entry point for all types of chat messages that are first decrypted if necessary and then handled according to their content type
 - Add possibility to send chat messages with a content type that is not 'text/plain'
 - Encrypt IMDN
2017-01-31 12:25:12 +01:00
Ghislain MARY
ee077ae5ad Fix bug where IMDN messages gets encryption by LIME and the other party then treat the decrypted message as plain text. 2017-01-23 17:59:32 +01:00
Sylvain Berfini
2b407fabfa Fixes for LIME when used with file body handler (requires belle-sip 1.5.0-133 or newer) 2017-01-18 12:46:14 +01:00
Sylvain Berfini
63cc85751c Fixed an issue with LIME and Preferred policy + added tests 2017-01-12 16:40:22 +01:00
Sylvain Berfini
f9d6f3ae97 Fixed compil... 2017-01-11 13:05:36 +01:00
Sylvain Berfini
2e72668539 Fixed LIME tests 2017-01-11 12:17:08 +01:00
Benjamin Reis
2751c8a703 Modify linphone_chat_room_lime_available 2017-01-09 17:16:57 +01:00
Sylvain Berfini
41b9cf9c67 Fix allocs and frees in lime 2017-01-03 12:29:39 +01:00
Ghislain MARY
563bb427b0 Fix IM encryption engine for automatic wrapper generation. 2016-12-19 11:56:37 +01:00
Sylvain Berfini
85d8e09d59 Call IM Encryption Engine outoing & incoming callbacks also for composing messages, but do nothing with lime + test 2016-12-05 12:07:11 +01:00
Sylvain Berfini
395c81f69a Added encryption callbacks for file upload in im encryption engine 2016-11-10 15:44:32 +01:00
Sylvain Berfini
3214b4371a Reworked im encryption engine to be at linphone level instead of sal level 2016-11-10 14:33:04 +01:00
Sylvain Berfini
127d52d72d Reworked API for im encryption engine for file download + added test for file body handler 2016-11-09 17:26:55 +01:00
Sylvain Berfini
c284239d54 Added callbacks in im encryption engine for decrypting incoming files in chat messages + improved lime test to check decrypted file is equal to sent one 2016-11-07 16:32:09 +01:00
Sylvain Berfini
28d5816c06 Added belle_sip_request_t parameter to im encryption engine callbacks to authorize read/write of SIP headers 2016-11-04 16:26:36 +01:00