kenichi / angelo

Sinatra-like DSL for Reel that supports WebSockets and SSE
Other
303 stars 23 forks source link

Change digest algorithm from not supported SHA #82

Open Giannandrea opened 6 years ago

Giannandrea commented 6 years ago

Looking a the code of the openssl gem it seems that SHA is not supported https://github.com/ruby/openssl/blob/master/lib/openssl/digest.rb

alg = %w(MD2 MD4 MD5 MDC2 RIPEMD160 SHA1 SHA224 SHA256 SHA384 SHA512) when i tried Angelo locally on mac i receive this error NameError: uninitialized constant OpenSSL::Digest::SHA