Bug 1621787 - Additional license notice for RNP. r=kaie
authorRob Lemley <rob@thunderbird.net>
Wed, 08 Apr 2020 18:29:48 -0400
changeset 38751 ab3ec689c2afddce46d9bf042be7aa257ccd9b4e
parent 38750 337491066b7ba0e2e7b67f58f7cbb69661556d13
child 38752 9fc6b7e2078d8ff3978dccf065ea34828b2bb840
push id401
push userclokep@gmail.com
push dateMon, 01 Jun 2020 20:41:59 +0000
reviewerskaie
bugs1621787
Bug 1621787 - Additional license notice for RNP. r=kaie RNP sources will be added to third_party/rnp. This is the license text from the current version.
mail/base/content/overrides/app-license-body.html
mail/base/content/overrides/app-license-list.html
--- a/mail/base/content/overrides/app-license-body.html
+++ b/mail/base/content/overrides/app-license-body.html
@@ -361,8 +361,275 @@ ARE DISCLAIMED. IN NO EVENT SHALL THE CO
 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
     </pre>
+
+    <h1><a id="tb-rnplicense"></a>RNP Licenses</h1>
+
+    <p>These licenses apply to files in <code>third_party/rnp</code>.</p>
+
+<h2>Ribose's BSD 2-Clause License</h2>
+
+<pre>
+Copyright (c) 2017, <a href="https://www.ribose.com">Ribose Inc</a>.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+1.  Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+
+2.  Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+    </pre>
+
+<h2>NetBSD's BSD 2-Clause License</h2>
+    <p>This license applies to the following files:</p>
+    <ul>
+        <li><code>third_party/rnpinclude/rekey/rnp_key_store.h</code></li>
+        <li><code>third_party/rnpinclude/repgp/repgp_def.h</code></li>
+        <li><code>third_party/rnpinclude/rnp.h</code></li>
+        <li><code>third_party/rnpinclude/rnp/rnp_sdk.h</code></li>
+        <li><code>third_party/rnpsrc/librekey/key_store_pgp.h</code></li>
+        <li><code>third_party/rnpsrc/librekey/key_store_pgp.cpp</code></li>
+        <li><code>third_party/rnpsrc/librekey/rnp_key_store.cpp</code></li>
+        <li><code>third_party/rnpsrc/rnpkeys/main.cpp</code></li>
+        <li><code>third_party/rnpsrc/rnpkeys/rnpkeys.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/pgp-key.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto.h</code></li>
+        <li><code>third_party/rnpsrc/lib/types.h</code></li>
+        <li><code>third_party/rnpsrc/lib/misc.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/pgp-key.h</code></li>
+        <li><code>third_party/rnpsrc/lib/fingerprint.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/ec.h</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/s2k.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/hash.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/symmetric.h</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/s2k.h</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/bn.h</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/rng.h</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/rng.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/dsa.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/symmetric.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/elgamal.h</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/bn.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/hash.h</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/dsa.h</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/rsa.h</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/elgamal.cpp</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/eddsa.h</code></li>
+        <li><code>third_party/rnpsrc/lib/crypto/rsa.cpp</code></li>
+        <li><code>third_party/rnpsrc/rnp/rnp.cpp</code></li>
+    </ul>
+
+<pre>
+This software contains source code originating from NetPGP, which
+carries the following copyright notice and license.
+
+Copyright (c) 2009-2016, <a href="https://www.netbsd.org">The NetBSD Foundation, Inc</a>.
+All rights reserved.
+
+This code is derived from software contributed to The NetBSD Foundation
+by Alistair Crooks &lt;agc at NetBSD.org&gt;
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+1.  Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+
+2.  Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+</pre>
+
+<h2>Nominet UK's Apache 2.0 Licence</h2>
+    <p>This license applies to the following files:</p>
+    <ul>
+        <li><code>third_party/rnp/src/librekey/key_store_pgp.cpp</code></li>
+        <li><code>third_party/rnp/src/librekey/key_store_pgp.h</code></li>
+        <li><code>third_party/rnp/src/lib/crypto.cpp</code></li>
+        <li><code>third_party/rnp/src/lib/crypto.h</code></li>
+        <li><code>third_party/rnp/src/lib/misc.cpp</code></li>
+        <li><code>third_party/rnp/src/lib/pgp-key.cpp</code></li>
+        <li><code>third_party/rnp/src/lib/pgp-key.h</code></li>
+        <li><code>third_party/rnp/src/lib/types.h</code></li>
+        <li><code>third_party/rnp/src/lib/crypto/dsa.cpp</code></li>
+        <li><code>third_party/rnp/src/lib/crypto/elgamal.cpp</code></li>
+        <li><code>third_party/rnp/src/lib/crypto/hash.cpp</code></li>
+        <li><code>third_party/rnp/src/lib/crypto/rsa.cpp</code></li>
+        <li><code>third_party/rnp/src/lib/crypto/symmetric.cpp</code></li>
+        <li><code>third_party/rnp/src/lib/crypto/symmetric.h</code></li>
+    </ul>
+
+    <pre>
+This software contains source code originating from NetPGP, which
+carries the following copyright notice and license.
+
+Copyright (c) 2005-2008 <a href="http://www.nic.uk">Nominet UK</a>
+All rights reserved.
+
+Contributors: Ben Laurie, Rachel Willmer. The Contributors have asserted
+their moral rights under the UK Copyright Design and Patents Act 1988 to
+be recorded as the authors of this copyright work.
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this file except in compliance with the License.  You may obtain a copy of the
+License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed
+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+CONDITIONS OF ANY KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations under the License.
+    </pre>
+
+<h2>Nominet UK's BSD 3-Clause License</h2>
+
+    <pre>
+This software contains source code originating from NetPGP, which
+carries the following copyright notice and license.
+
+Copyright (c) 2005 <a href="http://www.nic.uk">Nominet UK</a>
+All rights reserved.
+
+Contributors: Ben Laurie, Rachel Willmer. The Contributors have asserted
+their moral rights under the UK Copyright Design and Patents Act 1988 to
+be recorded as the authors of this copyright work.
+
+This is a BSD-style Open Source licence.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+1.  Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+
+2.  Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+
+3.  The name of Nominet UK or the contributors may not be used to
+    endorse or promote products derived from this software without specific
+    prior written permission;
+
+and provided that the user accepts the terms of the following disclaimer:
+
+THIS SOFTWARE IS PROVIDED BY NOMINET UK AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL NOMINET UK OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+    </pre>
+
+    <h2>OCB Patent License for Ribose Inc.</h2>
+
+    <pre>
+This license has been graciously granted by Professor Phillip Rogaway to allow
+users of "rnp" to utilize the patented OCB blockcipher mode of operation,
+which simultaneously provides privacy and authenticity.
+
+The license text is presented below in plain text form purely for referencial
+purposes. The original signed license is available on request from Ribose Inc.,
+reachable at open.source@ribose.com.
+
+1. Definitions
+
+1.1 "Licensor" means Phillip Rogaway, of 1212 Purdue Dr., Davis, California, USA.
+
+1.2 "Licensed Patents" means any patent that claims priority to United States
+Patent Application No. 09/918,615 entitled "Method and Apparatus for
+Facilitating Efficient Authenticated Encryption," and any utility, divisional,
+provisional, continuation, continuations in part, reexamination, reissue, or
+foreign counterpart patents that may issue with respect to the aforesaid patent
+application. This includes, but is not limited to, United States Patent No.
+7,046,802; United States Patent No. 7,200,227; United States Patent No.
+7,949,129; United States Patent No. 8,321,675; and any patent that issues out
+or United States Patent Application No. 13/669,114.
+
+1.3 "Licensee" means Ribose Inc., at Suite 1, 8/F, 10 Ice House Street,
+Central, Hong Kong, its affiliates, assignees, or successors in interest, or
+anyone using, making, copying, modifying, distributing, having made, importing,
+or having imported any program, software, or computer system including or based
+upon Open Source Software published by Ribose Inc., or their customers,
+suppliers, importers, manufacturers, distributors, or insurers.
+
+1.4 "Use in Licensee Products" means using, making, copying, modifying,
+distributing, having made, importing or having imported any program, software,
+or computer system published by Licensee, which contains or is based upon Open
+Source Software which may include any implementation of the Licensed Patents.
+
+1.5 "Open Source Software" means software whose source code is published and
+made available for inspection and use by anyone because either (a) the source
+code is subject to a license that permits recipients to copy, modify, and
+distribute the source code without payment of fees or royalties, or (b) the
+source code is in the public domain, including code released for public use
+through a CC0 waiver. All licenses certified by the Open Source Initiative at
+opensource.org as of January 1, 2017 and all Creative Commons licenses
+identified on the creativecommons.org website as of January 1, 2017, including
+the Public License Fallback of the CC0 waiver, satisfy these requirements for
+the purposes of this license.
+
+2. Grant of License
+
+2.1 Licensor hereby grants to Licensee a perpetual, worldwide, non-exclusive,
+nontransferable, non-sublicenseable, no-charge, royalty-free, irrevocable
+license to Use in Licensee Products any invention claimed in the Licensed
+Patents in any Open Source Software Implementation and in hardware as long as
+the Open Source Software incorporated in such hardware is freely licensed for
+hardware embodiment.
+
+3. Disclaimer
+
+3.1 LICENSEE'S USE OF THE LICENSED PATENTS IS AT LICENSEE'S OWN RISK AND UNLESS
+REQUIRED BY APPLICABLE LAW, LICENSOR MAKES NO REPRESENTATIONS OR WARRANTIES OF
+ANY KIND CONCERNING THE LICENSED PATENTS OR ANY PRODUCT EMBODYING ANY LICENSED
+PATENT, EXPRESS OR IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT
+LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR
+PURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL LICENSOR BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
+FROM OR RELATED TO ANY USE OF THE LICENSED PATENTS, INCLUDING, WITHOUT
+LIMITATION, DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR SPECIAL
+DAMAGES, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
+PRIOR TO SUCH AN OCCURRENCE.
+
+[SIGNATURE by Phillip Rogaway]
+
+Date: August 28, 2017
+
+    </pre>
--- a/mail/base/content/overrides/app-license-list.html
+++ b/mail/base/content/overrides/app-license-list.html
@@ -3,9 +3,10 @@
     <ul>
       <li><a href="about:license#tb-bsd3clause">BSD-3-Clause License</a></li>
       <li><a href="about:license#tb-xlicense">X License</a></li>
       <li><a href="about:license#tb-publicdomain">Public domain</a></li>
       <li><a href="about:license#tb-ocblicense1">OCB license 1</a></li>
       <li><a href="about:license#tb-bzip2license">Bzip2 License</a></li>
       <li><a href="about:license#tb-jsonclicense">Json-C License</a></li>
       <li><a href="about:license#tb-botanlicense">Botan License</a></li>
+      <li><a href="about:license#tb-rnplicense">RNP Licenses</a></li>
     </ul>