Some common issues relate to incorrect quoting and un-quoting of values within 
calculation and/or headers.

      request-digest  = <"> < KD ( H(A1),     unq(nonce-value)
                                          ":" nc-value
                                          ":" unq(cnonce-value)
                                          ":" unq(qop-value)
                                          ":" H(A2)
                                  ) <">

A1       = unq(username-value) ":" unq(realm-value) ":" passwd

A2       = Method ":" digest-uri-value


> -----Original Message-----
> From: [email protected] [mailto:sip-
> [email protected]] On Behalf Of cool goose
> Sent: Friday, March 06, 2009 12:36 PM
> To: [email protected]
> Subject: [Sip-implementors] Digest Authentication
> 
> Guys,
> 
> Can someone explain how an digest response should be calculated when UAC
> receives 401 Unauthorized? I read RFC 2617 and this what I am implementing
> 
> If "qop" value is "auth":
> 
> respone = MD5(concat(MD5(username":"realm":"password)":" nonce-value ":"
> nc-value ":" cnonce-value ":" qop-value ":" MD5(Method ":" Digest Uri)))
> 
> 
> and the UAS responds with 403 Forbidden.
> 
> Thank You,
> CoolGoose.
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to