bitwiseshiftleft / sjcl

Stanford Javascript Crypto Library
http://bitwiseshiftleft.github.com/sjcl/
Other
7.18k stars 987 forks source link

Include LICENSE.txt file in the repo #152

Open david-katz opened 10 years ago

david-katz commented 10 years ago

Please include a LICENSE.txt file in the repo clarifying exactly which license (for instance which version of BSD) you are licensing the software under.

Without very clear licensing information (best being exact license text), it is difficult for users to be certain that they are in compliance with the license.

Thanks!

Nilos commented 10 years ago

Maybe we should do that for clarification. Anyhow on the website it says: "You can use, modify and redistribute it under a BSD license or under the GNU GPL, version 2.0 or higher." I am not exactly sure how to add two licenses into one LICENSE.txt.

david-katz commented 10 years ago

Thanks for getting back on that so quickly!

I am not a licensing expert, but an example might be how DataTables used to do it (they are now just MIT), here in version 1.8.2

https://github.com/DataTables/DataTables/tree/RELEASE_1_8_2

In their readme they state that they are dual-licensed (but name the actual licenses - here you should explicitly state if you are licensing under BSD-2 or BSD-3.) Then they include two license.txt files, one for each license, that have the appropriate copyright info etc.

Also, since the BSD has different requirements for distributing in source or binary form, perhaps you could add a clarification (to the readme or license.txt for BSD) of your understanding of source vs binary distribution when using your minified files.

It would likely be best if you would state that you consider the use of the minified files on a web site to be a binary distribution and thus do not require that the license text be added to the top of the file. If you disagree, then you should likely add the license text to the top of the minified file you are distributing for use, so that users automatically are in compliance when they use this file.

Thanks again!

David Katz

Nilos commented 10 years ago

@bitwiseshiftleft as you and mike are the original authors, I would leave the detail clarification to you. If you do not care, just drop me a line and I will make a decision where necessary.