|
From: | Shruti Goyal |
Subject: | Re: [Linphone-developers] Linphone Android Cipher modification |
Date: | Fri, 11 Dec 2015 10:59:10 +0530 |
With Warm Regards,
Shruti Goyal
Set
media_encryption=zrtp
in the [sip] section of your linphonerc_factory files. It will force the media encryption setting to ZRTP at each start.
johan
On 14/10/15 07:08, Shruti Goyal wrote:
Thanks Johan for your suggestion.
Can you please tell that how can we compile or configure ZRTP with linphone ?
I have tried "make BUILD_ZRTP=1" but it does not select ZRTP in media encryption part of settings. How can we make ZRTP mandatory ?
With Warm Regards,
Shruti Goyal
VVDN Technologies Pvt Ltd
Cell : +91 9872048482 | Skype : shrutigoyal703
On Tue, Oct 6, 2015 at 2:27 PM, Johan Pascal <address@hidden> wrote:
Hi,
you're right, there is another problem there: the SDP offer/answer is buggy on SDES crypto suite selection when a subset of available SRTP crypto suites are selected on one side only.
For now you can force both ends to AES_CM_256_HMAC_SHA1_80 only or you can or use ZRTP to exchange keys.
I'll let yo know when its solved. It's not high in the priorities so it may take a while, if you're in a hurry and solve it yourself, any patch is then welcome!
regards,
johan
On 05/10/15 12:38, Shruti Goyal wrote:
Thanks Johan.
I tried as you suggested.
- I modified the linphone-android -> submodules -> linphone -> coreapi -> linphonecall.c at 436 line as done in your suggested commit. (replaced "30" with keylen).
- I have updated submodules to the latest git revision.
Still no luck. Can you guide us how to ensure SRTP is working ? (for it we have set SRTP media_encryption_mandatory =1 in res -> raw -> linphonerc_factory under sip) Is it the right way ?
Please go through the LOGS attached in this email.
With Warm Regards,
Shruti Goyal
VVDN Technologies Pvt Ltd
Cell : +91 9872048482 | Skype : shrutigoyal703
On Tue, Sep 29, 2015 at 5:46 PM, Johan Pascal <address@hidden> wrote:
Hi,
I fixed the problem in liblinphone, commit 10c8d03e4433c466d0ab6e19b629d7ec7dcde3be.
This commit is not yet part of the linphone-android depot, but you can get it in android by updating linphone submodule in your local linphone-android depot(you may also need to update oRTP, mediastreamer2 and bellesip to be able to build).
regards,
johan
On 28/09/15 08:31, Shruti Goyal wrote:
Both are Linphone Android.
I think the issue is that both are using different cipher_key.
here is the total debug log :-
E/Linphone﹕ Unsupported crypto suite 'AEAD_AES_256_GCM_8' with parameters ''E/Linphone﹕ Unsupported crypto suite 'AEAD_AES_128_GCM_8' with parameters ''E/Linphone﹕ Unsupported crypto suite 'AES_CM_192_HMAC_SHA1_80' with parameters ''E/Linphone﹕ Unsupported crypto suite 'AES_CM_192_HMAC_SHA1_32' with parameters ''I/Linphone﹕ "Extension 1001" <sip:address@hidden> is contacting you.I/Linphone﹕ New call state [IncomingReceived]W/Linphone﹕ Routing audio to speaker, disabling bluetooth audio routeD/Linphone﹕ Audio focus requested: GrantedE/MediaPlayer-JNI﹕ QCMediaPlayer mediaplayer NOT presentE/MediaPlayer﹕ Should have subtitle controller already setD/Linphone﹕ call acceptI/Linphone﹕ Connected.I/Linphone﹕ New call state [Connected]D/Linphone﹕ Stopped ringing, routing back to earpieceW/Linphone﹕ Routing audio to earpiece, disabling bluetooth audio routeD/Linphone﹕ ---AudioManager: set mode to MODE_IN_COMMUNICATIONE/Linphone﹕ Error decoding b64 srtp recv keyE/Linphone﹕ Key size (30) doesn't match the selected srtp profile (required 46)I/Linphone﹕ New call state [StreamsRunning]I/Linphone﹕ New call active : acquiring incall (CPU only) wake lockW/MediaPlayer﹕ mediaplayer went away with unhandled eventsI/Linphone﹕ Proximity sensor detected, registeringD/Linphone﹕ Proximity sensor report [5.000305] , for max range [5.000305]
With Warm Regards,
Shruti Goyal
VVDN Technologies Pvt Ltd
Cell : +91 9872048482 | Skype : shrutigoyal703
On Mon, Sep 28, 2015 at 11:39 AM, Johan Pascal <address@hidden> wrote:
Hi Shruti,
What is the other SIP client? Linphone Android too?
Can you post the whole debug log please.
thanks
johan
On 28/09/15 08:04, Shruti Goyal wrote:
Hi Johan,
I am getting this error while trying to enable SRTP in Linphone Android.
Error decoding b64 srtp recv keyKey size (30) doesn't match the selected srtp profile (required 46)
Do you know something regarding this ?
With Warm Regards,
Shruti Goyal
VVDN Technologies Pvt Ltd
Cell : +91 9872048482 | Skype : shrutigoyal703
On Sat, Sep 26, 2015 at 5:05 PM, Shruti Goyal <address@hidden> wrote:
Thank you Johan.
With Warm Regards,
Shruti Goyal
VVDN Technologies Pvt Ltd
Cell : +91 9872048482 | Skype : shrutigoyal703
On Fri, Sep 25, 2015 at 3:27 PM, Johan Pascal <address@hidden> wrote:
Hi,
setting the available crypto suite for SRTP is done through the srtp_crypto_suites property in the sip section of the linphone configuration file.
By setting in the [sip] section:
srtp_crypto_suites=AES_CM_256_HMAC_SHA1_80
you will allow this suite only.
To configure it on Android, you shall modify the linphonerc_factory file in res/raw (for phone) and res/raw-sw600dp (for tablets). Recompile and install.
regards,
johan
On 25/09/15 11:18, Shruti Goyal wrote:
Do any one know something related to this ?
Any help will be appreciated!!
With Warm Regards,
Shruti Goyal
On Thu, Sep 17, 2015 at 3:18 PM, Shruti Goyal <address@hidden> wrote:
Hi Devels,
How can i disable other ciphers except than "AES_CM_256_HMAC_SHA1_80" in Linphone Android?
Do anybody have some idea?
With Warm Regards,
Shruti Goyal
_______________________________________________ Linphone-developers mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________ Linphone-developers mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________ Linphone-developers mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________ Linphone-developers mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________ Linphone-developers mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |