232 points · by TheSpleen · 7y ago · 142 comments
They looked at the AGPL and completely misunderstood the context. There is no way in hell anyone can interpret AGPL in a way that makes Square responsible for any license violations their customers make selling software.
Honestly they are probably correct to be worried about this because it's pretty unclear whether or not it would be covered. At the very least, by making it against the TOS it is clear that it's the users fault not theirs if there is a violation.
This is a great advantage of the AGPL IMO. You can release your free software/open source code, and big tech companies won't use your code and make lots of money.
Some companies tried to relicence their code to some 'source available'/'non commerical' licence because they didn't like the MIT's lack of conditions. AGPL could have helped.
As an example, let's say that I have a game. That game happens to want to have a way of rendering some HTML content for printing / making a PDF. It's OK to ship an open source thing with your game, like a hypothetical FrozenFluff web-browser licensed in AGPL. There are two distinct entities there: a FF binary that gets called with a file to render (which is AGPL and an AGPL processed result that is under the copyright of whomever's material was rendered) and another distinct binary the GameX that happened to call an external process.
The line to cross there is that the AGPL stuff can't be linked against your own program. I'm even more unsure how a module might or might not be licensed. I think since that's an addin then the code for the module (including headers) would have to be AGPL compatible and released, but that the rest could probably be closed.
This line is less clear when it comes to websites however. I think the best equivalent would be to make a wrapper interface that is AGPL licensed, published, and links to/calls the AGPL software. It should have a distinct URL. That URL might only be on the localhost (for security) and would hand back whatever results exist. The proprietary interface could talk to that URL and get results.
It does make some sense to see AGPL singled out, because it is different from most other free and open source licenses in one major way.
Almost all other free and open source licenses only require you to distribute modified source code of a derivative work you've made if you distribute that derivative work.
If I take code under those licenses, modify it, link it with my own code, and just run the resulting derivative work on my computer, they do not require me to distribute those modifications or my code, no matter what I'm using the program for, or where from, who from, or how I get its input, or what I do with, where I send, or who I give its output.
Not so with AGPL. With AGPL, the requirement to distribute derivative works can be triggered by code running entirely on my computer if it gets its input from and sends its output to people over a network.
That's a huge difference from prior free and open source licenses.
And AGPL isn't the only "must publish all your server's source code" license available, so to prohibition is too specific if that's the actual reason.
You need artificial stupidity to misunderstand the "Interacting with Program through a computer network" in the way Square seems to understand it. Distributing software via online store is not interacting with the program.
Has that been tested in a court yet? If it hasn't, then a lawyer would immediately see risk.
I mean, look at Oracle vs Google on whether or not an API is copyrighted.
MongoDB's new license targets scenarios where Google would provide a hosted MongoDB service to their customers (like Amazon's RDS offering, for example). It has no impact on individual customers personally spinning up their own MongoDB on their own set of servers for their own use.
https://squareup.com/us/en/online-store
not Square Payments.
It looks like it's a lot broader than just the Online Store, although it doesn't mention Payments specifically.
Still, "any associated products and services" sure seems like it would cover Payments as well? What's the dividing line for a product that's associated with the Online Store?
EDIT: This specific clause is listed under section 3 "Online Store", so it does seem likely to me that it's not meant to apply across the entire TOS.
Still a weird restriction for the online store, but given that there's also a non-disparagement clause right under it, it's certainly not the most egregious thing in this license.
> engage in excessive advertising on your website, which includes adding more than three ad units per page, or any advertising that greatly reduces the usability of your website;
Still no idea why they single out AGPL the way they do.
> B. Content Restrictions. In addition to the restrictions set forth in these Additional Product Terms, the General Terms and Payment Terms, you will not: [...]
> 15. use, under any circumstance, any open source software subject to the GNU Affero General Public License v.3, or greater;
So I think these restrictions only apply to websites they designed or host. I think it would be fine to distribute software under the AGPL and use square for the payment. Or run AGPL software on your own ecom site and use them as the payment provider.
Does this sound right? And if so, I guess they wouldn't want to have to redistribute the modified versions of software?
- AGPL v2? it says:
> This is version 2 of the Affero General Public License. It gives each licensee permission to distribute the Program or a work based on the Program (as defined in version 1 of the Affero GPL) under the GNU Affero General Public License, version 3 or any later version.
- Dually licensed software? Does this prohibit software licensed under BSD and AGPL? Granted, the only reason to do that is to troll Square.
"15. use, under any circumstance, any open source software subject to the GNU Affero General Public License v.3, or greater;"
Which perhaps could be interpreted as version 0.3 or later?
See also, https://softwareengineering.stackexchange.com/questions/2630....
I'd rather not have code source available under things like AGPL than run the risk with the minefield for lawyers it becomes.
Doesn't sound good at all
If the AGPL program is unmodified, you don't have to share its corresponding source no matter what it is integrated with.
If the AGPL program is modified, you only have to offer the corresponding source of that program, not all programs that connect to it over the network.
The restriction applies to software sold in their online store. It is not possible to interpret "Interacting with Program through a computer network" as distributing software via online store. The program must be running and executing it's code.
> Additional Point of Sale Terms of Service >3. Online Store > I. Your Content and Content Restrictions
[1][https://opensource.stackexchange.com/questions/4691/java-and...]
Plus, if you treat the cloud service provider's code separately from the user's code, there is a pretty strong danger of opening loopholes that defeat the entire purpose of the AGPL. It's not clear that people releasing code under the AGPL would even want the AGPL to be interpreted that way.
I mean my end users never interact with that service. They interact with a - let's say - proprietary one. And that service is the client to the AGPL service.
Or anything AGPL touches turns into AGPL? What is considered touching? If I use an AGPL firewall do the packets turn into AGPL? If I use an AGPL log aggregator? Or an AGPL centralized identity management thing every other service that auths turns into AGPL?
https://github.com/moll/node-pg-error/issues/1
It also seems worthwhile to examine the differences between the APGL and the recently introduced (and much critiqued, albeit I find somewhat unfairly, in some aspects) SSPL:
1. https://news.ycombinator.com/item?id=18352171
2. https://news.ycombinator.com/item?id=18301116
The above should let you find the answers to your questions, but I'll use this comment to also point to some less on topic but still very much related to licensing granularity matters.
Compare the various FSF licenses to the OSET license:
http://www.osetfoundation.org/public-license
Two specific things I find rather atrocious about all the FSF licenses seem easiest to highlight by pointing out what the OSET license does to explicit avoid these pitfalls:
1. "Sovereign Immunity. Contracting with governments brings up a special issue that doesn’t apply to anyone else: normally, if you grant a license to government, you may not be able to sue for a violation because governments can be immune from legal claims. We ask recipients to waive this restriction, so there is a remedy if the recipient does not abide by the terms of the license. See Section 9.2 of the OPL"
2. "The OSET Foundation (then the “OSDV Foundation”) attained its full tax-exempt status under 501(c)(3) of the Internal Revenue Code declaring us a public charity in the 3rd quarter of 2013. In the course of seeking this status, as part of a negotiation⁴, we agreed to make certain changes to the license to ensure that our source code is free for everyone to use. Section 5.3 of the 2.0 license now requires that a licensee who does not abide by the terms of the license must make the Covered Software available in Source Code Form on a publicly available computer network for a period of no less than three (3) years. This goes beyond the source code delivery requirements of standard open source licenses. Section 5.4 reserves the ability of a licensor under our license to seek injunctive relief for violation of the terms of the license. It is not clear at this point whether a court could, under applicable law, order a violator to release source code. But we cannot control the law, only our license. Therefore, if that remedy is available under law, we want to make sure it is available under our license as well."
And then, even more peripherally related, none of the libre licenses I know have some variants for transcopyright, a licensing concept almost forgotten, and outlined by Ted Nelson, here:
http://www.youtube.com/watch?v=x3l7CpnpyGw
At this point, I really wish we'd have some sort of mathematically sound "mix and match" license generator, where you can pick what you want your license to do with extreme granularity, based on as detailed of a parameterization of what one might do with Software licenses in general, and get a standardised, reproducible license build.
There does exist this:
https://en.wikipedia.org/wiki/Rights_Expression_Language
But it doesn't actually really do what you might expect it to do.
For example, compare these two RDFs for the GPLv2, and the GPLv3:
https://www.gnu.org/licenses/gpl-2.0.rdf
https://www.gnu.org/licenses/gpl-3.0.rdf
The GPL v3.0 RDF pulls in http://xmlns.com/foaf/0.1/ as an additional XML Namespace, and has a logo, but in terms of the actual ccREL encoding, they seem completely identical, both just contain this:
<cc:requires rdf:resource="http://creativecommons.org/ns#Copyleft"/>
<cc:requires rdf:resource="http://creativecommons.org/ns#SourceCode"/>
<cc:requires rdf:resource="http://creativecommons.org/ns#Notice"/>
<cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/>
<cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/>
<cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/>
For even more licensing shenanigans, compare all of the above to the Eclipse license as well as to the Mozilla Public License & the Apache Licenses.Mostly, yes[0]. Parts of the package are under BSD, others FreeType license, others GPL etc.
I don't know which ones are used in imagemagick, so I can't say whether AGPL "infected" it.
[0] https://metadata.ftp-master.debian.org/changelogs//main/g/gh...
Most of our stack was CentOS, MySQL, ruby and java. The DC automation, such as it was, was mostly homegrown layers on top of kickstart.
I don’t know of anything we depended on that was AGPL.
I guess there is probably some berkelydb floating around, and the datastores team uses mongo for an internal app.
AFIK, they still mostly run on this stack but are moving to k8s, then k8s on cloud.
I know nothing about the new legal change, but do know I often had to talk legal down from being overly cautious and paranoid about other technical issues they didn’t understand.
We all grew lax with copyleft cause all this corporate pro open source stuff, and now there isn't a critical mass of AGPL projects compelling Square's lawyers to read harder. I have no idea how to build that critical mass.
That's spooky. Any idea why?
1) they place no restrictions on any other license. What if I use the Server Side Public License, or something else with a similar requirement to distribute?
2) the specifically say "v3", while the original AGPL also had that requirement.
I, like Illniyar, also think the AGPLv3 doesn't have that interpretation in the first place. At what point would Square have accepted the copyright license?
I think gpl is enough for web apps. I don't think I should have the right to demand all of gmail's or google search's server-side code if they use but don't distribute gpl software as part of making it.
But all companies need to steer really clear of agpl code. Even editing an image using an agpl image editor could taint the image, even though you're not exporting any code.
I would absolutely demand that anyone working for me not use any agpl software. I think it would taint even the copywrite on a logo.
Maybe I would be tainted by publishing a document they wrote in an agpl text editor, even if they license it to me.
Just my impression after 5 minutes of research. If someone has more detailed legal position please do correct whatever I got wrong.
This is an outrageous claim. Citation needed.
>Just my impression after 5 minutes of research. If someone has more detailed legal position please do correct whatever I got wrong.
after 5 minutes of Googling. downvoting my personal research results after 5 minutes of Googling won't get anyone to answer with the corrected version. I had never heard of agpl until I googled it and summarized what I saw.
It's a summary. if you put up a web app where you modify open source software as part of your stack, you have to publish those changes if people ask for them. Even if you are not distributing those changes. (This is my impression.)
I look forward to a correction from an expert - it's why I posted what I found. (Yes, what I found was outrageous.)
"we know we're not liable, but the customer might get into trouble, let's make it easy to understand what can and can't be done and just forbid it"
Note to self: create a license whose concepts/terms are similar to the AGPL but don't call it that.
You only have to provide the source of derivative work, and only to users of your service.
So only the micro service using AGPL code.
If you use an AGPL database for example, you don't have to provide any source code unless you change the source code of the database. This idea was behind the business models of Rethink DB and Mongo DB.
A microservice doesn't get around it if it's tightly coupled. It would only be enough if your main application was not dependent on the AGPL microservice (e.g. you have another image processing microservice that provides perfect parity).
I guess it's AGPL then.
Again, AGPL restricts what developers can do with software to let users enjoy more freedom.
Actually I don't care much about that, I just don't want to see companies come and exploit developers work without having to give back anything. So I really favor GPL and AGPL. Then, if somebody prefers BSD and MIT, no hard feelings.
I can see why they would want to explicitly decline to participate in AGPL infections.
And "infection" is a creepy way to write "compliance".