| 1 |
Copyright and licensing of the Python Cryptography Toolkit ("PyCrypto"): |
| 2 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 |
|
| 4 |
Previously, the copyright and/or licensing status of the Python |
| 5 |
Cryptography Toolkit ("PyCrypto") had been somewhat ambiguous. The |
| 6 |
original intention of Andrew M. Kuchling and other contributors has |
| 7 |
been to dedicate PyCrypto to the public domain, but that intention was |
| 8 |
not necessarily made clear in the original disclaimer (see |
| 9 |
LEGAL/copy/LICENSE.orig). |
| 10 |
|
| 11 |
Additionally, some files within PyCrypto had specified their own |
| 12 |
licenses that differed from the PyCrypto license itself. For example, |
| 13 |
the original RIPEMD.c module simply had a copyright statement and |
| 14 |
warranty disclaimer, without clearly specifying any license terms. |
| 15 |
(An updated version on the author's website came with a license that |
| 16 |
contained a GPL-incompatible advertising clause.) |
| 17 |
|
| 18 |
To rectify this situation for PyCrypto 2.1, the following steps have |
| 19 |
been taken: |
| 20 |
|
| 21 |
1. Obtaining explicit permission from the original contributors to |
| 22 |
dedicate their contributions to the public domain if they have not |
| 23 |
already done so. (See the "LEGAL/copy/stmts" directory for |
| 24 |
contributors' statements.) |
| 25 |
|
| 26 |
2. Replacing some modules with clearly-licensed code from other |
| 27 |
sources (e.g. the DES and DES3 modules were replaced with new ones |
| 28 |
based on Tom St. Denis's public-domain LibTomCrypt library.) |
| 29 |
|
| 30 |
3. Replacing some modules with code written from scratch (e.g. the |
| 31 |
RIPEMD and Blowfish modules were re-implemented from their |
| 32 |
respective algorithm specifications without reference to the old |
| 33 |
implementations). |
| 34 |
|
| 35 |
4. Removing some modules altogether without replacing them. |
| 36 |
|
| 37 |
To the best of our knowledge, with the exceptions noted below or |
| 38 |
within the files themselves, the files that constitute PyCrypto are in |
| 39 |
the public domain. Most are distributed with the following notice: |
| 40 |
|
| 41 |
The contents of this file are dedicated to the public domain. To |
| 42 |
the extent that dedication to the public domain is not available, |
| 43 |
everyone is granted a worldwide, perpetual, royalty-free, |
| 44 |
non-exclusive license to exercise all rights associated with the |
| 45 |
contents of this file for any purpose whatsoever. |
| 46 |
No rights are reserved. |
| 47 |
|
| 48 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 49 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 50 |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 51 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS |
| 52 |
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
| 53 |
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 54 |
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 55 |
SOFTWARE. |
| 56 |
|
| 57 |
EXPORT RESTRICTIONS: |
| 58 |
|
| 59 |
Note that the export or re-export of cryptographic software and/or |
| 60 |
source code may be subject to regulation in your jurisdiction. |
| 61 |
|