public
Description: the 4k pocket full-of-gags web microframework
Homepage: http://code.whytheluckystiff.net/camping/
Clone URL: git://github.com/judofyr/camping.git

Comments for judofyr's camping   feed

judofyr commented on judofyr/camping Sat Jan 24 07:09:54 -0800 2009
Comment in c04a6c7:

Well, the Rack spec says that the environment always will be a true intance of Hash (no subclassing allowed) so it’s really not our problem…

zimbatm commented on judofyr/camping Sat Jan 24 04:26:59 -0800 2009
Comment in c04a6c7:

The .to_hash method is actually needed if the object is ENV, when responding to a CGI request.

judofyr commented on judofyr/camping Mon Nov 03 22:32:24 -0800 2008
Comment in 5359649:

Meh, I was just tossing ideas around. I had it on a branch, but I think I removed it a while ago. H does a good job already, and there’s no point of adding a new dependency :-)

Bluebie commented on judofyr/camping Mon Nov 03 17:36:14 -0800 2008
Comment in 5359649:

I thought we’d decided using Mash would be funky? But your gems don’t seem to include it. Whats the dealio? Are we now anti-mash?

Bluebie commented on judofyr/camping Sun Nov 02 14:52:27 -0800 2008
Comment in 6acd337:

Hmm… Fair enough! _

Doesn’t that algorithm require two different secret keys though? Do we know that the implementation in OpenSSL is strong? I would have thought everything in SSL would be incredibly outdated and ancient.

Bluebie commented on judofyr/camping Tue Oct 28 05:42:58 -0700 2008
Comment in 205983a:

Thank you thank you thank you! :D

judofyr commented on judofyr/camping Mon Oct 27 14:58:16 -0700 2008
Comment in 6acd337:

Cryptology is pretty hard, and doing hash(key + data) has proved to be insecure: http://en.wikipedia.org/wiki/HMAC#Design_Principles

We’re not aiming for prefect security, but when can get a better solution for free I’m not complaining :-)

USER_AGENT is probably a good idea to remove, though!

Bluebie commented on judofyr/camping Mon Oct 27 14:44:33 -0700 2008
Comment in 6acd337:

I’m confused as to why this change is good. What is different about the hmac implementation in OpenSSL that makes it better?

Also please can we ditch @env.HTTP_USER_AGENT? It stops flash applets from being able to communicate with camping apps by killing their session, and presumably does the same to java. I’ve had to make my own http_user_agentless secure_blob_hasher to get flash to work with my camping webapp, where I use a flash applet to upload pictures, which was annoying and confusing. :/

Bluebie commented on judofyr/camping Wed Jul 30 23:36:52 -0700 2008
Comment in d1db4f3:

Yay! _

Bluebie commented on judofyr/camping Tue Jul 22 21:36:17 -0700 2008

The commit has since been removed.