{"id":1407,"date":"2014-07-24T16:26:09","date_gmt":"2014-07-24T20:26:09","guid":{"rendered":"https:\/\/risacher.org\/jfdi\/?p=1407"},"modified":"2016-08-23T11:48:56","modified_gmt":"2016-08-23T15:48:56","slug":"how-to-apply-an-open-source-license-to-a-us-government-work","status":"publish","type":"post","link":"https:\/\/risacher.org\/jfdi\/2014\/07\/how-to-apply-an-open-source-license-to-a-us-government-work\/","title":{"rendered":"How to apply an Open Source License to a US Government Work"},"content":{"rendered":"<p style=\"text-align: right\"><em>This article is also posted to my <a title=\"Intelink Blog\" href=\"https:\/\/blogs.intelink.gov\/blogs\/drisacher\/?p=292\">Intelink blog<\/a>.<\/em><\/p>\n<hr \/>\n<p>Every so often, a government project manager asks me a question like this:<\/p>\n<blockquote><p>I&#8217;m looking to hire some government guys and I&#8217;m interested in young folks hacking on [my project].<\/p>\n<p>So, here&#8217;s my predicament:\u00a0 if they work on the code, their work becomes &#8216;public domain&#8217; and not something that could be restricted by licenses (at least according to some legal advice I&#8217;ve been given).\u00a0 If the work is the in public domain, I have no way of ensuring that someone won&#8217;t take the code and sell it back to the government as their own (because they could modify it and put a proprietary seal on it).<\/p>\n<p>Here&#8217;s my question: is there some legal structures that can be put in place to restrict modification, use and distribution like typical software licenses for government-created works?<\/p><\/blockquote>\n<p>Here&#8217;s some ways this has been done before. <!--more-->Given the goal to create a collaboratively-developed software product, open-source software licensing can provide clear and effective rules-of-engagement that protect the interests of all participating stakeholders.\u00a0 Which is to say, Open Source = Goodness.<\/p>\n<p>It is true that software (or any media) created by federal government employees (civilian or military) in the course of their duties is not subject to copyright protection in the United States.\u00a0 (q.v. <a title=\"17 USC 105\" href=\"http:\/\/www.law.cornell.edu\/uscode\/text\/17\/105\">17 USC 105<\/a>)\u00a0 \u00a0\u00a0Since essentially all open-source software licenses derive their legal power from copyright law, this does present some issues.<\/p>\n<p>Here are three approaches to cracking this nut:<\/p>\n<ol>\n<li>Just ignore the problem and release the software as public domain.\u00a0 If a vendor tries to sell it back to you under terms that are <em>reasonable<\/em>, buy it.\u00a0 If the terms are <em>unreasonable<\/em>, don&#8217;t buy it.\u00a0 \u00a0This may seem simplistic, but often turns out to be effective, especially when the government continues to maintain the public domain version.\u00a0 Examples are VA&#8217;s <a title=\"Public domain VistA\" href=\"http:\/\/www.ehealth.va.gov\/VistA_Monograph.asp\">VistA<\/a>, and\u00a0 NIST&#8217;s <a title=\"NIST's Expect\" href=\"http:\/\/www.nist.gov\/el\/msid\/expect.cfm\">Expect<\/a>, amongst others.\u00a0 If your gov&#8217;t-developed code is good enough for someone to try to sell it back to you, yer doin&#8217; things right.<\/li>\n<li>Create a joint work which is partly public domain, and partly copyrighted by a non-federal entity (i.e. your contractor).\u00a0 \u00a0A &#8220;joint work&#8221; is a work prepared by two or more authors with the intention that their contributions be merged into inseparable or interdependent parts of a unitary whole (<a title=\"17 USC 101\" href=\"http:\/\/www.law.cornell.edu\/uscode\/text\/17\/101#7\">17 USC 101<\/a>). The joint work can be released under an open source license, and the government is not obligated to go out of its way to annotate which sections are public domain vs. copyrighted.\u00a0 As an example, DISA signed a CRADA with the non-profit <a title=\"OSSI\" href=\"http:\/\/oss-institute.org\/\">Open Source Software Institute<\/a> to enhance the public-domain &#8220;CMIS&#8221; and release it as the open source &#8220;<a title=\"OSCMIS\" href=\"http:\/\/www.oss-institute.org\/what-we-do\/rad-facilitation\/135-oscmis-program\">OSCMIS<\/a>&#8220;.\u00a0 This is easy if you have mixed government\/contractor team.<\/li>\n<li>Aggressively rely on foreign copyright (I call this &#8216;the NASA approach&#8217;).\u00a0 The fact that the software is not protectable by copyright is only true in the United States; in foreign jurisdictions it will (generally) be copyrighted by the US Government.\u00a0 It is thus completely reasonable to mark such software as both &#8220;Copyright 2014, US Government, released under LGPL&#8221; <strong><em>and<\/em><\/strong> &#8220;Work of the United States Government and not subject to copyright protection in the United States.&#8221;\u00a0 Few commercial entities would build a product around IP that they could not enforce internationally.\u00a0 I&#8217;m not aware of any legal requirement to mark something as a public-domain US government work (although it is a recommended best-practice).\u00a0 I call this the &#8216;the NASA Approach&#8217;, because the <a title=\"NASA Open Source Agreement\" href=\"http:\/\/opensource.org\/licenses\/NASA-1.3\">NASA Open Source Agreement<\/a> includes this paragraph:<br \/>\n<blockquote><p>[The following copyright notice will be used if created by civil servants only. Government Agency will insert the year and its Agency designation and remove the bracketed language.] Copyright &#8221; {YEAR} United States Government as represented by __________________________________________. No copyright is claimed in the United States under Title 17, U.S.Code. All Other Rights Reserved.<\/p><\/blockquote>\n<p>As soon as the project accepts the first patch from a non-gov&#8217;t contributor, you could drop the &#8220;No copyright is claimed&#8230;&#8221; sentence.<\/li>\n<\/ol>\n<p>Any of these three approaches might get you to where you need to be, depending on your situation.\u00a0 As Matt Asay <a title=\"We're living in a post-open source world\" href=\"http:\/\/www.infoworld.com\/t\/open-source-software\/were-living-in-post-open-source-world-246448\">recently pointed out<\/a>, the trend is towards more permissive licensing, and less worrying about the license in general.\u00a0 So, JFDI: Just Fork &amp; Do It.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article is also posted to my Intelink blog. Every so often, a government project manager asks me a question like this: I&#8217;m looking to hire some government guys and I&#8217;m interested in young folks hacking on [my project]. So, here&#8217;s my predicament:\u00a0 if they work on the code, their work becomes &#8216;public domain&#8217; and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,11,12],"tags":[],"class_list":["post-1407","post","type-post","status-publish","format-standard","hentry","category-it","category-oss","category-work"],"_links":{"self":[{"href":"https:\/\/risacher.org\/jfdi\/wp-json\/wp\/v2\/posts\/1407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/risacher.org\/jfdi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/risacher.org\/jfdi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/risacher.org\/jfdi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/risacher.org\/jfdi\/wp-json\/wp\/v2\/comments?post=1407"}],"version-history":[{"count":16,"href":"https:\/\/risacher.org\/jfdi\/wp-json\/wp\/v2\/posts\/1407\/revisions"}],"predecessor-version":[{"id":1423,"href":"https:\/\/risacher.org\/jfdi\/wp-json\/wp\/v2\/posts\/1407\/revisions\/1423"}],"wp:attachment":[{"href":"https:\/\/risacher.org\/jfdi\/wp-json\/wp\/v2\/media?parent=1407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/risacher.org\/jfdi\/wp-json\/wp\/v2\/categories?post=1407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/risacher.org\/jfdi\/wp-json\/wp\/v2\/tags?post=1407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}