Permalink
Browse files

Switch to BSD license.

  • Loading branch information...
lepture committed Jan 1, 2019
1 parent a017d0c commit 05613853bde5cf9231a198066cda8099c8eb7818
Showing with 64 additions and 46 deletions.
  1. +10 −12 LICENSE
  2. +1 −1 README.md
  3. +1 −1 README.rst
  4. +2 −2 authlib/__init__.py
  5. +20 −0 docs/changelog.rst
  6. +27 −27 docs/community/licenses.rst
  7. +1 −1 docs/community/sustainable.rst
  8. +2 −2 setup.py
22 LICENSE
@@ -1,16 +1,14 @@
License of Authlib (AGPLv3+)
Copyright (c) 2019, Hsiaoming Yang

Copyright (C) 2017 Hsiaoming Yang
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

This program 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 Affero General Public License for more details.
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
* 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.

* Neither the name of the creator nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.


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.
@@ -227,7 +227,7 @@ You can also find it at <https://keybase.io/lepture>.

## License

Authlib is licensed under AGPLv3+. Please see LICENSE for licensing details.
Authlib is licensed under BSD. Please see LICENSE for licensing details.

If this license does not fit your company, consider to purchase a commercial
license. Find more information on [Authlib Plans](https://authlib.org/plans).
@@ -47,7 +47,7 @@ Implementations
License
-------

Authlib is licensed under AGPLv3+. Please see LICENSE for licensing details.
Authlib is licensed under BSD. Please see LICENSE for licensing details.

If this license does not fit your company, consider to purchase a commercial
license. Find more information on `Authlib Plans`_.
@@ -7,11 +7,11 @@
implementation to high level framework integrations.
:copyright: (c) 2017 by Hsiaoming Yang.
:license: AGPLv3+, see LICENSE for more details.
:license: BSD, see LICENSE for more details.
"""
from .consts import version, homepage, author

__version__ = version
__homepage__ = homepage
__author__ = author
__license__ = 'AGPLv3+'
__license__ = 'BSD'
@@ -6,6 +6,26 @@ Changelog

Here you can see the full list of changes between each Authlib release.

Version 0.11
------------

**Release Date not decided yet.**

**BIG NEWS**: Authlib has changed its open source license from AGPL to BSD.

RFC implementations and updates in this release:

- RFC7518: Added A128GCMKW, A192GCMKW, A256GCMKW algorithms for JWE.
- RFC5849: Removed draft-eaton-oauth-bodyhash-00 spec for OAuth 1.0.

Small changes and bug fixes in this release:

- Fixed missing scope on password and client_credentials grant types
of ``OAuth2Session`` via :gh:`issue#96`.
- Fixed Flask OAuth client cache detection via :gh:`issue#98`.
- Enabled ssl certificates for ``OAuth2Session`` via :gh:`PR#100`, thanks
to pingz.

Version 0.10: Kluke
-------------------

@@ -1,45 +1,45 @@
Authlib Licenses
================

Authlib offers two licenses, one is APGLv3+ for open source projects, one is
Authlib offers two licenses, one is BSD for open source projects, one is
a commercial license for closed source projects.

Open Source License
-------------------

Copyright (C) 2017 Hsiaoming Yang
Copyright (c) 2019, Hsiaoming Yang

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
All rights reserved.

This program 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 Affero General Public License for more details.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

Commercial License
------------------
* 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.

The content of the commercial license can be found in the repository in a file
named **COMMERCIAL-LICENSE**. You can buy a license at:
* Neither the name of the creator nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.

https://authlib.org/plans
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.

Discuss on License
Commercial License
------------------

There is a discuss on the license issue. I personally don't think AGPL is a
good license for Authlib either. If you have a better understanding of licenses
issues, you can offer your suggestions at:

https://github.com/lepture/authlib/issues/59
The content of the commercial license can be found in the repository in a file
named **COMMERCIAL-LICENSE**. You can get a commercial license at:

.. note::
Authlib will be separated into 3 modules in the future. The client part
will be licensed under BSD, the server part will remain AGPL (or BSD with
Common Clause).
https://authlib.org/plans
@@ -28,7 +28,7 @@ supporter, a backer or a company sponsor.
Commercial License
------------------

Authlib is licensed under AGPLv3+, if this license doesn't fit your company,
Authlib is licensed under BSD, if this license doesn't fit your company,
consider to purchase a commercial license.

Find more information on
@@ -29,7 +29,7 @@
include_package_data=True,
platforms='any',
long_description=readme,
license='GNU AGPLv3+',
license='BSD',
install_requires=client_requires + crypto_requires,
project_urls={
'Documentation': 'https://docs.authib.org/',
@@ -45,7 +45,7 @@
'Framework :: Flask',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',

0 comments on commit 0561385

Please sign in to comment.