Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActionController::HttpAuthentication::Digest method: opaque #19213

Closed
sivsushruth opened this issue Mar 5, 2015 · 0 comments
Closed

ActionController::HttpAuthentication::Digest method: opaque #19213

sivsushruth opened this issue Mar 5, 2015 · 0 comments

Comments

@sivsushruth
Copy link
Contributor

https://github.com/rails/rails/blob/master/actionpack/lib/action_controller/metal/http_authentication.rb#L317

      # Opaque based on random generation - but changing each request?
      def opaque(secret_key)
        ::Digest::MD5.hexdigest(secret_key)
      end

This comment seems a bit nonsensical. Could someone who knows what the HTTP Digest Auth code is doing please either update the comment or remove it entirely.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants