Activity log for bug #867459

Date Who What changed Old value New value Message
2011-10-04 12:58:52 Florian Fuchs bug added bug
2011-10-05 11:51:04 Florian Fuchs description Currently there is no way to check a user's credentials via the REST API. While there were discussions on implementing a middleware "hook" to implement complex authentication logic, there should also be a simple way to check if a given combination of a user's credentials (user name and password) matches the one stored in mailman's internal db. A good way to do this (as discussed on IRC a while ago) could be to implement a SQL stored procedure-like behavior in the REST API. Meaning: A client sends a uname/pwd-combination to a specific URL resource and receives a plain True or False (1 or 0?) if the combination matches. This way, no password string is sent out via the API. Things to discuss or consider: 1.) How is the password stored in MMs internal db? (plaintext or hashed? if hashed, which algorithm is used?) 2.) (How) should the pwd be encrypted when sent to the API (depends on 1.)? 3.) Should this API resource be limited to requests from localhost and/or via SSL? Currently there is no way to check a user's credentials via the REST API. While there were discussions on implementing a middleware "hook" to implement complex authentication logic, there should also be a simple way to check if a given combination of a user's credentials (user name and password) matches the one stored in mailman's internal db. A good way to do this (as discussed on IRC a while ago) could be to implement a SQL stored procedure-like behavior in the REST API. Meaning: A client sends a uname/pwd-combination to a specific URL resource and receives a plain True or False (200/403 status codes?) if the combination matches. This way, no password string is sent out via the API. Things to discuss or consider: 1.) How is the password stored in MMs internal db? (plaintext or hashed? if hashed, which algorithm is used?) 2.) (How) should the pwd be encrypted when sent to the API (depends on 1.)? 3.) Should this API resource be limited to requests from localhost and/or via SSL?
2011-10-05 11:53:19 Florian Fuchs mailman: milestone 3.0.0b1
2011-10-06 15:25:18 Barry Warsaw mailman: status New Confirmed
2011-10-06 15:25:23 Barry Warsaw mailman: importance Undecided High
2011-10-06 15:25:25 Barry Warsaw mailman: assignee Barry Warsaw (barry)
2012-03-23 23:49:11 Barry Warsaw mailman: milestone 3.0.0b1 postponed
2012-04-06 03:23:56 Barry Warsaw mailman: milestone postponed 3.0.0b2
2012-04-06 03:24:00 Barry Warsaw mailman: status Confirmed Fix Committed
2012-04-06 03:24:33 Barry Warsaw mailman: status Fix Committed Fix Released