nbarthel / cryptsy-api

An implementation of the Cryptsy API (public and private) in Ruby
MIT License
18 stars 18 forks source link

addressing the security note about cookies on the api page of cryptsy.com? #3

Closed hayksaakian closed 10 years ago

hayksaakian commented 10 years ago

Via https://www.cryptsy.com/pages/api

Security Note: Since implementation of our new security layer, some API clients are getting denied access. If possible, you should program your bot to accept cookies to pass the security test. If you are still unable to connect, then contact us with your IP address so that we may whitelist your application.

Correct me if im wrong, but browsing over the code, it seems like you create a new user agent on every request, so at a glance it seems like cookies don't persist between calls.

Is that something you were going to address? I wouldn't want to contact cryptsy each time my IP address changes.

hayksaakian commented 10 years ago

If I come up with a solution I'll submit a pull request

nbarthel commented 10 years ago

Thanks again for the patch. I'm pushing out a new version of the gem now to Rubygems.