Commit graph

41 commits

Author SHA1 Message Date
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
Gautier Pelloux-Prayer
2bc09231d5 lime.c: temporary remove clang-not-compiling checks 2015-03-17 11:28:20 +01:00
Johan Pascal
f942fdeb3b Fix merge
and make code C90 compliant
2014-09-28 23:02:19 +02:00
Johan Pascal
cb4b534a4d Lime gives more explicit warning messages 2014-07-13 00:31:58 +02:00
Johan Pascal
f6eb21ad82 Lime checks the PVS flag in ZRTP cache when getting keys 2014-07-13 00:02:47 +02:00
Johan Pascal
6bdc649624 Add encrypted file transfer message
+ test for the encrypted text message
+ fix bug introduced in last merge
2014-06-12 00:49:36 +02:00
Johan Pascal
26ada60683 Complete LIME integration into liblinphone
- add a boolean into linphoneCore to check if encryption is requested
- move encryption/decryption from chat.c to sal_op_message.c
- check encrypted message validity
- return error to application when enable to encrypt/decrypt
2014-04-25 21:24:50 +02:00
Johan Pascal
8a8eb4afe1 Add Lime (Linphone Instant Message Encryption)
- not fully functional yet.
2014-04-11 00:02:36 +02:00