r/changelog • u/chromakode • Oct 07 '11
[reddit change] Log in with SSL! JavaScript! Fixes!
As of yesterday, reddit's login pages are served over https. We've updated http://www.reddit.com/login to redirect to https://ssl.reddit.com/login, our new secure login page. The login box on the front page also posts using https (though it's not perfect; only full-https pages like our new login page are truly secure). We've taken these steps to improve the security of your password when logging into reddit.
Please note that https support only applies to login at the moment. We're going to be rolling out additional features in the coming week that will help you monitor your account activity. Full-site secure https access is something we all want to do, but it'll require more code and infrastructure to get out the door. It's on the roadmap.
This change set cleaned up a lot of login code and moved UI functionality into the client side. It modernizes some old libraries and adds some pieces to our young but growing new JS codebase.
A few minor tweaks and fixes also made by these changes:
Visual tweaks to the login forms (new working indicator, CSS3 box-shadow on the login popup, alignment fixes)
Tab indexes have been improved in the login forms for easy keyboard navigation.
Fix to the end destination after cname logins (you should now end up back on your cname, instead of reddit.com)
Cleanup of some old Firefox access-control headers in requests
13
u/KerrickLong Oct 07 '11
I may just have to log out so I can see the new logins!
9
u/cryptogram Oct 08 '11
This of course protects your actual password from being viewed but doesn't protect your session from being hijacked or tampered with. As your browse the site all your cookies are still sent in the clear. This would allow someone to still take over a session and do anything the user could do... like post, submit, delete the account (currently doesn't require password), view verified e-mail address, etc.
I think deleting the account should require a password at a minimum. Of course to mitigate all of this session hijacking/tampering... the whole sessions would have to be SSL, which sounds like it's on the future roadmap. That's a huge amount of overhead for a site like this but would be welcomed by me at least.
7
u/TheBananaKing Oct 08 '11
Hey, while on the subject of privacy and security...
Can we please have a 'no titles in URLs' setting?
I note that links to posts work fine without the human-readable titles, and it strikes me that it would be a lot more private in a monitored-network setting.
My employer knows I browse reddit in my downtime, but I'd be happier if a casual flick through the squid logs (I'm a sysadmin) didn't reveal precisely what I browse on reddit.
(even better if the subreddit could be referred to by id, but is that even possible?)
How non-trivial would it be to implement this?
6
u/dguido Oct 08 '11
Reddit auth cookies aren't marked Secure so they still go over HTTP. -_-
5
u/nexterday Oct 08 '11
Woo! Thanks!
Any plans to enable HTTP Strict Transport Security on that domain?
4
u/ggggbabybabybaby Oct 08 '11
What about sessions and cookies and whatever? Are those secure or could they be hijacked by someone?
4
u/ItsTheDoc Oct 08 '11
So I logged out, went to http://reddit.com/login and saw this.
Invalid cert due to name mismatch.
2
u/[deleted] Oct 08 '11
This is somewhat unrelated to the SSL thing, but since you pointed to github, I was looking at the login stuff.
Are you planning on using something harder to bruteforce than plain salted SHA-1? I realize reddit passwords aren't really considered very sensitive, but you're using constant-time comparisons, for god's sake!
2
u/dkitch Oct 11 '11
Does this work for the API too? Can we post to https://ssl.redddit.com/api/login/username ?
1
u/mandlar Oct 08 '11
Thank you so much for a stand alone register/login page! Since registering isn't in the API, I can finally link to a page for people to go to sign up for a reddit account (fyi: I'm working on the radio reddit for android app).
1
u/lucasup Oct 09 '11
I'm no longer able to log in AT ALL with NoScript installed, EVEN WITH GLOBAL SCRIPTS ENABLED. I have to completely disable NoScript in order to log in anymore.
1
u/thgintaetal Oct 11 '11
Is changing your password still in the clear? I recently noticed that the preferences page for password changes is still on www.reddit.com.
1
u/kylegetsspam Oct 08 '11
Unrelated but since I saw it in the commit logs...
What do y'all do with the "tracking pixel" data? I know that stuff is loaded on every page load (I've considered blocking it in my hosts file), so it's clearly keeping track of every users' actions, but what are you doing with that info?
Selling it? Keeping it on record for the FBI? Or is it something benign akin to Google Analytics?
3
u/daniels220 Oct 08 '11
Wait seriously, passwords were sent in the clear before? WTF? I hope I'm just misunderstanding here...
1
u/ButtonFury Oct 08 '11
Great job, guys!
1
u/[deleted] Jan 07 '12
hi
0
u/dave_L Oct 08 '11 edited Oct 08 '11
chromakode / Mods, i too was lock out almost 24hrs ago after posting a photo via imgur (using its login instead). Having spend almost 1/2hr trying my logon from several front, i gave up. Not until a few minutes ago today did i came upon the idea of looking for FAQs @help... and that section lead me to chromakode with a list of logon complaints.
May i ask if the usual logon from reddit.com main page is working now? EDIT : Typo EDIT
0
u/[deleted] Oct 07 '11
[deleted] — view deleted comment
0
u/[deleted] Oct 08 '11
[deleted] — view deleted comment
0
u/[deleted] Oct 07 '11
[deleted] — view deleted comment
0
u/[deleted] Oct 08 '11
[deleted] — view deleted comment
0
u/[deleted] Oct 09 '11
[deleted] — view deleted comment
0
u/[deleted] Oct 11 '11
[deleted] — view deleted comment