copyright software dmca eula
Is it illegal to reverse engineer a software if the EULA prohibits it for all purposes?
<p>I have installed an Android app that lets me play with networking and HTTP headers.
One of the perks of the app is to be able to export a configuration file so other users that also have the app can import it and use your server (the purpose of the app is to make an SSH tunnel so the config files have SSH server address and credentials, among other things)
The thing is, you can choose to "lock" the configuration files so the people you share them with can import them and connect to your server, but can't actually see the server address or credentials. I assume the files are encrypted with AES and the key is static, but I'm getting off-topic now.</p>

<p>One of the clauses in the EULA clearly states:</p>

<blockquote>
  <p>"You may not decompile or reverse engineer the software, for any purpose or under any circumstance."</p>
</blockquote>

<p>The reason I want to reverse engineer it is to decode the configuration files, so the people who want to can use the data in other apps such as OpenVPN.</p>

<p>The U.S law for reverse engineering is pretty clear in this regard:</p>

<blockquote>
  <p>(f)Reverse Engineering.—
  (1)Notwithstanding the provisions of subsection (a)(1)(A), a person who has lawfully obtained the right to use a copy of a computer program may circumvent a technological measure that effectively controls access to a particular portion of that program <strong>for the sole purpose of identifying and analyzing those elements of the program that are necessary to achieve interoperability of an independently created computer program with other programs</strong>, and that have not previously been readily available to the person engaging in the circumvention, to the extent any such acts of identification and analysis do not constitute infringement under this title.</p>
</blockquote>

<p>So, in this case, since my objective is to achieve interoperability (so users can use the data from the config files in other apps) wouldn't this count as an unlawful clause in the license agreement, therefore, invalidating the entire contract?</p>

<blockquote>
  <p>wouldn't this count as an unlawful clause in the license agreement, therefore, invalidating the entire contract?</p>
</blockquote>

<p>No. The excerpt of legislation you posted implies that the clause in the EULA is <em>null and void</em> --rather than <em>illegal</em>-- if your reason for reverse engineering meets the legislative criteria.</p>

<p>For the clause to be <em>illegal</em>, the statute would have to <em>outlaw clauses</em> which prohibit the reverse engineering intended for achieving interoperability. The statute does not prohibit those clauses. Instead, it only authorizes you to ignore that clause, provided that your reason for doing so is to achieve interoperability.</p>

<p>Lastly, an invalid clause does not invalidate the entire contract. Any portions of the contract which do not depend on the invalid clause retain their status of [being] binding and enforceable.</p>

<h2>No</h2>

<p>However, if you do reverse engineer the software you cannot use the licence for any other purpose. By doing so you have “stepped out” of the licence and can only copy the software as permitted by copyright law. Therefore, if you do reverse engineer it you may lose the ability to do other things you want to do.</p>

<p>Just to play Devil's advocate with the bold you've selected in <a href="https://www.law.cornell.edu/uscode/text/17/1201" rel="nofollow noreferrer">Title 17 Code 1201</a> paragraph f subparagraph 1:</p>

<p>(1) Notwithstanding the provisions of subsection (a)(1)(A), <strong>a person who has lawfully obtained the right to use a copy of a computer program</strong> may circumvent a technological measure that effectively controls access to a particular portion of that program for the sole purpose of identifying and analyzing those elements of the program that are necessary to achieve interoperability of an independently created computer program with other programs, and that have not previously been readily available to the person engaging in the circumvention, to the extent any such acts of identification and analysis do not constitute infringement under this title.</p>

<p>... the copyright holder could (and presumably would) argue that your lawful right to use a copy of the program was contingent on your acceptance of the End User License Agreement in its entirety, and as such any use of the program by you without this agreement would not be lawful. </p>

<p>If you're going ahead with this, make it your lawyer's problem, not yours.</p>
