Path: | lib/net/ntlm.rb |
Last Update: | Wed Apr 17 05:33:50 +0000 2013 |
An NTLM Authentication Library for Ruby
This code is a derivative of "dbf2.rb" written by yrock and Minero Aoki. You can find original code here: jp.rubyist.net/magazine/?0013-CodeReview
Copyright (c) 2005,2006 yrock
This program is free software. You can distribute/modify this program under the terms of the Ruby License.
2006-02-11 refactored by Minero Aoki
All protocol information used to write this code stems from "The NTLM Authentication Protocol" by Eric Glass. The author would thank to him for this tremendous work and making it available on the net. davenport.sourceforge.net/ntlm.html
Copyright (c) 2003 Eric Glass
Permission to use, copy, modify, and distribute this document for any purpose and without any fee is hereby granted, provided that the above copyright notice and this list of conditions appear in all copies.
The author also looked Mozilla-Firefox-1.0.7 source code, namely, security/manager/ssl/src/nsNTLMAuthModule.cpp and Jonathan Bastien-Filiatrault‘s libntlm-ruby. "x2a.org/websvn/filedetails.php? repname=libntlm-ruby&path=%2Ftrunk%2Fntlm.rb&sc=1" The latter has a minor bug in its separate_keys function. The third key has to begin from the 14th character of the input string instead of 13th:)