The All Writs Act is a United States federal statute, codified at 28 U.S.C. § 1651, which authorizes the United States federal courts to "issue all writs necessary or appropriate in aid of their respective jurisdictions and agreeable to the usages and principles of law."
The act in its original form was part of the Judiciary Act of 1789. The current form of the act was first passed in 1911 and the act has been amended several times since then, but it has not changed significantly in substance since 1789.
The text of the Act is:
(a) The Supreme Court and all courts established by Act of Congress may issue all writs necessary or appropriate in aid of their respective jurisdictions and agreeable to the usages and principles of law. (b) An alternative writ or rule nisi may be issued by a justice or judge of a court which has jurisdiction.
Application of the All Writs Act requires the fulfillment of four conditions:
The U.S. Supreme Court has ruled that federal administrative agencies can invoke the All Writs Act to preserve the status quo when a party within the agency's jurisdiction is about to take action that will prevent or impair the agency from carrying out its functions. In FTC v. Dean Foods Co., the Supreme Court held that a court of appeals to which an appeal could be taken against an FTC order banning a merger could properly issue a preliminary injunction under the All Writs Act while the FTC determined the merger's legality, if the need for injunctive relief was "compelling". In that case the acquired company would cease to exist since the acquiring company was about to sell all acquired milk routes, its plants and equipment, and other assets, precluding its restoration as a viable independent company if the merger were subsequently ruled illegal. This would prevent a meaningful order from being entered in the case. The Court held that the All Writs Act extends to the potential jurisdiction of an appellate court where an appeal is not then pending, but may later be perfected.
In a later similar case, the Second Circuit denied relief, because an All Writs preliminary injunction should issue only if the FTC can show that "an effective remedial order, once the merger was implemented, would otherwise be virtually impossible, thus rendering the enforcement of any final decree of divestiture futile." The Second Circuit opined that the merger probably violated the antitrust laws but did not believe that effective relief would be "virtually impossible." The Supreme Court reached a similar result in a later case involving an agency's dismissal of an employee. The reason was that judicial review would not be defeated as in Dean Foods.
In 1984, the D.C. Circuit relied on Dean Foods as authority for issuance of an All Writs order to compel the FCC to act on a petition that it had allegedly delayed for almost five years without acting on it.
The U.S. Supreme Court ruled in United States v. New York Telephone Co. 434 U.S. 159 (1977) that the act provided authority for a U.S. District Court to order a telephone company to assist law enforcement officials in installing a device on a rotary phone in order to track the phone numbers dialed on that phone, which was reasonably believed to be used in furtherance of criminal activity.
The government has been trying to use the All Writs Act since at least 2008 to force various companies to provide assistance in cracking their customers' phones. The American Civil Liberties Union has confirmed at least 76 cases in 22 states where the government applied for an order under the All Writs Act. In addition, Apple has identified 12 pending cases in its court documents, and the ACLU has found one additional case in Massachusetts.
Here are some specific examples:
On October 31, 2014, a U.S. District Court in New York authorized a writ directing a mobile phone manufacturer, whose identity was not disclosed, to assist an investigation of credit card fraud by bypassing a phone's password screen.
On November 3, 2014, the Oakland Division of the U.S. Attorney's Office named Apple Inc. in papers invoking the Act, which were filed in the United States District Court for the Northern District of California. Federal law enforcement sought to require Apple to extract data from a locked iPhone 5S as part of a criminal case.
On February 16, 2016, the Act was invoked again in an order that Apple Inc. create a special version of its iOS operating system, with certain security features removed, for Federal law enforcement officers to use as part of an investigation into the 2015 San Bernardino terrorist attack. The head of the FBI stated that what was requested was that Apple disable the iPhone's feature which erases encrypted data on the device after ten incorrect password attempts. Apple claimed that complying with the order would make brute force password attacks trivial for anyone with access to a phone using this software. Apple CEO Tim Cook in an open letter warned of the precedent that following the order would create. On the same day, the Electronic Frontier Foundation announced its support for Apple's position. Several public figures have joined the debate.
On March 20, 2017, the Court of Appeals for the Third Circuit stated that a decryption order issued under the Act did not violate the Fifth Amendment privilege against self-incrimination if the contents of a hard drive were a "foregone conclusion."
In court filings, Apple has argued that Congress has established guidelines for what is required of private entities in such circumstances in the Communications Assistance for Law Enforcement Act of 1992 (CALEA). The DOJ has argued, both in October in Brooklyn and in filings on February 19, 2016, against Apple that CALEA does not apply to these cases, which involve "data at rest rather than in transit", an important distinction for determining whether CALEA applies, nor does it alter the authority granted the courts under the All Writs Act. On February 29, 2016, Magistrate Judge James Orenstein issued an order denying the government's request in its effort to decrypt an iPhone for admission as evidence.
Sen. Ron Wyden, D-Ore., a privacy advocate on the Senate Intelligence Committee, argued: "If the FBI can force Apple to build a key, you can be sure authoritarian regimes like China and Russia will turn around and force Apple to hand it over to them ... They will use that key to oppress their own people and steal U.S. trade secrets."