|Subject:||Re: [Linphone-developers] Testing AES3 with EC and B256 on Android|
|Date:||Mon, 27 Apr 2015 08:50:50 -0400|
Sorry my feature is causing you additional work!
If the SAS is coming through as 4 characters even though B256 is enabled, then it is likely a problem in one of two places:
Check ORTP: include/ortp/event.h
- char sas; // 4 characters
+ char sas; // up to 31 + null characters
Check ms2: src/crypto/zrtp.c
+ // support both b32 and b256 format SAS strings
+ snprintf(eventData->info.zrtp_sas.sas, sizeof(eventData->info.zrtp_sas.sas), "%s", sas);
b256 works correctly in my fork, but I have not re-synchronized my code in a couple of weeks; I may be able to take a look in the next day or two.
Description: Message signed with OpenPGP using GPGMail
|[Prev in Thread]||Current Thread||[Next in Thread]|