News for hackers. Stuff that matters.
Re:Padrino Framework 0.11 is here by dinedal on Friday March 22, 2013 @01:28PM (#5424295)
Congrats on the release! Excited about the new http_router, and the new app as a gem feature!

When I saw you guys at the meetup in SF, there was some chatter about concurrency features being added, did these make it into this release?

Re:Padrino Framework 0.11 is here by DAddYE on Friday March 22, 2013 @01:35PM (#5424331)
Not yet, is planned for 1.0
Re:Padrino Framework 0.11 is here by ronnqvist on Saturday March 23, 2013 @03:52AM (#5427562)
Thankyou so much! I've been waiting for this release in order to get Twitter bootstrap for a project that I'll just have to get out the door! Give me a bitcoin address and I'll tip you one. :)
Re:Padrino Framework 0.11 is here by pspeter3 on Friday March 22, 2013 @01:21PM (#5424246)
Congrats on the release! I wish there was a node version of you guys.
Re:Padrino Framework 0.11 is here by DAddYE on Friday March 22, 2013 @01:23PM (#5424261)
I think you shouldn't wait so long ;)
Re:Padrino Framework 0.11 is here by pspeter3 on Friday March 22, 2013 @01:25PM (#5424277)
I used to use padrino for my projects. I'm one of the few people who actually finds thinking in callbacks easier and I like using the same language in both the client and server so I switched to node. I think you guys are a fantastic project though!
Re:Padrino Framework 0.11 is here by DAddYE on Friday March 22, 2013 @01:51PM (#5424441)
Thanks, I actually think the same of you, I'm one of few lovers of callbacks and reactor pattern so, stay tuned ;)
Re:Padrino Framework 0.11 is here by pspeter3 on Sunday March 31, 2013 @03:59PM (#5469983)
Sorry for taking so long to respond. That would be fantastic if Padrino got that as well.
Re:Padrino Framework 0.11 is here by ams6110 on Friday March 22, 2013 @01:46PM (#5424401)
Padrino is a Ruby web framework, for those who are not familar with it.
Re:Padrino Framework 0.11 is here by ortuna on Friday March 22, 2013 @01:27PM (#5424286)
Looks good, congrats!
Re:Padrino Framework 0.11 is here by satyap on Saturday March 23, 2013 @02:29AM (#5427478)
Yay! We use padrino. Yay!
Re:Padrino Framework 0.11 is here by tekacs on Friday March 22, 2013 @01:50PM (#5424435)
Whilst I think that the Padrino framework is an excellent effort, I would like to remind everyone (chiefly the project organisers) that as things stand, the framework has no meaningful notion of security for the admin interface.

I flagged this up about two years ago, now, but stopped using the framework shortly thereafter and never pushed any fixes of my own. The complete lack of meaningful authentication appears to still be there all this time later.

For reference, see:

https://github.com/padrino/padrino-framework/issues/384

and

http://tkcs.in/Nlrc

Though I would hope that Padrino admin isn't in fact being used in production by anybody who hasn't read the source, a quick search at the time showed otherwise.

Re:Padrino Framework 0.11 is here by DAddYE on Friday March 22, 2013 @01:54PM (#5424460)
Tekacs:

1) We use bcrypt: https://github.com/padrino/padrino-framework/blob/master/pad...

2) Auth is an API we generate that for YOU, but you can change the code generated to fit your needs.

Re:Padrino Framework 0.11 is here by tekacs on Friday March 22, 2013 @01:59PM (#5424497)
Huzzah, with regards to the point of BCrypt (presumably the second link goes to currently dead, but left-in-the-codebase helpers).

On the other hand, the first (original) point (the GitHub issue) still stands to this day - it would make sense to either improve the default implementation of Auth to be usable (as per most every sane framework out there) or to provide a warning somewhere (at least on the Padrino guide for admin & auth?) would it not?

Re:Padrino Framework 0.11 is here by DAddYE on Friday March 22, 2013 @02:03PM (#5424529)
Tekacs,

you are right, current auth is the most simple thing we have in mind. For sure can be better and so we planned to follow more an API standard so to be interchangeable with others auth systems.

That helper is 'dead'. Will be removed before 1.0.

If you have some others suggestions or you think there is something insecure, please share your thoughts. In this release we did a lot of stuff to improve that area, so you are welcome!

Re:Padrino Framework 0.11 is here by DAddYE on Friday March 22, 2013 @01:59PM (#5424499)
3) session_id is different from session_secret (generated also for you with SecureRandom, but also there you can change it)
Re:Padrino Framework 0.11 is here by tekacs on Friday March 22, 2013 @02:10PM (#5424563)
I would be very glad to hear that a session_secret is being used to encrypt session cookies (which would prevent the (working-at-the-time) 'attack' I posted in the abovementioned issue).

I can't tell at a glance whether this change was made after the issue and if the problem is now overcome, but I'm glad to hear that security is at least on your minds! Just switching to BCrypt from the old DES'd passwords is a wonderful step!

Best of luck and thanks for the great project!

Re:Padrino Framework 0.11 is here by DAddYE on Friday March 22, 2013 @02:13PM (#5424589)
Thanks! BTW, I'm far to be that is 'secure' nothing is 'secure', but we are putting a lot of efforts in that way, crf tokens, rack-protection and so on ... so jump in the community and help us to improve security aspects.

Thanks for all!

Re:Padrino Framework 0.11 is here by Argorak on Friday March 22, 2013 @02:40PM (#5424744)
We're using standard Rack and Sinatra when it comes to sessions. So clearly: yes, always has.
Re:Padrino Framework 0.11 is here by tekacs on Friday March 22, 2013 @01:52PM (#5424450)
And please, do correct me if I'm wrong (if this has in any way been fixed since).