[Mono-bugs] [Bug 72571][Nor] New - digest auth client problem

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 13 Feb 2005 20:02:55 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by james@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=72571

--- shadow/72571	2005-02-13 20:02:55.000000000 -0500
+++ shadow/72571.tmp.2653	2005-02-13 20:02:55.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 72571
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: sebastien@ximian.com                            
+ReportedBy: james@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: digest auth client problem
+
+So, the TiVo DVR boxes provide a web-based interface for messing with them.
+ They use SSL + digest auth.  I can request things from it fine using wget
+and firefox, but mono clients aren't able to auth (it returns 401).  As
+it's using ssl, I'm not able to get any kind of trace (suggestions
+appreciated on how to accomplish this).  But I did hack DigestClient.cs to
+print out the request and response headers.
+
+The initial response challenge:
+
+Digest realm="TiVo DVR", nonce="6C17709803CCE38C", qop="auth"
+
+And we reply with the following:
+
+Digest username="tivo", realm="TiVo DVR", nonce="6C17709803CCE38C",
+uri="/TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying",
+response="dc24159b5d0a02d4b870b95d889f37e7", qop=auth, nc=00000001,
+cnonce="uN9hatsCBDWugDy1mWSl"
+
+The password being sent is: 2296533715
+
+The exact same code works fine on windows (it is able to auth successfully).