View Issue Details

IDProjectCategoryView StatusLast Update
0001633libmicrohttpddigest authentication (HTTP)public2010-12-25 23:22
Reporterbytex64 Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001633: Digest auth cnonce is truncated to 40 characters
Description(Version is actually 0.9.3 -- this version was not listed in the "Product Version" drop-down)

libmicrohttpd's digest auth implementation truncates the cnonce to 40 characters (MAX_NONCE_LENGTH - 1). RFC 2617 doesn't specify a limit on the size of the cnonce, and some browsers (Opera, in my case) produce cnonce values that are over 40 characters long. This causes digest auth to fail. Increasing the value of MAX_NONCE_LENGTH fixes the problem.
TagsNo tags attached.

Activities

Christian Grothoff

2010-12-21 14:21

manager   ~0004211

So what would be a reasonable limit?

bytex64

2010-12-21 21:24

reporter   ~0004214

Opera's cnonces are at least 43 characters. I'd put it at 50, but some other overzealous browser could exceed that (though it seems quite unlikely).

Christian Grothoff

2010-12-23 15:41

manager   ~0004215

Fixed in SVN 14055.

Issue History

Date Modified Username Field Change
2010-12-21 08:27 bytex64 New Issue
2010-12-21 14:21 Christian Grothoff Note Added: 0004211
2010-12-21 14:26 Christian Grothoff Status new => feedback
2010-12-21 21:24 bytex64 Note Added: 0004214
2010-12-23 15:41 Christian Grothoff Note Added: 0004215
2010-12-23 15:41 Christian Grothoff Status feedback => resolved
2010-12-23 15:41 Christian Grothoff Resolution open => fixed
2010-12-23 15:41 Christian Grothoff Assigned To => Christian Grothoff
2010-12-25 23:22 Christian Grothoff Status resolved => closed
2013-05-06 12:52 Christian Grothoff Category digest authentication => digest authentication (HTTP)