Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
Relicense as MIT, where I can. MD4 is still LGPL-2.1 or later.
Browse files Browse the repository at this point in the history
I have verified that apart from the MD4 library by Dmitry, all other
changes not done by me personally were largely mechanical in nature,
obvious to any experienced practicioner, and I don't consider them
copyrightable as such, nor do I consider Ldaptor as it is here to be a
derived work from those largely mechanical changes. The MD4 library
implements a standardized algorithm, has a very narrow API, and
follows the Python "hashlib" calling convention. For these reasons, I
do not consider Ldaptor to be in any way a derived work of the MD4
library included.

I invite anyone who has improved Ldaptor in any way to also relicense
their contribution under the MIT license. I also would warmly welcome
a pure-Python (or stdlib) implementation of MD4 that is compatible
with the MIT license. Alternatively, one could port Ldaptor to use a
C-based MD4 library (and add an extra dependency), run md4 as a
subprocess (and add an extra dependency), or just extract SMB password
setting into a separate software component.

This commit is dedicated to the Twisted project.
  • Loading branch information
tv42 committed Jul 22, 2012
1 parent c2d5328 commit 7e249b1
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
47 changes: 47 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
Ldaptor is licensed under the MIT license for the majority of the
files, with exceptions listed below.


Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Tommi Virtanen

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


-----

Files ldaptor/U32.py, ldaptor/md4.py (only used for the MD4 hash
algorithm in SMB passwords -- an MIT licensed replacement would be
welcome)

Copyright (C) 2003, 2005 Dmitry Rozmanov <dima@xenon.spb.ru>

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def run(self):
author="Tommi Virtanen",
author_email="tv@eagain.net",
#url="TODO",
license="GNU LGPL",
license="MIT",

cmdclass={'build': build,
'build_locale': build_locale,
Expand Down

0 comments on commit 7e249b1

Please sign in to comment.