mduk / PushMePullYou

Basic WebSocket/HTTP message bus
GNU General Public License v3.0
4 stars 0 forks source link

Error on $ rebar compile #2

Open chrisbarr opened 11 years ago

chrisbarr commented 11 years ago

Getting this:

root@lucid32:/home/vagrant/PushMePullYou# rebar compile ==> cowboy (compile) Compiled src/cowboy_clock.erl Compiled src/cowboy_client.erl /home/vagrant/PushMePullYou/deps/cowboy/src/cowboy_http_websocket.erl:574: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2 ERROR: compile failed while processing /home/vagrant/PushMePullYou/deps/cowboy: rebar_abort

Fixed(?) by updating cowboy config to latest tag (0.8.6)

kunthar commented 11 years ago

base64:encode(crypto:hash(sha, Bin)).