LFDT-Hiero / tsc

Apache License 2.0
0 stars 0 forks source link

CryptoSwift dependency license need clarification #29

Open hendrikebbers opened 1 day ago

hendrikebbers commented 1 day ago

As written in https://github.com/LFDT-Hiero/tsc/issues/3 we have the direct dependency https://github.com/krzyzanowskim/CryptoSwift.git@1.0.0 that has a license that needs clarification.

nathanklick commented 21 hours ago

License: https://github.com/krzyzanowskim/CryptoSwift?tab=License-1-ov-file#readme

License Text

Copyright (C) 2014-3099 Marcin Krzyżanowski <marcin.krzyzanowski@gmail.com>
This software is provided 'as-is', without any express or implied warranty.

In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

- The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation is required.
- Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
- This notice may not be removed or altered from any source or binary distribution.
- Redistributions of any form whatsoever must retain the following acknowledgment: 'This product includes software developed by the "Marcin Krzyzanowski" (http://krzyzanowskim.com/).'
hendrikebbers commented 4 hours ago

The license appears to be a modification of the Zlib license, which takes the suggested but not required attribution requirements of Zlib and makes them mandatory and additionally adds various requirements concerning attribution in both source and binary form. We need to carefully review the strict attribution requirements and should also have a plan for how attribution and the other statements the license requires will be maintained in source and binary form. It might be worth considering alternatives that do not contain such strict attribution requirements.