Commit graph

57 commits

Author SHA1 Message Date
Jehan Monnier
8ef84da0a0 fix lime to make sure zrtp trust is indexed by scheme, username and domain only instead of full sip uri 2018-03-06 16:12:53 +01:00
Johan Pascal
5f26bc70ae Improve Lime error trace on incoming message deciphering failure
+ improve SQL requests
2018-03-05 21:56:30 +07:00
Sylvain Berfini
8317d3e9b9 Fixed previous commit + added logs related to incoming message decryption process 2018-02-06 14:52:31 +01:00
Sylvain Berfini
8e0d52ec52 Do not crash in lime if either message or content type is NULL 2018-01-17 14:48:27 +01:00
Jehan Monnier
1948fbcb07 Revert most of Ronan refactoring to avoid to much instability on master. 2017-09-08 15:13:34 +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
Sylvain Berfini
47c08783af Added process outgoing message for im encryption engine 2016-11-04 15:35:59 +01:00
Sylvain Berfini
2c905e4cde Started im encryption engine, process incoming message with lime seems to work 2016-11-04 12:02:23 +01:00
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +02:00
Ghislain MARY
300c8b8737 Fix build for Windows 10. 2016-07-04 15:20:13 +02:00
Jehan Monnier
142d465862 add lime stubbed functions 2016-06-23 16:25:41 +02:00
Ghislain MARY
c13647f8bd Treat warnings as errors on Windows. 2016-06-16 12:23:53 +02:00
Simon Morlat
5b3f085121 lime again 2016-06-01 19:42:35 +02:00
Simon Morlat
e67e881283 change prototype of lime_freeKeys() to avoid passing a full structure by copy. 2016-06-01 19:39:21 +02:00
Simon Morlat
2336ee6f8b fix compilation without lime, add required copyright headers. 2016-06-01 19:33:12 +02:00
Jehan Monnier
aaa2c3c194 change bctoolbox_ to bctbx_ 2016-05-18 16:15:32 +02:00
Johan Pascal
5b4f50fb66 Lime uses bctoolbox crypto API 2016-02-09 22:02:59 +01:00
Johan Pascal
7e742958a2 Fix compilation when LIME is disabled
- enabled by default switch using --enable-lime
- check for polarssl gcm.h presence (version >=1.3)
2015-03-19 00:21:07 +01:00