62 points · by jj999 · 3y ago · 107 comments
"The AGPL, like the GPL, is a copyright licence, not a contract" actual authoriative legal source needed. For what it's worth, this is plain wrong under French law (and I'm a lawyer and there is actual case law in France to support the view that GPL is a contract).
Which is super-helpful only if you never intend to leave the US.
Most software has users in 200+ jurisdictions, and you can get sued in almost any of them. A court in the Maldives or New Zealand might have a very hard time enforcing a judgment if your legal presence is only in the US, but outstanding judgments can mean:
1) A cap on growth (you can never establish a presence in those jurisdiction until / unless you've resolved you ballooning liabilities)
2) A cap on acquisitions (you can never be sold to or buy an organization with a legal presence there, again, without work)
3) In a worst-case, if the liability is bad, being personally thrown in prison the instant you step off of a plane in a jurisdiction where you have outstanding liabilities.
... and other badness.
It, therefore, often make sense to avoid walking along the edge cases of the law.
The FSF and friends have very explicitly commented that the GPL is not a contract. (In my experience, they are also rather sloppy lawyers in the sense that they tend to put ideology over positive law.) There's nothing explicitly saying so in the GPL text, and the section saying that if you don't accept the "license" you will be in violation of copyright law can actually be read both ways (IMHO).
If you search around, quite a few jurisdictions have apparently ruled that the GPL can be treated as contract. Even the US, maybe: https://qz.com/981029/a-federal-court-has-ruled-that-an-open... (note: take conclusion with a grain of salt). From a common law perspective though, there's really no reason to not consider the GPL a contractual license..
That said, I honestly don't know what's worse -- breach of contract or breach of copyright law. The latter can sometimes carry criminal consequences (and yes, you can be extradited if you are unlucky), while a court ordering performance of contractual obligations can be bad if it's really inconvenient for the business.
Much like most lease agreements that are full of illegal or inoperative clauses, EULAs are largely a bluff backed not by the law but the other party’s ignorance and the threat of a ruinous lawsuit. The process is the punishment.
Of course once you want to redistribute or create derivative works you need additional permission.
Why are EULAs contracts and the GPL is not?
AGPL and most GPL derivates were certainly made with the help of lawyers, but those lawyers overwhelmingly studied American law, since that's where these licenses came from. They can be used in other countries of course, but they are full of American legalese. Direct translations do exist but they don't alter the words to accomplish the same effect under different systems of law. For example, the vitality of GPLv2 does not apply in Germany: https://cms-lawnow.com/en/ealerts/2022/01/developments-in-op... and GPLv3's punishment clause protecting violators for their first incompliance, without further punishment, was denied: https://blog.versioneye.com/2015/09/21/judgment-to-gpl-viola...
The exact same legal text can have an entirely different meaning when interpreted by a foreign judge in another country. What is a watertight contract in one place, is a breach of a party's freedoms in another. There's a reason the exact text written in treaties is argued over for years, because it's challenging to express what you want to say in a way that's legal for every party's jurisdiction.
IANAL. But, obviously, a license is a license, and a contract is a contract.
If I produce a copyrighted work, you can't copy it without my permission, which is what a license is. If I grant you a license, I can require that you do something for me in return (e.g. pay me), and I can restrict what you can do with your copies. That's a contract, and if you violate it's terms, you might lose the license.
What did I miss?
As to the first link:
When a person redistributes a GPLed program or a derivative work of one and refuses to share the source code with their recipients, there is a reason even most American GPL lawsuits are brought by or with delegated authority from a copyright holder of the original work. A regular recipient with no copyright claim might not have as strong of a claim to standing, especially if the defendant claims not to have consented to the GPL in the first place.
Without consent to the GPL, or even if the GPL is breached after valid consent, it’s entirely possible that the consequences imposed by an American court will be damages for copyright infringement and an injunction against further distribution of the infringing work without further copyright holder permission. It is not automatic that source code sharing, which would be an example of what’s called specific performance, will be ordered. It’s only one tool in a court’s toolbox of remedies, and a relatively disfavored one (especially in cases like this where unrelated corporate trade secrets might be exposed by such an order or where conflicting third-party licenses might actually forbid compliance).
The reason some level of source code sharing often results from these lawsuits is not because of a clear legal right to demand that a court order it, but because defendants usually prefer to comply than pay damages and suffer an injunction against further infringement, and plaintiffs in GPL lawsuits usually prefer to forgive past infringements in connection with obtaining compliance.
As to the second link:
The approach of American courts to this circumstance would likely vary by state. The GPLv3 doesn’t actually say that the penalties for the first violation are waived if the violation is cured within 30 days, and the wording for what it does say in this provision isn’t ambiguous, so some American courts would limit their analysis to the “four corners” of the contract/license and not infer a waiver of the penalties for the first violation any more than did that German court.
Other American courts would accept evidence of what the licensor or the license author intended, and therefore possibly waive those penalties in case of a timely cure.
(When I say “some American courts” or “other American courts”, it’s really a matter of which state’s law applies more than which court. But which court is actually making the ruling may literally matter when the relevant point of the relevant state’s law has not been clearly settled by that state’s highest court, when that highest state court is considering reversing its own prior ruling, when it’s unclear which state’s law should apply, or when the court makes mistakes in inexpertly applying the law of a state whose law it doesn’t often apply.)
A lot of people assume that more of the GPL has been authoritatively interpreted in court than is actually true. Most GPL compliance disputes never make it to court, and some that do end in settlements. Only very few end in final rulings, and most of those are lower courts or mid-level courts which in no way (beyond potential persuasive value) bind the rulings of other judges within the state or country.
Disclaimer for this entire comment:
I am not a lawyer in any country and am not giving any specific advice here about how any specific court would rule in any specific case. I have however attended the beginning of US law school including the introductory contracts law course, and have also collaborated in the past with lawyers specialized in the area of free and open source software as part of my Debian developer activities and my director and officer roles in the free software nonprofit Software in the Public Interest (SPI), as well with similarly specialized lawyers when I was in an open source-focused technical role at Google.
To avoid confusion, I hold no current director or officer role with SPI and am currently entirely inactive in Debian, though I officially remain a Debian developer and a non-contributing member of SPI. I also no longer work for Google. I am only speaking for myself here and not for Debian, SPI, or Google. I mention my past work with them only as relevant context informing my comments above.
If you don't adhere to the conditions in the license, the license is revoked, and you're back to copyright infringement, with all the consequences.
If you're made aware that the code you copied in good faith was not allowed to be granted to you under those terms, you'd probably just lose your right to use the code and nothing more. The person redistributing code under a wrong license is the main culprit, but since they were never allowed to hand out a license, you're screwed because of them. If you choose not to distribute the source code, you must remove it from your product as soon as possible.
Of course, this does assume that the code you copied passes the originality threshold. A simple multiplication or a very basic algorithm can be considered too simple to copyright, and GPL would be powerless.
It's so possible the use of the copyrighted code can be considered fair use. In the USA, Oracle sued Google over some GPLv2 API definition, but Google was ruled not to have to abide by the terms of the GPL license in that case, because of fair use reasons.
A FOSS license is granting a right of use under a particular set of restrictions, and it is doing it through the means of voluntarily giving up the government-granted right to enforce copyright that the author is entitled to. But the customer is giving nothing. It can't be a contract. The violation of it only represents a loss for one side.
A license in exchange for payment is a different story.
[1] I think this is pretty universal across legal systems, but I could be wrong.
Because there is nothing paid for a piece of open source software downloaded off the interwebs, there is no consideration. Therefore, open source licenses by themselves constitute what is known as a bare license and may be revoked at any time, for any reason, by the licensor.
> But this means that it is impossible for the GPL to restrict any action which you would have been legally authorized to do even if the software had not been licenced under any licence.
how would this statement be affected by French Law?
This is an actual interested question and not HN know-it-all being aggressive and trying to claim you're wrong (figured I should say it)
Section 13 of the AGPL which is the one the author says is ineffective starts:
"Notwithstanding any other provision of this License, if you modify the Program, your modified version must ..."
The obligation starts from "modification" of the software, and modification of software is an act protected under copyright law. Hence you need an authorisation for it (without prejudice to fair use and copyright exceptions of course).
Take for example the DeHackEd Doom patch editor for old-school DOS Doom, which patched the Doom.exe binary to change player speed, enemy behavior, text messages, etc. in ways that WADs alone couldn't. You are free under copyright law to use DeHackEd to patch your own binary, and to distribute your patches so others may use DeHackEd to apply them, but not to distribute patched Doom binaries.
The same holds true for any game mod, really, and even those Windows installer editors which produce stripped down versions of Windows (like 98lite or the more recent Mini11).
I mean come on. The entire point of the AGPL is to make the GPL apply even in the absence of distributing anything.
[1]: see this https://www.devever.net/~hl/webcrypto, discussed here https://news.ycombinator.com/item?id=36466133
(Edit: This comment puts it very well: https://news.ycombinator.com/item?id=37291970)
For a license similar to AGPL but written with the whole European Union legal frameworks in mind, I'd suggest having a look at The European Union Public Licence (EUPL):
* https://en.wikipedia.org/wiki/European_Union_Public_Licence
* https://joinup.ec.europa.eu/collection/eupl/eupl-guidelines-...
I am european, so I was considering using the EUPL for a new open source project that I'm planning. I'd love to get some comments from HN readers, regarding that choice.
Any due diligence for a M&A or tech legal screening that finds a closed piece of code with AGPL will raise a red flag. In some of the cases that I saw the assessment was that the code base was non-compliant and this applied a huge discount.
Often the thinking was more on the line of maybe it's legally not fully sound, but it's sound enough to not make us lose sales, i.e.:
- a dishonest company could just secretly use it and we wouldn't know, so we don't care that much about that aspect
- a humongous company could be in a position where they think they can lawyer themself out of their AGPL usage in the US, but such a company has a lot of other ways too and isn't our target audience anytime soon, so if worse comes to worse we just offer them a cheap enough (no support included) license so that they prefer that over a court case
- most companies which do prefer going to court over buying a license probably also wouldn't use our software if buying a license would be the only way, so not really lost sells
1) The AGPL is designed to binding when making a joint work -- e.g. two pieces of code where the logic is intimately coupled. If I make a front-end and a back-end of an application, the AGPL holds. That's a derivative work.
2) The AGPL is not designed to hold when merely using something over established protocols. If I write a generic web server under the AGPL, clients under any license can (and should be able to) connect. That's not a derivative work. That's two independent works.
The test here is not -- as I've seen corporate legal departs indicated -- a question of how things are linked (e.g. web protocols, dynamic, or static binding), but how closely the logic is coupled. If the two pieces are integral to each other, it's a modified work. If I can swap one out (e.g. a SQL server working over established protocols), it's mere aggregation.
Now, if I'm running a tool under the AGPL, the process of installing it triggered the AGPL at some point:
- If you can access it over any protocol, either I (or someone else) is probably required to give you the source code to any modifications.
- If you can't access it, I can have secret modifications. That's by design.
Where things get complex is what it means for you to have access. Consider:
1) I run a modified AGPL algorithm on my computer to make a picture of a frog for my own use (clearly okay)
2) ... and I distribute the picture
3) ... at your request, by a contract we signed in person
4) ... at your request, manually, based on a web form you filled out
5) ... same as above, but automatically, in daily batches
6) ... instantly (you make an AJAX call to http://myserver/make_image/prompt=frog).
#6 is clearly infringing if I don't provide access to my modifications. Where does interacting with the work over a network begin? That's untested waters.
As an extra bonus, anyone trying to circumvent the AGPL by disabling this feature has obviously modified the software.
Not necessarily, since you could disable it via a proxy or so?
Under AGPL, you are given right to use a piece of software, but only if you provide source code to anybody connecting to your server. If you fail to comply, your right to use software is terminated. How whether you distribute parts of that software to end users or not is relevant here?
This is a convoluted way to put it! You use the word "use", not to mean the actual users of the program, but a third party that distributes/installs it.
It is clearer to see the AGPL as giving rights to the users, not imposing obligations on the distributors. Thus, if you use an AGPL program, you are given the right to see, change and redistribute its source code (regardless of whether the program is running on your own computer or on a third-party server).
Copyleft is not meant to restrict, but to grant freedoms to the end users of the software.
That's the goal, but materially it is restrictive licensing, meant to impose obligations on the distributors, in order to grant freedoms to the end users of the software. I think that pretending copyleft isn't restrictive is misleading, and it ultimately weakens it.
It's as important to respect the GPLs as it is to respect any other restrictive, "proprietary" license. One has no more right to violate the GPL than they have to violate Microsoft licensing.
Nothing in copyright law restricts the use of a product. If you legally purchase a book or movie, your are free to watch it whenever you want however often you want. Copyright only restricts copying, creating derivative works, redistributing (and public performance for certain types of work), not use. So to restrict use of software, you need a contract.
An explicit goal of the FSF in writing all their licenses is that they do not restrict your existing rights, they only grant new (sometimes narrow) permissions. The courts seem less interested in this distinction, could potentially interpret it as a contract, but even if treated as a contract, it was still written to not restrict your existing rights.
> The courts seem less interested in this distinction, could potentially interpret it as a contract
But why isn't AGPL explicitly structured as a contract then? They could then grant you the same rights (including ones not covered by copyright law), but on the condition that you follow the copyleft part of the agreement.
E.g. https://www.copyright.gov/help/faq/faq-digital.html suggest you can only make "archival" copies of applications.
If you don't modify the application, AGPL is not very interesting; the public usually already has access to the source code.
no, it's a right granted by the license, if you have one. The copyright grants rights to the author, not anybody else.
you need a license to have a copy in the first place, and you need a copy to cross out words, so yes, you need a license to cross out words. You don't need a special extra license, but you need a licensed copy or you are in violation of the copyright.
So this is the "trick" in copyright law that the GPL uses. It's granting you the have-your-one-copy-license if you agree to the terms. After that point, violations on your part do not void the "terms of the license", they void your license to have a copy in the first place.
the only person who does not need a license to have a copy is the original author, so if you buy a copy of a book you wrote, you (alone) don't own a licensed copy, but you do own the copyright on the copyrighted copy that you bought.
This seems right but also wrong.
I mean it would mean that I have the right to own and use illegal movie copies, as long as I don't further distribute them. Which AFIK isn't the case.
Whether or not it makes sense to you, under current copyright law, it is the act of making copies which is restricted and regulated.
If you make a copy illegally, that's what you'll be punished for.
If you receive a copy of a work, do you know if the copy was made by someone authorised to do so? If you reasonably believe that the copy was made legitimately, you will very likely not be held accountable for owning and using that copy. No matter the legality of its provenance. It is the person who made the copy who will be (or should be) accountable.
Of course a bit academic for most developers. But for most companies that don't like uncertainty around the topic of who actually owns their core intellectual property, this is a good reason to blanket ban the use of anything AGPL licensed.
Personally, I avoid the anything AGPL licensed for a different reason. I write software for a living and with the goal to profit from that directly or indirectly. People using AGPL seem to be signalling that they don't appreciate other people using their software for profit. So, I respect that and ignore their work. Plenty of more liberally licensed software out there where the developers seem to actively encourage people to use their software. I like feeling welcome as a user. And I don't feel welcome using AGPL software. So, I don't.
No. We use xGPL to protect our (developers) and users "right to repair". xGPL developers don't care if you are selling and making a profit from the software they created (and you maybe enhanced). What they want is that you do so by also ensuring that every user of your software also has access to the source code so that any developmental knowledge is not lost or the software doesn't become abandonware when it is no longer profitable to sell it.
Most often, though, I see AGPL licenses paired with a commercial license, as well as a CLA that assigns the copyright of any contribution to the licensing company allowing them to relicense the software with a commercial license.
In this case, I don't see it protecting users' rights, but rather as a means to monetize the software.
And of course the real reason that some developers prefer AGPL is because of the restrictions it imposes on how the software is used. Those restrictions relate to bundling with other software, which is a thing many commercial users would want to be doing. And which is a reason why the likes of MS, Oracle, Google, Amazon, etc. are unlikely to employ anybody that actively contributes to such projects.
You could argue that because of the lack of commercial contributors, a lot of AGPLv3 projects are doomed to be abandonware.
This is kind of considered a feature, isn't it? Every time a disagreement is taken to court, it's a failure of all sides. Courts are expensive and a time waste, so we create contracts that avoid all of that to try to get parties to work together without the courts. AGPL has been enforceable, in general, because of all the case law around general copyright law.
The lack of court cases has a perfectly reasonable explanation: no serious company with a legal department would bother to touch anything licensed this way. The companies most likely to be able to represent themselves in a court are also the most likely to have a policy of just blanket banning anything with this license.
As a means of alienating end users, the AGPL is an enormous success. As a means of actually enforcing what it says, it's largely unproven.
Now sure, you could argue that's the case for all OSS. But the GPL family of licenses leave a lot of legal wiggle room. Unlike for example file based licenses such as the MPL or CDDL.
The LGPL is also an interesting one. People tend to think it's less strict then the GPL. However it has a clause which says you need to provide the means for someone to change the LGPL library and reintegrate those changes in your work. How does that even work for a statically linked binary?
Isn't that true only for LGPLv3? This requirement also happen on GPLv3.
I've worked in a company that entered in a dispute with Microsoft regarding licensing of SQL Server, and since the legal dispute was more than USD 2 million our CFO was obligated to place that as a balance sheet loss under legal provisions. Eventually we won the case and the "money" went back to the cash flow.
I learned it this way: LGPL is basically GPL unless you dynamically link.
Sure, there are workarounds to make it compatible with static linking, as others have mentioned, but unless you’re willing to jump through those hoops, LGPL restricts you to only dynamic linking.
The idea that the AGPL is unenforceable is dangerous advice that could backfire on someone.
Let me offer a different viewpoint.
The AGPL is a non-free license which uses the same legal principles as shrink-wrap EULA licenses. If the AGPL is not enforceable, then the majority of (other) EULAs are also not enforceable. Quick, someone tell Microsoft, Adobe, Apple, ... do they and their legal departments and lawyers know?
The restrictions/requirements inherent in the AGPL are use restrictions. If you run the program such that people connect to it, you are not redistributing it and so copyright does not apply. That use of the software is governed by requirements.
No software with use restrictions can reasonably be called free.
The legal doctrine at play is exactly like that in shrink-wrapped EULAs (note the "U" there): you are allowed to have a copy of the program (which lands under copyright) if you conform to certain behaviors. In the case of a typical EULA: that you won't reverse engineer the program, or copy it, or crack the license to give yourself unlimited use, etc. In the case of the AGPL, that you won't use it in a way that people can access it, without giving them the code with all your mods.
If you don't comply with the rules, then the offer lapses: the program is not licensed to you. You are not properly engaged in the contract, and so the copyright holder does not give you permissions to have and use a copy of that program, or to use it in that way.
That's how I think it works. Software licenses which restrict use do not use only copyright. They are contracts which make the granting of the copy conditional on contracted behavior. Arbitrary conditions can be linked to the copyrighted work.
If some court does find the AGPL or any other EULA unenforceable, it will almost certainly be due to some much more subtle argument than "oh, it's a copyright license that's only concerned with redistribution distribution, so whatever it says about use can just be ignored".
from legalzoom:
When you own a copyrighted work, such as a book, article, play, or song, you have the right to decide if and how anyone else can use it. Giving permission to do so is called granting a license, which is a written contract giving the user authorization to use the work, usually in exchange for payment.
A copyright license agreement outlines the entire licensing contract made between the copyright owner and the licensee.
also in some other comments here I think the wording is a little sloppy. The GPL license (like all licenses) grants you the right to have the copy of the work you have only if you accept the license terms. So if you don't accept the terms of the GPL, then you must delete the copy you have, before any of the other stuff about compilation, modifications, sharing, etc. even kicks in. If you ever violate the terms of the license, that erases your rights to everything that came before and you are operating without a license.
https://lwn.net/Articles/747563/
This is a discussion between three lawyers specializing in the field, from three jurisdictions (US and UK, both of which are common law, as well as parts of the EU which are under statutory law).
> In the UK, where many free-software licenses are probably just bare licenses, no acceptance is required for a defense against an infringement claim. The license is revocable by the licensor until the licensee has relied on it. No third-party rights exist. Orders for specific performance are not available. The award of legal costs is discretionary but may happen, and liability exclusion is generally enforceable.
> In the EU acceptance can be by any means, including conduct. The license is probably irrevocable. Third-party rights do exist, and specific performance is available. Nothing was said about legal costs, and liability exclusion is possible but is subject to the the requirements of proportionality and consumer protection.
I don't think it's unreasonable to boil this down to a "yes". Particularly given (1) LegalZoom is presumably American, where, in isolation, the answer is likely "yes"; (2) if licenses are considered contracts in any region in which you do business, you should probably consider them contracts, just to be safe.
Since there's no citations to statutes or case law which state that copyright licences are contracts, this source, which you didn't link either, is not reliable.
AGPL software DOES NOT prevent use of the software in a proprietary software unless the software itself is changed and even then, the modifications is to be open sourced.
There isn't the "virality" of AGPL like people claim. That is with SSPL
> When using iText Core/Community under AGPL, you must prominently mention iText and include the iText copyright and AGPL license in output file metadata, and also retain the producer line in every PDF that is created or manipulated using iText.
On https://itextpdf.com/how-buy/AGPLv3-license
However „ 7. Additional Terms“
States that I can just ignore any additional terms. It’s really a clusterfuck. I’m not even sure if it would be legal to create a http server that provides functionality of itext. On the other hand mongodb was agpl for a long time and nobody cared.
this is not standard AGPL licensing terms. they are just making stuff up