apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
485 stars 136 forks source link

algorithm is required on digest authentication #484

Closed QuadrantAndrew closed 7 years ago

QuadrantAndrew commented 7 years ago

The RFC says this field this as optional, but the txdav/who/directory.py assumes it's there.

Changing: credentials.fields.["algorithm"],

To (MD5 is the default in the RFC): credentials.fields.get("algorithm","md5"),

Fixes this issue.

dreness commented 7 years ago

Thanks for the patch.

bb57615..b6120bb master -> master