nickva commented on PR #4094: URL: https://github.com/apache/couchdb/pull/4094#issuecomment-1179086947
Good idea! Noticed there were some sha-1 references in the Elixir proxyauth tests, wonder if those should be switched as well. ``` test/javascript/tests/proxyauth.js: "X-Auth-CouchDB-Token": hex_hmac_sha1(secret, "[email protected]") test/elixir/test/proxyauth_test.exs: defp hex_hmac_sha1(secret, message) do test/elixir/test/proxyauth_test.exs: '20' -> :crypto.hmac(:sha, secret, message) test/elixir/test/proxyauth_test.exs: '21' -> :crypto.hmac(:sha, secret, message) test/elixir/test/proxyauth_test.exs: _ -> :crypto.mac(:hmac, :sha, secret, message) test/elixir/test/proxyauth_test.exs: "X-Auth-CouchDB-Token": hex_hmac_sha1(secret, "[email protected]") ``` There is a chance those don't run though... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
