Hi Paulo,

2010/12/18 Paulo Vicentini <vicentini.pa...@gmail.com>:
> Thanks for your tips
> If It uses a "Digest-HA1" scheme, it would need to receive the same from the
> registrar server (matching schemes). It would be good to be server agnostic
> (Digest)
> int ca_credentials(...
> ... ...
> if ((scheme != NULL && !su_casematch(scheme, ca->ca_scheme)) ||
> (realm != NULL && !su_strmatch(realm, ca->ca_realm)))
> return 0;
>
> It needs to somehow to ignore above code, maybe checking for "Digest-HA1"

Yes, the ca_credentials should somehow magically match the
"Digest-HA1" with Digest, and somehow store the HA1 in the
auth_client_t structure so that the digest algorithm itself would
recognize the HA1. The current authentication client design does not
support that very well.

-- 
Pekka.Pessi mail at nokia.com

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to