|
From: | Eli Burke |
Subject: | Re: [Linphone-developers] Testing AES3 with EC and B256 on Android |
Date: | Mon, 27 Apr 2015 08:50:50 -0400 |
Johan, 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[5]; // 4 characters + char sas[32]; // up to 31 + null characters Check ms2: src/crypto/zrtp.c - memcpy(eventData->info.zrtp_sas.sas,sas,4); - eventData->info.zrtp_sas.sas[4]=0; + // 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. -Eli
|
signature.asc
Description: Message signed with OpenPGP using GPGMail
[Prev in Thread] | Current Thread | [Next in Thread] |