Amend OpenVPN license to allow continued mbed TLS support (allow mbed TLS 3.x linking)
Hey,
This is the first round and will be only to the openvpn-devel list. After that I will also write to individuals email addresses but I want to start with sending this to the devel list.
We are writing to you since you are or were a contributor in past to OpenVPN and we would like to ask for your permission to amend the license of OpenVPN.
OpenVPN 2.x is licensed under the GPL v2. This license has served us well in the past and we are not trying to change that. However, changes in licenses of our dependencies make this change necessary.
Both mbed TLS and OpenSSL nowadays use the Apache 2.x license. For the OpenSSL library we have a special exception that allows us linking with it. For newer mbed TLS version, we cannot do this any more. Compatibility of Apache 2.x and GPL 2.x has to our knowledge never been tested in court and even FSF and ASF disagree about the issue (https://www.apache.org/licenses/GPL-compatibility.html)
We would like to be able to continue to build/ship OpenVPN with mbed TLS. We want all contributors to ask if they agree to license change that adds explicit permission to link with Apache 2 licensed libraries:
Special exception for linking OpenVPN with Apache 2 licensed libraries:
In addition, as a special exception, OpenVPN Inc and contributors give permission to link the code of this program to libraries with the "APACHE LICENSE, VERSION 2.0", and distribute linked combination including the two. You must obey the GNU General Public License in all respects for all of the code used other than these libraries. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
You might wonder why we are going for a generic Apache 2 exception rather than one targeted at mbed TLS specifically. We believe that a generic exemption is better since it also implicitly allows forks of mbed TLS and even if a SSL library might emerge in the future we do not have to discuss if it is a fork or not. Also granting an explicit exception for Apache 2 style licenses reaffirms the linking to OpenSSL.
We also considered going for a change from GPL2 to GPL2+ but we think that GPL3 would hurt the ability to distribute OpenVPN as part of router or other embedded devices as the GPL3 has been explicitly developed (at least in part) to make this use case harder/impossible (https://en.wikipedia.org/wiki/Tivoization)
If you are okay with this, please reply to this mail and confirm that. Otherwise we might be forced to remove and/or rewrite your code.
As a reminder, the The current OpenSSL exception reads as follows (COPYING). We don't intend to change or remote it:
Special exception for linking OpenVPN with OpenSSL:
In addition, as a special exception, OpenVPN Inc gives permission to link the code of this program with the OpenSSL library (or with modified versions of OpenSSL that use the same license as OpenSSL), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
Am 14.01.23 um 18:29 schrieb Arne Schwabe:
Quoted 5 lines
We also considered going for a change from GPL2 to GPL2+ but we think that GPL3 would hurt the ability to distribute OpenVPN as part of router or other embedded devices as the GPL3 has been explicitly developed (at least in part) to make this use case harder/impossible
(https://en.wikipedia.org/wiki/Tivoization)
Arne,
Am I reading this right, that you EXPRESSLY WANT TO stick to GPLv2-only IN ORDER TO PERMIT router and other embedded device vendors to DEFEAT THE SPIRIT OF COPYLEFT LICENSING and distribute devices containing OpenVPN that prevent execution of modified code?
Please clarify how and why.
Cheers,
Matthias
Am 14.01.2023 um 19:35 schrieb Matthias Andree:
Quoted 7 lines
Am 14.01.23 um 18:29 schrieb Arne Schwabe:
Quoted 5 lines
We also considered going for a change from GPL2 to GPL2+ but we think that GPL3 would hurt the ability to distribute OpenVPN as part of router or other embedded devices as the GPL3 has been explicitly developed (at least in part) to make this use case harder/impossible
(https://en.wikipedia.org/wiki/Tivoization)
Quoted 8 lines
Arne,
Am I reading this right, that you EXPRESSLY WANT TO stick to GPLv2-only IN ORDER TO PERMIT router and other embedded device vendors to DEFEAT THE SPIRIT OF COPYLEFT LICENSING and distribute devices containing OpenVPN that prevent execution of modified code?
Please clarify how and why.
I am saying that going GPL3 instead of going GPL2+Apache exclusion would no longer allow OpenVPN to be shipped with routers. Also the change from GPL2 only to GPL2 and above would much larger than the currently proposed change that is as minimal as possible.
Arne
Am 14.01.23 um 19:44 schrieb Arne Schwabe:
Quoted 16 lines
Am 14.01.2023 um 19:35 schrieb Matthias Andree:
Quoted 14 lines
Am 14.01.23 um 18:29 schrieb Arne Schwabe:
Quoted 5 lines
We also considered going for a change from GPL2 to GPL2+ but we think that GPL3 would hurt the ability to distribute OpenVPN as part of router or other embedded devices as the GPL3 has been explicitly developed (at least in part) to make this use case harder/impossible
(https://en.wikipedia.org/wiki/Tivoization)Arne,
Am I reading this right, that you EXPRESSLY WANT TO stick to GPLv2-only IN ORDER TO PERMIT router and other embedded device vendors to DEFEAT THE SPIRIT OF COPYLEFT LICENSING and distribute devices containing OpenVPN that prevent execution of modified code?
Quoted 6 lines
Quoted 1 line
Please clarify how and why.
I am saying that going GPL3 instead of going GPL2+Apache exclusion would no longer allow OpenVPN to be shipped with routers. Also the change from GPL2 only to GPL2 and above would much larger than the currently proposed change that is as minimal as possible.
How is that, specifically (clause numbers), that GPLv3 licensing would prevent shipping OpenVPN on routers?
Thanks,
Matthias
Quoted 10 lines · Arne Schwabe
Hey,
This is the first round and will be only to the openvpn-devel list. After that I will also write to individuals email addresses but I want to start with sending this to the devel list.
We are writing to you since you are or were a contributor in past to OpenVPN and we would like to ask for your permission to amend the license of OpenVPN.
Quoted 8 lines
OpenVPN 2.x is licensed under the GPL v2. This license has served us well in the past and we are not trying to change that. However, changes in licenses of our dependencies make this change necessary.
Both mbed TLS and OpenSSL nowadays use the Apache 2.x license. For the OpenSSL library we have a special exception that allows us linking with it. For newer mbed TLS version, we cannot do this any more.
I think there's been a misunderstanding here: there's no barrier to *linking* any GPLv2 licensed program with a system library whatever the library licence is. This dates back to the earliest days of the GNU project when the initial design was for all the GNU tools to be built and run on proprietary UNIX system regardless of system library licence (which was always proprietary), and is specifically what the GPL system library exception was designed to cover.
Quoted 3 lines
Compatibility of Apache 2.x and GPL 2.x has to our knowledge never been tested in court and even FSF and ASF disagree about the issue
(https://www.apache.org/licenses/GPL-compatibility.html)
That's talking about compatibility when cutting and pasting code or including source files from an Apache licensed project into a GPLv2 licensed project, it definitely isn't talking about linking them together.
If you or anyone else needs an Open Source counsel to give advice to the OpenVPN project about these differences and the standard practice today, I can arrange for that to happen.
James
Am 14.01.2023 um 20:57 schrieb James Bottomley:
Quoted 15 lines · Arne Schwabe
Quoted 14 lines
Hey,
This is the first round and will be only to the openvpn-devel list. After that I will also write to individuals email addresses but I want to start with sending this to the devel list.
We are writing to you since you are or were a contributor in past to OpenVPN and we would like to ask for your permission to amend the license of OpenVPN.
OpenVPN 2.x is licensed under the GPL v2. This license has served us well in the past and we are not trying to change that. However, changes in licenses of our dependencies make this change necessary.
Quoted 7 lines
Quoted 4 lines
Both mbed TLS and OpenSSL nowadays use the Apache 2.x license. For the OpenSSL library we have a special exception that allows us linking with it. For newer mbed TLS version, we cannot do this any more.
I think there's been a misunderstanding here: there's no barrier to *linking* any GPLv2 licensed program with a system library whatever the library licence is.
mbed TLS is not a system library. Also for platforms like Android, Windows and macOS we are shipping OpenSSL and mbed TLS ourselves since they are NOT provided by the system.
Quoted 9 lines
This dates back to the earliest days of the GNU
project when the initial design was for all the GNU tools to be built and run on proprietary UNIX system regardless of system library licence (which was always proprietary), and is specifically what the GPL system library exception was designed to cover.Quoted 3 lines
Compatibility of Apache 2.x and GPL 2.x has to our knowledge never been tested in court and even FSF and ASF disagree about the issue
(https://www.apache.org/licenses/GPL-compatibility.html)
Quoted 8 lines
That's talking about compatibility when cutting and pasting code or including source files from an Apache licensed project into a GPLv2 licensed project, it definitely isn't talking about linking them together.
If you or anyone else needs an Open Source counsel to give advice to the OpenVPN project about these differences and the standard practice today, I can arrange for that to happen.
That what you saying it contrary to what I have seen. Can you give a source that states that combining GPL2 and Apache2 into one binary and shipping that is legal?
Arne
Quoted 21 lines · Arne Schwabe
Am 14.01.2023 um 20:57 schrieb James Bottomley:
Quoted 20 lines · Arne Schwabe
Quoted 19 lines
Hey,
This is the first round and will be only to the openvpn-devel list. After that I will also write to individuals email addresses but I want to start with sending this to the devel list.
We are writing to you since you are or were a contributor in past to OpenVPN and we would like to ask for your permission to amend the license of OpenVPN.
OpenVPN 2.x is licensed under the GPL v2. This license has served us well in the past and we are not trying to change that. However, changes in licenses of our dependencies make this change necessary.
Both mbed TLS and OpenSSL nowadays use the Apache 2.x license. For the OpenSSL library we have a special exception that allows us linking with it. For newer mbed TLS version, we cannot do this any more.
Quoted 6 lines
Quoted 4 lines
I think there's been a misunderstanding here: there's no barrier to *linking* any GPLv2 licensed program with a system library whatever the library licence is.mbed TLS is not a system library.
Of course it is; it's designed to be a lightweight substitute for openssl in certain small footprint situations and it's shipped pretty much by every Linux distribution that wants to play in embedded.
Quoted 3 lines
Also for platforms like Android, Windows and macOS we are shipping
OpenSSL and mbed TLS ourselves since they are NOT provided by the system.
Would I be correct in assuming that the "we" here isn't the openvpn project and is, in fact, some corporation that wants legal cover for its business model?
So I think the actual issue is, to take the Android example, that Android has a native system crypto library (openssl on early android and boringssl on later) but you want to use a different system library
that's not part of the standard distribution. If you're using
something that is a system library on another distributions and it's only substituting for functionality that would be provided by the native system library, It's obviously a greyer legal area but I'd say you're still covered by the system library exception.
Quoted 15 lines
Quoted 15 lines
This dates back to the earliest days of the GNU project when the initial design was for all the GNU tools to be built and run on proprietary UNIX system regardless of system library licence (which was always proprietary), and is specifically what the GPL system library exception was designed to cover.
Quoted 3 lines
Compatibility of Apache 2.x and GPL 2.x has to our knowledge never been tested in court and even FSF and ASF disagree about the issue(https://www.apache.org/licenses/GPL-compatibility.html)
That's talking about compatibility when cutting and pasting code or including source files from an Apache licensed project into a GPLv2 licensed project, it definitely isn't talking about linking them together.
Quoted 3 lines
Quoted 3 lines
If you or anyone else needs an Open Source counsel to give advice to the OpenVPN project about these differences and the standard practice today, I can arrange for that to happen.
OK, so I obviously can't arrange this pro-bono for a for-profit entity, but I can recommend some great open source legal people who may be prepared to consult.
Quoted 3 lines
That what you saying it contrary to what I have seen. Can you give a source that states that combining GPL2 and Apache2 into one binary and shipping that is legal?
What do you mean "a source"? every apache licensed library that's statically linked with a GPLv2 program would be an example of this ... in the early days there was no dynamic linking, so all the early GNU tools were statically linked with wodges of proprietary binary gunk.
Even if, for the sake of argument, I assume that what you're doing isn't covered by the system library exception, then what you're proposing doesn't fix your problem. Your problem becomes section 2 of the GPLv2: you must distribute the whole thing under GPLv2. No amount of permissions to link can get you out of this if, as you're assuming, Apache-2 and GPLv2 are incompatible because you're still required to ship an Apache-2 piece (mbedtld) under GPLv2. You would have to frame your additional license permission as an exception to the section 2 requirement to distribute the whole under GPLv2.
James
Quoted 7 lines
Quoted 3 lines
Also for platforms like Android, Windows and macOS we are shipping
OpenSSL and mbed TLS ourselves since they are NOT provided by the system.Would I be correct in assuming that the "we" here isn't the openvpn project and is, in fact, some corporation that wants legal cover for its business model?
OpenVPN project ships the Windows GUI. I personally build/ship the OpenVPN for Android open source app. The commercial OpenVPN inc offerings are actually not affected since they use a C++ reimplementation of OpenVPN. There are also other companies that use OpenVPN in commercial products that benefit from a clarified license.
Quoted 8 lines
So I think the actual issue is, to take the Android example, that Android has a native system crypto library (openssl on early android and boringssl on later) but you want to use a different system library
that's not part of the standard distribution. If you're using
something that is a system library on another distributions and it's only substituting for functionality that would be provided by the native system library, It's obviously a greyer legal area but I'd say you're still covered by the system library exception.
I do not think we are covered by the system library exception and even if it is a grey area, it would be good to make this a non-gray area by modifying our license to explicitly allow it.
isn't talking about linking them
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
together.
If you or anyone else needs an Open Source counsel to give advice to the OpenVPN project about these differences and the standard practice today, I can arrange for that to happen.
OK, so I obviously can't arrange this pro-bono for a for-profit entity, but I can recommend some great open source legal people who may be prepared to consult.
What you are presenting here is completely different than what I (and others) have been told in this matter. So while I am not adverse to getting another opinion I am a bit hesitant to do so since far other legal advice had been pretty consistent.
Quoted 6 lines
Quoted 3 lines
That what you saying it contrary to what I have seen. Can you give a source that states that combining GPL2 and Apache2 into one binary and shipping that is legal?
What do you mean "a source"? every apache licensed library that's statically linked with a GPLv2 program would be an example of this ...
Yes and to my understanding doing this violates the licenses. Just because people are not checking license compatibility and doing this does not mean that this does not violate the licenses.
Quoted 2 lines
in the early days there was no dynamic linking, so all the early GNU tools were statically linked with wodges of proprietary binary gunk.
Yes. But these were libraries shipped with the system. In contrast here we are shipping OpenSSL/mbed TLS ourselves.
Quoted 9 lines
Even if, for the sake of argument, I assume that what you're doing isn't covered by the system library exception, then what you're proposing doesn't fix your problem. Your problem becomes section 2 of the GPLv2: you must distribute the whole thing under GPLv2. No amount of permissions to link can get you out of this if, as you're assuming, Apache-2 and GPLv2 are incompatible because you're still required to ship an Apache-2 piece (mbedtld) under GPLv2. You would have to frame your additional license permission as an exception to the section 2 requirement to distribute the whole under GPLv2
I am confused here. The proposed paragraph is phrased that it is a special exception that allows doing this. The paragraph explicitly states that we allow as a special exception to distribute the binaries containing the Apache2 library and the OpenVPN code. This uses the same wording as the existing OpenSSL exception.
We can probably change the wording to something different but even the FAQ of the GNU project that uses different wording does not explicitly mention the section of the GPLv2 (from https://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs):
In addition, as a special exception, the copyright holders of [name of your program] give you permission to combine [name of your program] with free software programs or libraries that are released under the GNU LGPL and with code included in the standard release of [name of library] under the [name of library's license] (or modified versions of such code, with unchanged license). You may copy and distribute such a system following the terms of the GNU GPL for [name of your program] and the licenses of the other code concerned.
While the text of the FSF is different and includes some LGPL wording it is similar to our texts and while the details are different, I don't see anything fundamentally different in their version from ours.
Arne
Am 14.01.23 um 18:29 schrieb Arne Schwabe:
Quoted 45 lines
Hey,
This is the first round and will be only to the openvpn-devel list. After that I will also write to individuals email addresses but I want to start with sending this to the devel list.
We are writing to you since you are or were a contributor in past to OpenVPN and we would like to ask for your permission to amend the license of OpenVPN.
OpenVPN 2.x is licensed under the GPL v2. This license has served us well in the past and we are not trying to change that. However, changes in licenses of our dependencies make this change necessary.
Both mbed TLS and OpenSSL nowadays use the Apache 2.x license. For the OpenSSL library we have a special exception that allows us linking with it. For newer mbed TLS version, we cannot do this any more. Compatibility of Apache 2.x and GPL 2.x has to our knowledge never been tested in court and even FSF and ASF disagree about the issue
(https://www.apache.org/licenses/GPL-compatibility.html)We would like to be able to continue to build/ship OpenVPN with mbed TLS. We want all contributors to ask if they agree to license change that adds explicit permission to link with Apache 2 licensed libraries:
Special exception for linking OpenVPN with Apache 2 licensed libraries:
In addition, as a special exception, OpenVPN Inc and contributors give permission to link the code of this program to libraries with the "APACHE LICENSE, VERSION 2.0", and distribute linked combination including the two. You must obey the GNU General Public License in all respects for all of the code used other than these libraries. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
You might wonder why we are going for a generic Apache 2 exception rather than one targeted at mbed TLS specifically. We believe that a generic exemption is better since it also implicitly allows forks of mbed TLS and even if a SSL library might emerge in the future we do not have to discuss if it is a fork or not. Also granting an explicit exception for Apache 2 style licenses reaffirms the linking to OpenSSL.
Quoted 8 lines
We also considered going for a change from GPL2 to GPL2+ but we think that GPL3 would hurt the ability to distribute OpenVPN as part of router or other embedded devices as the GPL3 has been explicitly developed (at least in part) to make this use case harder/impossible
(https://en.wikipedia.org/wiki/Tivoization)If you are okay with this, please reply to this mail and confirm that. Otherwise we might be forced to remove and/or rewrite your code.
The GPL, in its spirit, was developed to empower users, not businesses.
So, after pondering for many hours about planned obsolescence, vendor respect for the community, and in the light that commercial needs for embedded uses can license the C++ reimplementation from OpenVPN Inc.:
Please reconsider amending towards "GPL2+" or "GPL3+" instead of weakening the copyleft.
Quoted 11 lines
Quoted 2 lines
If you are okay with this, please reply to this mail and confirm that. Otherwise we might be forced to remove and/or rewrite your code.
The GPL, in its spirit, was developed to empower users, not businesses.
So, after pondering for many hours about planned obsolescence, vendor respect for the community, and in the light that commercial needs for embedded uses can license the C++ reimplementation from OpenVPN Inc.:
Please reconsider amending towards "GPL2+" or "GPL3+" instead of weakening the copyleft.
OpenVPN Inc does not license the C++ implementation under anything else than AGPL3. And we are not actually weaking the copyleft of the GPLv2 here. The problem is that the Apache2 already has some terms that the GPLv3 also has but the GPLv2 has not, so that makes it incompatible in letter but not in spirit.
Arne
Hi,
Quoted 4 lines · James Bottomley
What do you mean "a source"? every apache licensed library that's statically linked with a GPLv2 program would be an example of this ... in the early days there was no dynamic linking, so all the early GNU tools were statically linked with wodges of proprietary binary gunk.
These "early day" precede the creation of the Apache license or GPLv2 by many years.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...I am fine with dropping MBED TLS for good
Quoted 77 lines · Arne Schwabe
Hey,
This is the first round and will be only to the openvpn-devel list. After that I will also write to individuals email addresses but I want to start with sending this to the devel list.
We are writing to you since you are or were a contributor in past to OpenVPN and we would like to ask for your permission to amend the license of OpenVPN.
OpenVPN 2.x is licensed under the GPL v2. This license has served us well in the past and we are not trying to change that. However, changes in licenses of our dependencies make this change necessary.
Both mbed TLS and OpenSSL nowadays use the Apache 2.x license. For the OpenSSL library we have a special exception that allows us linking with it. For newer mbed TLS version, we cannot do this any more. Compatibility of Apache 2.x and GPL 2.x has to our knowledge never been tested in court and even FSF and ASF disagree about the issue
(https://www.apache.org/licenses/GPL-compatibility.html)We would like to be able to continue to build/ship OpenVPN with mbed TLS. We want all contributors to ask if they agree to license change that adds explicit permission to link with Apache 2 licensed libraries:
Special exception for linking OpenVPN with Apache 2 licensed libraries:
In addition, as a special exception, OpenVPN Inc and contributors give permission to link the code of this program to libraries with the "APACHE LICENSE, VERSION 2.0", and distribute linked combination including the two. You must obey the GNU General Public License in all respects for all of the code used other than these libraries. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
You might wonder why we are going for a generic Apache 2 exception rather than one targeted at mbed TLS specifically. We believe that a generic exemption is better since it also implicitly allows forks of mbed TLS and even if a SSL library might emerge in the future we do not have to discuss if it is a fork or not. Also granting an explicit exception for Apache 2 style licenses reaffirms the linking to OpenSSL.
We also considered going for a change from GPL2 to GPL2+ but we think that GPL3 would hurt the ability to distribute OpenVPN as part of router or other embedded devices as the GPL3 has been explicitly developed (at least in part) to make this use case harder/impossible
(https://en.wikipedia.org/wiki/Tivoization)If you are okay with this, please reply to this mail and confirm that. Otherwise we might be forced to remove and/or rewrite your code.
As a reminder, the The current OpenSSL exception reads as follows (COPYING). We don't intend to change or remote it:
Special exception for linking OpenVPN with OpenSSL:
In addition, as a special exception, OpenVPN Inc gives permission to link the code of this program with the OpenSSL library (or with modified versions of OpenSSL that use the same license as OpenSSL), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Am 15.01.23 um 13:21 schrieb Илья Шипицин:
Quoted 2 lines
I am fine with dropping MBED TLS for good
Please read the full mail. This also affects OpenSSL. We would like to reaffirm that contributors are still okay linking with OpenSSL even after OpenSSL changed its license to Apache2.
Arne
Hi,
Quoted 1 line · ???????? ??????????????
I am fine with dropping MBED TLS for good
This is not the question asked.
For the record: I am fine with the proposed change of license.
(I think this is all a tremendous waste of time, but since sufficient number of licensing lawyers say "linking GPL2 with something that has additional restrictions and shipping the result is not legal" *and* mbedTLS can not be considered a system library anywhere, as in "it will be always there if you install that system" - like a libc - it's either this or drop mbedTLS support)
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...subject says "allow mbed TLS 3.x linking".
is OpenSSL currently restrictive as well ?
вс, 15 янв. 2023 г. в 18:24, Arne Schwabe <[email protected]...>:
Quoted 11 lines
Am 15.01.23 um 13:21 schrieb Илья Шипицин:
Quoted 2 lines
I am fine with dropping MBED TLS for good
Please read the full mail. This also affects OpenSSL. We would like to reaffirm that contributors are still okay linking with OpenSSL even after OpenSSL changed its license to Apache2.
Arne
Hi,
Quoted 2 lines · ???????? ??????????????
subject says "allow mbed TLS 3.x linking".
is OpenSSL currently restrictive as well ?
OpenSSL has always been restrictive, which is why our license has always had a permit-linking-to-OpenSSL exception.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Am 15.01.23 um 13:52 schrieb Илья Шипицин:
Quoted 3 lines
subject says "allow mbed TLS 3.x linking".
is OpenSSL currently restrictive as well ?
Yes that is what the subject says but OpenSSL 3 also uses Apache 2.
In laymen terms, the Apache 2 license contains additional protections for users using the source code that GPLv2 does not. While these additional protection are in the spirit of the GPL (the GPL3 includes the same protections), they are not in the letter of GPL2 and GPL2 does not allow additional restriction (like these protections).
So it would be nice if you could just agree to allow the special exception, so we can continue using mbed TLS and OpenSSL with OpenVPN.
Arne
Am 15.01.23 um 12:44 schrieb Gert Doering:
Quoted 9 lines
Hi,
Quoted 4 lines · James Bottomley
What do you mean "a source"? every apache licensed library that's statically linked with a GPLv2 program would be an example of this ... in the early days there was no dynamic linking, so all the early GNU tools were statically linked with wodges of proprietary binary gunk.
These "early day" precede the creation of the Apache license or GPLv2 by many years.
Certainly not the GPLv2 (1991). GPLv3 (2007) maybe. This seems to be the oldest converted to Git and reachable from the 2.5 and 2.6 carrying branches:
* 6fbf66fa 2005-09-26 | This is the start of the BETA21 branch. It includes the --topology feature, and TAP-Win32 driver changes to allow non-admin access. [james]
I'd added OpenVPN 1.2.1 to FreeBSD in Mid 2002:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=39750
вс, 15 янв. 2023 г. в 19:09, Arne Schwabe <[email protected]...>:
Quoted 7 lines
Am 15.01.23 um 13:52 schrieb Илья Шипицин:
Quoted 3 lines
subject says "allow mbed TLS 3.x linking".
is OpenSSL currently restrictive as well ?Yes that is what the subject says but OpenSSL 3 also uses Apache 2.
Quoted 9 lines
In laymen terms, the Apache 2 license contains additional protections for users using the source code that GPLv2 does not. While these additional protection are in the spirit of the GPL (the GPL3 includes the same protections), they are not in the letter of GPL2 and GPL2 does not allow additional restriction (like these protections).
So it would be nice if you could just agree to allow the special exception, so we can continue using mbed TLS and OpenSSL with OpenVPN.
I agree with moving toward Apache license (or some kind of exception), also I'm fine with dropping mbed TLS for good.
Quoted 3 lines
Arne
Am 15.01.23 um 14:10 schrieb Matthias Andree:
Quoted 8 lines
Am 15.01.23 um 12:44 schrieb Gert Doering:
Quoted 7 lines
Hi,
Quoted 4 lines · James Bottomley
What do you mean "a source"? every apache licensed library that's statically linked with a GPLv2 program would be an example of this ... in the early days there was no dynamic linking, so all the early GNU tools were statically linked with wodges of proprietary binary gunk.
Quoted 6 lines
Quoted 2 lines
These "early day" precede the creation of the Apache license or GPLv2 by many years.
Certainly not the GPLv2 (1991). GPLv3 (2007) maybe. This seems to be the oldest converted to Git and reachable from the 2.5 and 2.6 carrying branches:
I think Gert wanted to say that the days before dynamic libraries were not invented yet and every was linked statically was well before the GPL.
Arne
Hi,
We would like to be able to continue to build/ship OpenVPN with mbed
Quoted 6 lines
TLS. We want all contributors to ask if they agree to license change that adds explicit permission to link with Apache 2 licensed libraries:
Special exception for linking OpenVPN with Apache 2 licensed libraries:
Quoted 9 lines
In addition, as a special exception, OpenVPN Inc and contributors give permission to link the code of this program to libraries with the "APACHE LICENSE, VERSION 2.0", and distribute linked combination including the two. You must obey the GNU General Public License in all respects for all of the code used other than these libraries. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
Instead of this exemption I would vote for a change to 'GPL v2 or any later version'.
That would keep the license in the spirit by which people like me contributed.
Using an existing license that has already been vetted also avoids the need for legal counsel.
I do not understand the argument about 'GPLv2 and later...' and embedded devices. Those who
are currently embedding based on GPL v2 can continue to do so, those who want/need v3
can do so too. Those who need v3 but also want to lock the firmware on a consumer device
may be affected. But that's a choice they make, why would we want to promote that?
Some may find this discussion a waste of time but let's not belittle people's contributions.
I do care about how my work is licensed.
Selva
Quoted 14 lines · Arne Schwabe
Am 15.01.23 um 14:10 schrieb Matthias Andree:
Quoted 13 lines
Am 15.01.23 um 12:44 schrieb Gert Doering:
Quoted 11 lines
Hi,
Quoted 5 lines · James Bottomley
What do you mean "a source"? every apache licensed library that's statically linked with a GPLv2 program would be an example of this ... in the early days there was no dynamic linking, so all the early GNU tools were statically linked with wodges of proprietary binary gunk.
These "early day" precede the creation of the Apache license or GPLv2 by many years.
Quoted 7 lines
Quoted 3 lines
Certainly not the GPLv2 (1991). GPLv3 (2007) maybe. This seems to be the oldest converted to Git and reachable from the 2.5 and 2.6 carrying branches:
I think Gert wanted to say that the days before dynamic libraries were not invented yet and every was linked statically was well before the GPL.
The GNU project began in 1982. Static libraries for SYS-V were initially proposed around 1986 and didn't become widespread until the 90s.
James
Quoted 11 lines · Arne Schwabe
Quoted 10 lines
Even if, for the sake of argument, I assume that what you're doing isn't covered by the system library exception, then what you're proposing doesn't fix your problem. Your problem becomes section 2 of the GPLv2: you must distribute the whole thing under GPLv2. No amount of permissions to link can get you out of this if, as you're assuming, Apache-2 and GPLv2 are incompatible because you're still required to ship an Apache-2 piece (mbedtld) under GPLv2. You would have to frame your additional license permission as an exception to the section 2 requirement to distribute the whole under GPLv2
Quoted 5 lines
I am confused here. The proposed paragraph is phrased that it is a special exception that allows doing this. The paragraph explicitly states that we allow as a special exception to distribute the binaries containing the Apache2 library and the OpenVPN code. This uses the same wording as the existing OpenSSL exception.
If that's the source of this issue, then I think there's a misunderstanding about the problem the OpenSSL exception is addressing. The problem was that the OpenSSL licence required additional conditions be imposed on the binary as a whole, even though openssl itself was a system library.
https://spdx.org/licenses/OpenSSL.html
Specifically the advertising and redistribution clauses. The OpenSSL exception is to make GPLv2 compatible with the OpenSSL licence's additional restrictions, not the other way around. There is still a considerable body of opinion that thinks the system exception covers this case as well, but just in case, people added the OpenSSL compatibility exception to GPLv2.
The goal of changing OpenSSL to Apache-2 was to remove those additional restrictions and make the library behave like a normal linked library from a licensing point of view. The Apache-2 licence imposes no additional restrictions on the binary as a whole, which is why no exception is necessary. Specifically the patent retaliation and indemnity clauses which some people think cause the cut and paste incompatibility don't apply to the binary as a whole, only to the Apache2 pieces.
Mark McLouglin (Red Hat and Openstack) did an excellent analysis at the time the licence change was announced explaining the issues (unfortunately it seems to have gone from gnome but the wayback machine still has it):
https://web.archive.org/web/20220204042851/https://people.gnome.org/~markmc/openssl-and-the-gpl.html
James
Am 15.01.23 um 14:23 schrieb Selva Nair:
Quoted 28 lines
Hi,
We would like to be able to continue to build/ship OpenVPN with mbed TLS. We want all contributors to ask if they agree to license change that adds explicit permission to link with Apache 2 licensed libraries:
Special exception for linking OpenVPN with Apache 2 licensed libraries:
In addition, as a special exception, OpenVPN Inc and contributors give permission to link the code of this program to libraries
with the
"APACHE LICENSE, VERSION 2.0", and distribute linked combination including the two. You must obey the GNU General Public License in all respects for all of the code used other than these
libraries. If
you modify this file, you may extend this exception to your
version of
the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.Instead of this exemption I would vote for a change to 'GPL v2 or any later version'. That would keep the license in the spirit by which people like me contributed.
Using an existing license that has already been vetted also avoids the need for legal counsel.
Quoted 7 lines
I do not understand the argument about 'GPLv2 and later...' and embedded devices. Those who are currently embedding based on GPL v2 can continue to do so, those who want/need v3 can do so too. Those who need v3 but also want to lock the firmware on a consumer device may be affected. But that's a choice they make, why would we want to promote that?
Some may find this discussion a waste of time but let's not belittle people's contributions. I do care about how my work is licensed.
Okay. I think the embedded thing is a bit of a misunderstanding. I am not trying to promote that. What I wanted is to express why changing to GPLv3 might not be an option as some license holders of OpenVPN will not be okay with changing to GPL3 since they need that.
So the situation is basically, we need somehow to still be able to link Apache 2.0 licensed SSL libraries. While we have an exception for OpenSSL, some might argue that this only covers the old OpenSSL license.
So to go forward we either need to change OpenVPN 2.x to a license compatible with Apache 2.0 like GPL3 or adding an excerption for linking against Apache 2.0.
At the hackathon we discussed the options and there already voices against going GPL3 instead of GPL2 but everyone there was okay with staying with GPL2 and adding an exception.
This approach of taking the exception route instead of GPL3 is mostly a pragmatic approach to be able to have something that might have a chance of succeeding.
I (and probably also others) are also to other suggestions how to solve the problems. I don't know if a change to GPL2+ + exception for Apache2 might a be solution that is more agreeable by more people.
Overall this license situation is quite frustrating and I just looking for a solution to let OpenVPN continue to work in the future. I don't think anyone wants to have OpenVPN die on platforms like Windows and other platforms that do not include OpenSSL as system library. But the way forward seems very difficult.
Personally I don't think adding an exception to the Apache2 license violates the spirit of the GPL as it only allows "restrictions" of the Apache2 designed to protect users of its source code that the GPLv3 also includes. But from a license standpoint the GPLv2 does not allow these additional protection (E.g. the patent grant clause).
Arne
Quoted 16 lines
If that's the source of this issue, then I think there's a misunderstanding about the problem the OpenSSL exception is addressing. The problem was that the OpenSSL licence required additional conditions be imposed on the binary as a whole, even though openssl itself was a system library.
https://spdx.org/licenses/OpenSSL.html
Specifically the advertising and redistribution clauses. The OpenSSL exception is to make GPLv2 compatible with the OpenSSL licence's additional restrictions, not the other way around. There is still a considerable body of opinion that thinks the system exception covers this case as well, but just in case, people added the OpenSSL compatibility exception to GPLv2.
Quoted 8 lines
The goal of changing OpenSSL to Apache-2 was to remove those additional restrictions and make the library behave like a normal linked library from a licensing point of view. The Apache-2 licence imposes no additional restrictions on the binary as a whole, which is why no exception is necessary. Specifically the patent retaliation and indemnity clauses which some people think cause the cut and paste incompatibility don't apply to the binary as a whole, only to the Apache2 pieces.
Yes. That is my understanding as well. But I think where we have been told and see the problem different is that the GPL2 covers the whole binary and also the Apache2 licensed parts. And then the restrictions become a problem. So you are right in the sense that the Apache2 is just a normal library to link for most purposes, the GPL licenses are special in the way that they want to cover the whole source code/binary. Sometimes this feature of the GPL is called viral by opponents of the license.
Quoted 6 lines
Mark McLouglin (Red Hat and Openstack) did an excellent analysis at the time the licence change was announced explaining the issues (unfortunately it seems to have gone from gnome but the wayback machine still has it):
https://web.archive.org/web/20220204042851/https://people.gnome.org/~markmc/openssl-and-the-gpl.html
That is a nice analysis but I do not see any mention of a change in the situation for Apache2.
Arne
Hi,
Quoted 3 lines · Selva Nair
Some may find this discussion a waste of time but let's not belittle people's contributions.
I do care about how my work is licensed.
I find having to spend my time on "how can two *free software licenses* be made compatible" a colossal waste of time that could be spent on improving said software instead.
This does not imply that I do not care about your contributions, or want to belittle them. Sorry if I created the impression.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Hi,
Quoted 3 lines · James Bottomley
The GNU project began in 1982. Static libraries for SYS-V were initially proposed around 1986 and didn't become widespread until the 90s.
And exactly when was *the Apache license* published, or GPL *v2*?
This was the context, not "the GNU project".
Wikipedia says the GPLv2 was released in June 1991, and as you say, shared libraries already existed then.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Quoted 26 lines · Arne Schwabe
Quoted 16 lines
If that's the source of this issue, then I think there's a misunderstanding about the problem the OpenSSL exception is addressing. The problem was that the OpenSSL licence required additional conditions be imposed on the binary as a whole, even though openssl itself was a system library.
https://spdx.org/licenses/OpenSSL.html
Specifically the advertising and redistribution clauses. The OpenSSL exception is to make GPLv2 compatible with the OpenSSL licence's additional restrictions, not the other way around. There is still a considerable body of opinion that thinks the system exception covers this case as well, but just in case, people added the OpenSSL compatibility exception to GPLv2.
Quoted 8 lines
The goal of changing OpenSSL to Apache-2 was to remove those additional restrictions and make the library behave like a normal linked library from a licensing point of view. The Apache-2 licence imposes no additional restrictions on the binary as a whole, which is why no exception is necessary. Specifically the patent retaliation and indemnity clauses which some people think cause the cut and paste incompatibility don't apply to the binary as a whole, only to the Apache2 pieces.
Quoted 2 lines
Yes. That is my understanding as well. But I think where we have been told
Who told you? Because I'd like to tackle this misinformation at source before it spreads further than openvpn.
Quoted 2 lines
and see the problem different is that the GPL2 covers the whole
binary and also the Apache2 licensed parts.
It does under section 2 for any component that can't be classified as a system library, yes. But the system library exception is the way you avoid this for linking with most libraries.
Quoted 1 line
And then the restrictions become a problem.
Only if the library you're linking with isn't a system library, which I think we can all agree in not the case on every Linux distribution because they all ship both openssl and mbedtls as part of the distribution.
Quoted 5 lines
So you are right in the sense that the Apache2 is just
a normal library to link for most purposes, the GPL licenses are special in the way that they want to cover the whole source code/binary. Sometimes this feature of the GPL is called viral by opponents of the license.
Not for system libraries ... that's what the system library exception is all about.
James
Hi,
Quoted 6 lines · James Bottomley
Quoted 1 line
And then the restrictions become a problem.
Only if the library you're linking with isn't a system library, which I think we can all agree in not the case on every Linux distribution because they all ship both openssl and mbedtls as part of the distribution.
The open source world is a bit bigger than "Linux", and not all the other platforms supported by OpenVPN (none, to be precise) ship mbedTLS as part of their OS distribution. Some do not even ship OpenSSL.
ports/pkgsrc/... are very clearly "3rd party components", and not "part of the OS distribution". Gentoo ebuilds are something in between.
As much as we'd like to declare this a non-issue, pointing to the system library exception will not help us solve the problem.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Am 15.01.23 um 16:22 schrieb James Bottomley:
Quoted 33 lines · Arne Schwabe
Quoted 26 lines
Quoted 16 lines
If that's the source of this issue, then I think there's a misunderstanding about the problem the OpenSSL exception is addressing. The problem was that the OpenSSL licence required additional conditions be imposed on the binary as a whole, even though openssl itself was a system library.
https://spdx.org/licenses/OpenSSL.html
Specifically the advertising and redistribution clauses. The OpenSSL exception is to make GPLv2 compatible with the OpenSSL licence's additional restrictions, not the other way around. There is still a considerable body of opinion that thinks the system exception covers this case as well, but just in case, people added the OpenSSL compatibility exception to GPLv2.
Quoted 8 lines
The goal of changing OpenSSL to Apache-2 was to remove those additional restrictions and make the library behave like a normal linked library from a licensing point of view. The Apache-2 licence imposes no additional restrictions on the binary as a whole, which is why no exception is necessary. Specifically the patent retaliation and indemnity clauses which some people think cause the cut and paste incompatibility don't apply to the binary as a whole, only to the Apache2 pieces.
Quoted 2 lines
Yes. That is my understanding as well. But I think where we have been told
Who told you? Because I'd like to tackle this misinformation at source before it spreads further than openvpn.
Quoted 6 lines
Quoted 2 lines
and see the problem different is that the GPL2 covers the whole
binary and also the Apache2 licensed parts.It does under section 2 for any component that can't be classified as a system library, yes. But the system library exception is the way you avoid this for linking with most libraries.
So we have the same interpretation and just disagree if mbed TLS and OpenSSL can be seen as system library on non-Linux/non-BSD systems.
Quoted 7 lines
Quoted 1 line
And then the restrictions become a problem.
Only if the library you're linking with isn't a system library, which I think we can all agree in not the case on every Linux distribution because they all ship both openssl and mbedtls as part of the distribution.
Quoted 8 lines
Quoted 5 lines
So you are right in the sense that the Apache2 is just
a normal library to link for most purposes, the GPL licenses are special in the way that they want to cover the whole source code/binary. Sometimes this feature of the GPL is called viral by opponents of the license.Not for system libraries ... that's what the system library exception is all about.
Yes but neither mbed TLS nor OpenSSL is a system library on Windows or macOS. And even mbed TLS is sketchy as many distributions do not have in their base system. So just assume, at least for the sake of argument that they are not. In that case I think we need this exception. So I am asking if you are willing to allow this exception to the license even though you think it is unnecessary to make the people that think that it is needed happy?
Arne
just curious, is linking against LibreSSL allowed ? os x Tunnelblick is shipped with both LibreSSL and OpenSSL builds, but neither of them is "system" lib as far as I know.
вс, 15 янв. 2023 г. в 21:35, Arne Schwabe <[email protected]...>:
Quoted 78 lines
Am 15.01.23 um 16:22 schrieb James Bottomley:
Quoted 33 lines · Arne Schwabe
Quoted 26 lines
Quoted 16 lines
If that's the source of this issue, then I think there's a misunderstanding about the problem the OpenSSL exception is addressing. The problem was that the OpenSSL licence required additional conditions be imposed on the binary as a whole, even though openssl itself was a system library.
https://spdx.org/licenses/OpenSSL.html
Specifically the advertising and redistribution clauses. The OpenSSL exception is to make GPLv2 compatible with the OpenSSL licence's additional restrictions, not the other way around. There is still a considerable body of opinion that thinks the system exception covers this case as well, but just in case, people added the OpenSSL compatibility exception to GPLv2.
Quoted 8 lines
The goal of changing OpenSSL to Apache-2 was to remove those additional restrictions and make the library behave like a normal linked library from a licensing point of view. The Apache-2 licence imposes no additional restrictions on the binary as a whole, which is why no exception is necessary. Specifically the patent retaliation and indemnity clauses which some people think cause the cut and paste incompatibility don't apply to the binary as a whole, only to the Apache2 pieces.
Quoted 2 lines
Yes. That is my understanding as well. But I think where we have been told
Who told you? Because I'd like to tackle this misinformation at source before it spreads further than openvpn.
Quoted 6 lines
Quoted 2 lines
and see the problem different is that the GPL2 covers the whole
binary and also the Apache2 licensed parts.It does under section 2 for any component that can't be classified as a system library, yes. But the system library exception is the way you avoid this for linking with most libraries.
So we have the same interpretation and just disagree if mbed TLS and OpenSSL can be seen as system library on non-Linux/non-BSD systems.
Quoted 7 lines
Quoted 1 line
And then the restrictions become a problem.
Only if the library you're linking with isn't a system library, which I think we can all agree in not the case on every Linux distribution because they all ship both openssl and mbedtls as part of the distribution.
Quoted 8 lines
Quoted 5 lines
So you are right in the sense that the Apache2 is just
a normal library to link for most purposes, the GPL licenses are special in the way that they want to cover the whole source code/binary. Sometimes this feature of the GPL is called viral by opponents of the license.Not for system libraries ... that's what the system library exception is all about.
Yes but neither mbed TLS nor OpenSSL is a system library on Windows or macOS. And even mbed TLS is sketchy as many distributions do not have in their base system. So just assume, at least for the sake of argument that they are not. In that case I think we need this exception. So I am asking if you are willing to allow this exception to the license even though you think it is unnecessary to make the people that think that it is needed happy?
Arne
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Am 15.01.23 um 17:07 schrieb Илья Шипицин:
Quoted 1 line
just curious, is linking against LibreSSL allowed ? os x Tunnelblick is shipped with both LibreSSL and OpenSSL builds, but neither of them is "system" lib as far as I know.
LibreSSL counts as modification of OpenSSL.
Arne
that means
1) distributing openssl dll for windows installer is illegal
2) distributing openssl/libressl with tunnelblick is illegal
?
вс, 15 янв. 2023 г. в 22:09, Arne Schwabe <[email protected]...>:
Quoted 10 lines
Am 15.01.23 um 17:07 schrieb Илья Шипицин:
Quoted 3 lines
just curious, is linking against LibreSSL allowed ? os x Tunnelblick is shipped with both LibreSSL and OpenSSL builds, but neither of them is "system" lib as far as I know.
LibreSSL counts as modification of OpenSSL.
Arne
Am 15.01.23 um 17:12 schrieb Илья Шипицин:
Quoted 5 lines
that means
1) distributing openssl dll for windows installer is illegal
2) distributing openssl/libressl with tunnelblick is illegal
It means the exception for OpenSSL applies to it and it is on very solid ground (at least with OpenSSL up to 1.1.1). It should be also safe with OpenSSL 3.0 but interpretation of the clause is not 100% clear with OpenSSL's license change, so we want to reaffirm that.
Arne
Quoted 2 lines · Arne Schwabe
Am 15.01.23 um 16:22 schrieb James Bottomley:
Quoted 1 line · Arne Schwabe
[...]
Quoted 9 lines
Quoted 8 lines
Quoted 5 lines
So you are right in the sense that the Apache2 is just a normal library to link for most purposes, the GPL licenses are special in the way that they want to cover the whole source code/binary. Sometimes this feature of the GPL is called viral by opponents of the license.
Not for system libraries ... that's what the system library exception is all about.
Quoted 7 lines
Yes but neither mbed TLS nor OpenSSL is a system library on Windows or macOS. And even mbed TLS is sketchy as many distributions do not have in their base system. So just assume, at least for the sake of argument that they are not. In that case I think we need this exception. So I am asking if you are willing to allow this exception to the license even though you think it is unnecessary to make the people that think that it is needed happy?
In that case your proposed exception doesn't work. You've modelled it on the OpenSSL exception which was designed to cover the use case where OpenSSL *is* a system library (thus covered by the system library exception) but imposes incompatible additional restrictions on whole binary, specifically the GPLv2 pieces.
To make this work assuming the crypto library isn't a system one, you need an exception to the section 2 requirement to ship the whole under GPLv2 ... or a simple declaration that you think openssl and mbedtls are system libraries for the purposes of OpenVPN, so the system library exception applies to them regardless of how they are shipped.
James
HI,
Quoted 2 lines · ???????? ??????????????
1) distributing openssl dll for windows installer is illegal
2) distributing openssl/libressl with tunnelblick is illegal
Neither, because we do have an exception for OpenSSL.
But distributing with mbedTLS is what we have been told is problematic.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Quoted 7 lines · Gert Doering
Hi,
Quoted 3 lines · James Bottomley
The GNU project began in 1982. Static libraries for SYS-V were initially proposed around 1986 and didn't become widespread until the 90s.
Quoted 6 lines
And exactly when was *the Apache license* published, or GPL *v2*?
This was the context, not "the GNU project".
Wikipedia says the GPLv2 was released in June 1991, and as you say, shared libraries already existed then.
No, I'm saying two things
1. The GNU project began before shared libraries were a thing, so the system library exception was specifically designed to allow shipping of GNU tools along with huge statically linked blobs of proprietary or otherwise differently licensed code under a non- GPL licence.
2. The advent of Apache-2 didn't change the analysis in 1.
James
вс, 15 янв. 2023 г. в 22:29, Gert Doering <[email protected]...>:
Quoted 8 lines
HI,
Quoted 2 lines · ???????? ??????????????
1) distributing openssl dll for windows installer is illegal
2) distributing openssl/libressl with tunnelblick is illegalNeither, because we do have an exception for OpenSSL.
that expection is for "system" openssl variant only, not for 3rd parties openssl ?
Quoted 15 lines
But distributing with mbedTLS is what we have been told is problematic.
gert
--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never
doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh
MistressGert Doering - Munich, Germany
[email protected]...
Quoted 15 lines
Quoted 8 lines
Yes but neither mbed TLS nor OpenSSL is a system library on Windows or macOS. And even mbed TLS is sketchy as many distributions do not have in their base system. So just assume, at least for the sake of argument that they are not. In that case I think we need this exception. So I am asking if you are willing to allow this exception to the license even though you think it is unnecessary to make the people that think that it is needed happy?
In that case your proposed exception doesn't work. You've modelled it on the OpenSSL exception which was designed to cover the use case where OpenSSL *is* a system library (thus covered by the system library exception) but imposes incompatible additional restrictions on whole binary, specifically the GPLv2 pieces.
Quoted 5 lines
To make this work assuming the crypto library isn't a system one, you need an exception to the section 2 requirement to ship the whole under GPLv2 ... or a simple declaration that you think openssl and mbedtls are system libraries for the purposes of OpenVPN, so the system library exception applies to them regardless of how they are shipped.
The origin of the existing exception is the Debian project (or at least has been used a lot in relationship with the project). Until very recently Debian did NOT consider the OpenSSL library to be a system library, so they asked GPLv2 projects to add this clause to allow linking with the OpenSSL library. So that makes me believe that this clause is fit for the purpose that we are using it for.
See as an example here https://lists.debian.org/debian-legal/2004/05/msg00595.html
The change that Debian considers the OpenSSL library a system library in Debian is from 2020:
https://lists.debian.org/debian-devel/2020/10/msg00168.html
http://meetbot.debian.net/debian-ftp/2020/debian-ftp.2020-03-13-20.02.html
So I trust that the exception does indeed allow for linking against OpenSSL as a non-system library as otherwise adding this exception would have made no sense in the context that it was used.
Arne
Hi,
Quoted 45 lines · Arne Schwabe
Am 15.01.23 um 14:23 schrieb Selva Nair:
Quoted 5 lines
Hi,
We would like to be able to continue to build/ship OpenVPN with mbed TLS. We want all contributors to ask if they agree to license change that adds explicit permission to link with Apache 2 licensed
libraries:
Quoted 3 lines
Special exception for linking OpenVPN with Apache 2 licensed
libraries:
Quoted 6 lines
In addition, as a special exception, OpenVPN Inc and contributors give permission to link the code of this program to libraries
with the
"APACHE LICENSE, VERSION 2.0", and distribute linked combination including the two. You must obey the GNU General Public Licensein
Quoted 5 lines
all respects for all of the code used other than these
libraries. If
you modify this file, you may extend this exception to your
version of
the file, but you are not obligated to do so. If you do notwish to
Quoted 9 lines
do so, delete this exception statement from your version.
Instead of this exemption I would vote for a change to 'GPL v2 or any later version'.
That would keep the license in the spirit by which people like me contributed.Using an existing license that has already been vetted also avoids the
need
Quoted 11 lines
for legal counsel.
I do not understand the argument about 'GPLv2 and later...' and embedded devices. Those who
are currently embedding based on GPL v2 can continue to do so, those who want/need v3
can do so too. Those who need v3 but also want to lock the firmware on a consumer device
may be affected. But that's a choice they make, why would we want to promote that?
Quoted 8 lines
Quoted 3 lines
Some may find this discussion a waste of time but let's not belittle people's contributions.
I do care about how my work is licensed.Okay. I think the embedded thing is a bit of a misunderstanding. I am not trying to promote that. What I wanted is to express why changing to GPLv3 might not be an option as some license holders of OpenVPN will not be okay with changing to GPL3 since they need that.
Thanks for the clarification. I was not aware of that.
That's very unfortunate, though. So some want to keep the loopholes of GPL v2, and also the goodies that come with an Apache 2.0 exception, all together!
So the situation is basically, we need somehow to still be able to link
Quoted 7 lines
Apache 2.0 licensed SSL libraries. While we have an exception for OpenSSL, some might argue that this only covers the old OpenSSL license.
So to go forward we either need to change OpenVPN 2.x to a license compatible with Apache 2.0 like GPL3 or adding an excerption for linking against Apache 2.0.
Quoted 7 lines
At the hackathon we discussed the options and there already voices against going GPL3 instead of GPL2 but everyone there was okay with staying with GPL2 and adding an exception.
This approach of taking the exception route instead of GPL3 is mostly a pragmatic approach to be able to have something that might have a chance of succeeding.
Given all that, I'll reluctantly agree to the proposed exception.
It's not critical at this stage, but the wording "...libraries with the 'APACHE LICENSE, VERSION 2.0', ..." sounds ambiguous. Is that a legally vetted form or a draft?
Selva
Am 15.01.23 um 17:51 schrieb Selva Nair:
Quoted 90 lines
Hi,
On Sun, Jan 15, 2023 at 8:53 AM Arne Schwabe <[email protected]... <mailto:[email protected]...>> wrote:
Am 15.01.23 um 14:23 schrieb Selva Nair:
> Hi,
>
> We would like to be able to continue to build/ship OpenVPN
with mbed
> TLS. We want all contributors to ask if they agree to license
change
> that adds explicit permission to link with Apache 2 licensed
libraries:
>
>
> Special exception for linking OpenVPN with Apache 2 licensed
libraries:
>
> In addition, as a special exception, OpenVPN Inc and
contributors
> give permission to link the code of this program to libraries > with the
> "APACHE LICENSE, VERSION 2.0", and distribute linked
combination
> including the two. You must obey the GNU General Public
License in
> all respects for all of the code used other than these > libraries. If
> you modify this file, you may extend this exception to your > version of
> the file, but you are not obligated to do so. If you do
not wish to
> do so, delete this exception statement from your version. >
>
> Instead of this exemption I would vote for a change to 'GPL v2 or
any
> later version'.
> That would keep the license in the spirit by which people like me > contributed.
>
> Using an existing license that has already been vetted also
avoids the need
> for legal counsel.
>
> I do not understand the argument about 'GPLv2 and later...' and
embedded
> devices. Those who
> are currently embedding based on GPL v2 can continue to do so,
those who
> want/need v3
> can do so too. Those who need v3 but also want to lock the
firmware on a
> consumer device
> may be affected. But that's a choice they make, why would we want to > promote that?
>
> Some may find this discussion a waste of time but let's not belittle > people's contributions.
> I do care about how my work is licensed.Okay. I think the embedded thing is a bit of a misunderstanding. I am not trying to promote that. What I wanted is to express why changing to GPLv3 might not be an option as some license holders of OpenVPN will not
be okay with changing to GPL3 since they need that.Thanks for the clarification. I was not aware of that.
That's very unfortunate, though. So some want to keep the loopholes of GPL v2, and also the goodies that come with an Apache 2.0 exception, all together!So the situation is basically, we need somehow to still be able to link Apache 2.0 licensed SSL libraries. While we have an exception for OpenSSL, some might argue that this only covers the old OpenSSL license.
So to go forward we either need to change OpenVPN 2.x to a license compatible with Apache 2.0 like GPL3 or adding an excerption for linking
against Apache 2.0.At the hackathon we discussed the options and there already voices against going GPL3 instead of GPL2 but everyone there was okay with staying with GPL2 and adding an exception.
This approach of taking the exception route instead of GPL3 is mostly a pragmatic approach to be able to have something that might have a chance
of succeeding.
Quoted 3 lines
Given all that, I'll reluctantly agree to the proposed exception.
It's not critical at this stage, but the wording "...libraries with the 'APACHE LICENSE, VERSION 2.0', ..." sounds ambiguous. Is that a legally vetted form or a draft?
Enough people have looked over that but I am not sure a lawyer has done it to be honest.
Arne