Files
2012-02-21 01:15:00 -05:00

1 line
7.7 KiB
JSON

[{"user_id": 1822, "stars": [], "topic_id": 16462, "date_created": 1301568803.79603, "message": "Has anyone cooked one up. Googling was unfruitful.", "group_id": 81, "id": 490693}, {"user_id": 13912, "stars": [], "topic_id": 16462, "date_created": 1301571958.7125249, "message": "You mean one that authenticates against the drupal users table? I don't think it would be too hard to do. But fitting more complex scenarios might be tough.", "group_id": 81, "id": 490822}, {"user_id": 1822, "stars": [{"date_created": 1301576940.8709581, "user_id": 5778}], "topic_id": 16462, "date_created": 1301574181.448926, "message": "@Vasil yes just basic auth. Shouldn't be too hard as you say. But already done is always easier than doing it yourself.", "group_id": 81, "id": 491059}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301580690.001364, "message": "Yeah that shouldn't be hard to do at all.", "group_id": 81, "id": 492164}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301580701.9826331, "message": "But I'm sure as hell going to feel dirty just coming near it.", "group_id": 81, "id": 492166}, {"user_id": 13912, "stars": [], "topic_id": 16462, "date_created": 1301580889.4994309, "message": "you can change a password directly in mysql with md5(cleantext_password) but it may have some other handling when you do it through drupal", "group_id": 81, "id": 492196}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301581316.20416, "message": "Which I'm downloading to read through right now.", "group_id": 81, "id": 492275}, {"user_id": 13912, "stars": [], "topic_id": 16462, "date_created": 1301581158.327919, "message": "yeah, it's plain 'ol md5 with no salt in drupal 6.", "group_id": 81, "id": 492241}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301581300.6543181, "message": "Well yeah, it's PHP after all, I'm sure there are some real gems in the source.", "group_id": 81, "id": 492271}, {"user_id": 13912, "stars": [], "topic_id": 16462, "date_created": 1301581357.628386, "message": "there are probably some modules (as always) that enable different password hashing, and this will surely break any code you test against the plain 'ol drupal 6", "group_id": 81, "id": 492287}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301580665.607856, "message": "Ahaha holy crap.", "group_id": 81, "id": 492159}, {"user_id": 13912, "stars": [], "topic_id": 16462, "date_created": 1301580837.385704, "message": "hmmm", "group_id": 81, "id": 492186}, {"user_id": 13912, "stars": [], "topic_id": 16462, "date_created": 1301580649.449157, "message": "@crisisking passwords are hashed with the mysql md5 hash function without any salt.", "group_id": 81, "id": 492157}, {"user_id": 13912, "stars": [], "topic_id": 16462, "date_created": 1301580733.8468671, "message": "at least it's not clean text :D", "group_id": 81, "id": 492172}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301581195.467262, "message": "That makes me laugh and cry at the same time. How old is drupal 6?", "group_id": 81, "id": 492249}, {"user_id": 13912, "stars": [{"date_created": 1301592939.5789189, "user_id": 141}], "topic_id": 16462, "date_created": 1301581263.023349, "message": "it doesn't matter, it's not the stupidest thing it does", "group_id": 81, "id": 492261}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301582000.8499999, "message": "Blah, the source does in fact have hooks for other plugins to change the hashing mechanism.", "group_id": 81, "id": 492434}, {"user_id": 13912, "stars": [], "topic_id": 16462, "date_created": 1301581406.528657, "message": "oh, the source is a gem by itself", "group_id": 81, "id": 492302}, {"user_id": 13912, "stars": [], "topic_id": 16462, "date_created": 1301581242.8506041, "message": "a few years, around 2007 I think", "group_id": 81, "id": 492258}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301582185.354142, "message": "Though the default in Drupal 7 is sha512 with a salt. @ptone which version of Drupal are you running?", "group_id": 81, "id": 492484}, {"user_id": 26100, "stars": [], "topic_id": 16462, "date_created": 1301589131.6212609, "message": "I haven't used it myself, so I make no claims.", "group_id": 81, "id": 493353}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301588463.5415089, "message": "Looks like they're turning that feature off, otherwise I could've just hooked into that.", "group_id": 81, "id": 493298}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301588650.285239, "message": "I have some ideas on how to support custom hashing schemes provided by Drupal modules, but for now I'm just going to work with a base install of Drupal.", "group_id": 81, "id": 493316}, {"user_id": 26100, "stars": [{"date_created": 1301593002.542731, "user_id": 141}], "topic_id": 16462, "date_created": 1301589122.8656139, "message": "Here's a module to allow Drupal to be an OAuth provider: https://github.com/voxpelli/drupal-oauthloginprovider", "group_id": 81, "id": 493350}, {"user_id": 7376, "stars": [], "topic_id": 16462, "date_created": 1301590465.8251319, "message": "You could make a simple PHP script that does HTTP basic auth and make a Django Auth backend the all it tries to do is get 200 OK if the auth checks out, 401 Unauthorized if the username/passwd is invalid.", "group_id": 81, "id": 493554}, {"user_id": 1822, "stars": [], "topic_id": 16462, "date_created": 1301591104.717082, "message": "@ericmoritz yeah - simply posting to some sort of special module login API page would be the first approach I'd take rather than a direct db connection, some sort of simple PHP ValidateUser that uses the Drupal API", "group_id": 81, "id": 493680}, {"user_id": 1822, "stars": [], "topic_id": 16462, "date_created": 1301593085.1244569, "message": "@crisisking I think the site I'm targeting is running something pretty ancient, like v5", "group_id": 81, "id": 494034}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301580425.486949, "message": "@ptone I can't find anything through google on how to do it. It shouldn't be that hard to do as long as you know exactly how the passwords are hashed. If you don't mind waiting a few hours, I'll see what I can knock out tonight after work, because something like this should exist.", "group_id": 81, "id": 492119}, {"user_id": 275, "stars": [], "topic_id": 16462, "date_created": 1301587332.175596, "message": "Btw - I believe drupal has a peer-to-peer auth scheme for drupal sites ( tell site a to auth against - even remotely ) site b", "group_id": 81, "id": 493183}, {"user_id": 275, "stars": [{"date_created": 1301590958.032783, "user_id": 1822}], "topic_id": 16462, "date_created": 1301587353.9356301, "message": "That might be interesting to port to django", "group_id": 81, "id": 493185}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301662456.8888841, "message": "But there's nothing stopping me from writing a simple login module, other than how much I dislike writing PHP code.", "group_id": 81, "id": 501037}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301662156.2095799, "message": "Sorry for the lack of replies, I didn't get around to this last night.", "group_id": 81, "id": 501011}, {"user_id": 22109, "stars": [], "topic_id": 16462, "date_created": 1301662251.309866, "message": "If you'd rather have a backend that avoids communication with the Drupal db, you might be better off using that Drupal oAuth plugin.", "group_id": 81, "id": 501022}, {"user_id": 1822, "stars": [], "topic_id": 16462, "date_created": 1301665886.5339601, "message": "@crisisking I'm more than happy to give whatever youncome up with a whirl", "group_id": 81, "id": 501397}]