Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.3

Request #2904 Stateful version of DigestMD5 for realm negotiation
Submitted: 2004-12-05 20:11 UTC Modified: 2006-05-21 02:14 UTC
From: miyabe at port4 dot info Assigned: amistry
Status: Assigned Package: Auth_SASL
PHP Version: 4.3.9 OS:
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: miyabe at port4 dot info
New email:
PHP Version: Package Version: OS:

 

 [2004-12-05 20:11 UTC] miyabe at port4 dot info
Description: ------------ Actual DigestMD5 cannot handle multiple realm. Reproduce code: --------------- // $challenge : digest challenge from the server. $digest = &Auth_SASL::factory( 'DIGESTMD5' ); $digest->setChallenge($challenge); $realm = $digest->getRealm($challenge); //get all realms in the challenge. // select one of the realm and set it to $realm $realm = (...do something...) $response = $digest->getResponse( $uid, $pwd, $host, 'pop', $realm ); Expected result: ---------------- We would like to get realms from the server and select exactly one of the realm using the code above.

Comments

 [2004-12-05 20:17 UTC] miyabe at port4 dot info
Here is stateful version of Auth_SASL_DigestMD5. Please adopt this code. http://www.port4.info/release/pear/DigestMD5_Stateful.php
 [2006-03-22 00:23 UTC] amistry at php dot net (Anish Mistry)
I can't download your linked file, because your server is trying to execute it as PHP. If you can email me the file I can see about integrating it.
 [2006-03-22 05:18 UTC] miyabe at port4 dot info
Sorry, I changed server settings just now. Please download the file once more.
 [2006-05-21 02:14 UTC] amistry at php dot net (Anish Mistry)
Bug me in a month or two if I have not posted any further progress on this item.