Home » Authentication » Auth_SASL » Bug #2904
Stateful version of DigestMD5 for realm negotiation
Details
| Request #2904 | Stateful version of DigestMD5 for realm negotiation |
|---|---|
| Submitted | 2004-12-06 01:11 UTC |
| From | miyabe at port4 dot info |
| Assigned | amistry |
| Status | Suspended |
| Package | Auth_SASL |
| PHP Version | 4.3.9 |
| Roadmaps | (Not assigned) |
Comments
[2004-12-06 01: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.
[2004-12-06 01: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 05:23 UTC] amistry at php dot net
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 10:18 UTC] miyabe at port4 dot info
Sorry, I changed server settings just now.
Please download the file once more.
[2006-05-21 07:14 UTC] amistry at php dot net
Bug me in a month or two if I have not posted any further progress on this item.