Commit graph

59 commits

Author SHA1 Message Date
Jehan Monnier
e2c3e740ec make sure algorithm are compared case unsensitively 2018-06-13 10:47:24 +02:00
Ghislain MARY
579485228c Remove C strings and bctoolbox lists where possible in the sal. 2018-05-11 18:02:36 +02:00
Ghislain MARY
baa4eebbe1 Use correct naming convention in sal API. 2018-05-07 17:47:41 +02:00
Ghislain MARY
2f1d16a306 Use c-wrapper for the Core object. 2017-12-04 13:56:32 +01:00
Ronan Abhamon
d41e2d5df5 fix(core): coding style, avoid spaces => use tabs instead, alignment... 2017-11-22 11:18:41 +01:00
Danmei Chen
2e98261441 add comment and change linphone_auth_info_new for auth_info for auth_info including algorithm 2017-11-21 17:10:02 +01:00
Danmei Chen
eb0fa39f97 Add test for MD5 and SHA-256 in register_test. Tests SHA-256 are supported with flexisip 2017-11-21 17:10:02 +01:00
Sylvain Berfini
42b51aaaf3 Uniformized set/get_passwd in set/get_password 2017-10-13 11:35:58 +02:00
Ronan Abhamon
935e429609 fix(Core): clean some dirty code... 2017-10-11 14:09:22 +02:00
Ghislain MARY
6beb962517 Move the new sal code in the src folder, respect the file naming conventions and add missing license headers. 2017-10-05 10:52:09 +02:00
Ronan Abhamon
33d7a384af feat(General): remove LINPHONE_NAMESPACE 2017-10-02 12:31:36 +02:00
François Grisez
86b626d3fe Migration of Sal and SalOp into C++ classes 2017-09-29 17:19:52 +02:00
Ronan Abhamon
437f43665e feat(c-wrapper): now belle-sip types are declared in this file 2017-09-25 14:18:35 +02:00
Ronan Abhamon
b2a0cd770e fix(core): deal with new cpp flags 2017-09-20 12:45:17 +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
Ghislain MARY
a8418666e4 Fix deprecation warnings. 2017-03-20 11:15:26 +01:00
Ghislain MARY
747d0843d4 Fix build on Windows 10. 2017-02-23 18:53:03 +01:00
François Grisez
85b5ca097a Reworking of Liblinphone API
* Introduction of LinphoneFactory singleton class to create
  core-independent object like LinphoneAddress or LinphoneVcard.
* Make several C structures inherite from belle_sip_object_t class:
	* LinphoneCore
	* LinphoneVcard
	* LinphoneAuthInfo
* Creation of the LinphoneCoreCbs class that enable to store the
  callbacks used by LinphoneCore.
2017-01-12 17:47:01 +01:00
Simon Morlat
897815459f prevent adding a LinphoneAuthInfo with empty credentials.
This is causing undefined behaviors in belle-sip and SAL.
2016-12-21 19:50:16 +01:00
François Grisez
64c7e55c1f Move some documentations from source files to headers 2016-12-19 14:15:45 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Ghislain MARY
85ffd1e592 Fix build of Python module + fix memory leak of bctbx_list_t objects in the wrapper. 2016-10-26 15:49:10 +02:00
Sylvain Berfini
05cf0889ea Revert to old auth_info_requested callback and added a new one instead 2016-09-21 13:03:23 +02:00
Sylvain Berfini
f42568dc71 Added tests + changes to make tls authentication on LinphoneAuthInfo work 2016-09-20 18:07:57 +02:00
Sylvain Berfini
f575f94bb4 Added methods to set TLS certificate/key on LinphoneAuthInfo + updated auth_info_requested callback 2016-09-20 12:44:43 +02:00
Jehan Monnier
9c3540b804 fix store auth info in case of no ha1 provided and store_ha1_passwd=true 2016-08-30 11:47:22 +02:00
Ghislain MARY
b535d1f153 Use bctbx_list_t instead of MSList that has been deprecated. 2016-06-16 17:42:33 +02:00
Sylvain Berfini
7a2cc53991 Fix other bb10 crashes with NULL %s 2015-10-16 15:09:43 +02:00
Gautier Pelloux-Prayer
725b866566 proxy.c: add new linphone_proxy_config_find_auth_info API 2015-10-16 13:52:29 +02:00
Simon Morlat
e0d2b13123 fix regression with previous commit regarding auth infos and ha1 2015-09-18 22:35:10 +02:00
Simon Morlat
096b71cd7e refine management of ha1 vs clear text passwords.
if store_ha1_password option is set, then never store clear text password. Also whenever realm is known, compute the ha1 and drop the clear text password.
2015-09-18 13:26:36 +02:00
François Grisez
0ce5a5f7df Add a config parameter to avoid linphone to save authentication data 2015-03-19 14:18:22 +01:00
Simon Morlat
8f3ff2dbd9 fix bug about authentication
When ha1 password storage is enabled (the default), the lookup of LinphoneAuthInfo must be done with realm, otherwise the password will not work.
2015-02-18 18:01:02 +01:00
Ghislain MARY
067c8a9527 For functions returning or taking an MSList as an argument, specify what the MSList contains in the documentation. 2014-08-14 14:44:59 +02:00
Gautier Pelloux-Prayer
82ec76a4e1 Reuse previous nonce if outbound proxy realm is set to avoid reauthentication 2014-07-25 14:37:01 +02:00
Ghislain MARY
1953750ec6 Improve documentation of LinphoneAuthInfo. 2014-07-10 12:19:07 +02:00
Simon Morlat
5214931034 add new log to track auth info added interactively. 2014-02-14 18:04:16 +01:00
Jehan Monnier
0eef5c5ecb rework behavior for 403/401/407 auth failure to avoid loop and make sure retry are always done 2014-01-30 16:18:38 +01:00
Simon Morlat
0177c5f876 fix compilation errors due to signature change in linphone_auth_info_new()
fix failed tests in case of failed authentication.
2013-11-05 22:00:19 +01:00
Sylvain Berfini
68a23b44b0 Fix find auth info algorithm for multiples registrations with same username 2013-11-05 11:56:23 +01:00
Sylvain Berfini
263364ac7c Fix find auth info algorithm 2013-11-05 11:37:00 +01:00
Sylvain Berfini
2db728a6bf Fix compilation issue 2013-11-05 10:49:38 +01:00
Sylvain Berfini
120fbea39e Fix authInfo research + allow multiples authInfos with same username/password (with different domains) in linphonerc 2013-11-04 17:13:53 +01:00
Simon Morlat
811b453d06 add a domain parameter in LinphoneAuthInfo, to workaround non-unicity of realm in real world. 2013-11-04 15:00:50 +01:00
Ghislain MARY
10734524fe Add factory functions to create common linphone objects. 2013-10-08 14:28:16 +02:00
Sylvain Berfini
461baa0e28 Added linphonerc setting to disable ha1 password storage for auth info 2013-09-10 15:48:23 +02:00
Jehan Monnier
bcfc3d9d9e make sure proxyconfig with late credential move from state Failed to Progress 2013-09-03 16:01:03 +02:00
Jehan Monnier
86ba23e486 fix ha1 issue and store ha1 instead of passwd 2013-04-28 15:08:07 +02:00
Jehan Monnier
018fbdb7f1 full LinphoneAuthInfo impl for Android 2013-03-05 16:35:40 +01:00