Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Don Parish's latest activity

Thursday, March 12 2009
2209 Patch #3 for HTTP Digest Auth was updated in Ruby on Rails
  • Don Parish
    Don Parish commented at 2:42 AM

    Cleaned up git commits so changes easier to follow. Patch has 3 commits: fix for earlier commit, support for using digested password, and support for session-le...

Wednesday, March 11 2009
2000 Patch for HTTP Digest Authentication URI comparison was updated in Ruby on Rails
  • Don Parish
    Don Parish commented at 7:30 AM

    I've replaced with patch with #2209. It incorporates the fixes mentioned here. I believe the current implementation will not work in a controller action that do...

2209 Patch #3 for HTTP Digest Auth was created in Ruby on Rails
  • Don Parish
    Don Parish created the ticket at 7:27 AM

    This patches supersedes #2000. The current HTTP Digest authentication seems to be broken in Rails 2.3.1 in my tests in the browser and curl. The tests pass, but...

Wednesday, February 25 2009
2000 Patch for HTTP Digest Authentication URI comparison was updated in Ruby on Rails
  • Don Parish
    Don Parish commented at 1:26 PM

    As long as the session secret is available in the session_store.rb initializer, it is available as:

    ActionController::Base.session_options[:secret]
    
    

    even if t...

Monday, February 23 2009
2000 Patch for HTTP Digest Authentication URI comparison was updated in Ruby on Rails
  • Don Parish
    Don Parish commented at 7:07 PM

    Gregg,

    Attached is a diff that can implement Digest auth without sessions having to be turned on. I've tested it with curl on Win32. It used the session secret ...

  • Don Parish
    Don Parish commented at 6:53 PM

    Updated patch from February 18th, 2009 @ 12:56 PM with minor correction to documentation to require 'md5'.

Thursday, February 19 2009
2000 Patch for HTTP Digest Authentication URI comparison was updated in Ruby on Rails
  • Don Parish
    Don Parish commented at 7:24 PM

    Here is code and gist for last comment:

    http://gist.github.com/67053

      ADMIN_REALM = "Admin Realm"
      USERS_REALM = "Users Realm"
    
      REALM_USERS = {
        ADMIN_R...
  • Don Parish
    Don Parish commented at 7:21 PM

    Gregg, not sure if it is necessary to make ha1 method public as the code is just a one-liner. I added it just to make my line of code shorter and easier to foll...

Wednesday, February 18 2009
1230 Implement HTTP Digest authentication was updated in Ruby on Rails
  • Don Parish
    Don Parish commented at 1:00 PM

    Pratik, Added ticket with inital patch. Later attached an updated patch to support use of storing a hash of user credentials instead of a plain text password, l...

2000 Patch for HTTP Digest Authentication URI comparison was updated in Ruby on Rails
  • Don Parish
    Don Parish commented at 12:56 PM

    Attached patch includes changes from patch above (http_digest_authentication_fix_uri.diff) and adds support for using a hashed digest of the credentials instead...