<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Can the Government Compel Decryption? Don’t Trust — Verify</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2022 November</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10358596</idno>
					<idno type="doi"></idno>
					<title level='j'>2nd ACM Symposium on Computer Science and Law</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Aloni Cohen</author><author>Sarah Scheffler</author><author>Mayank Varia</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[If a court knows that a respondent knows the password to a device, can the court compel the respondent to enter that password into the device? In this work, we propose a new approach to the foregone conclusion doctrine from Fisher v. U.S. that governs the answer to this question. The Holy Grail of this line of work would be a framework for reasoning about whether the testimony implicit in any action is already known to the government. In this paper we attempt something narrower. We introduce a framework for specifying actions for which all implicit testimony is, constructively, a foregone conclusion. Our approach is centered around placing the burden of proof on the government to demonstrate that it is not “rely[ing] on the truthtelling” of the respondent.Building on original legal analysis and using precise computer science formalisms, we propose demonstrability as a new central concept for describing compelled acts. We additionally provide a language for whether a compelled action meaningfully entails the respondent to perform in a manner that is “as good as” the government’s desired goal. Then, we apply our definitions to analyze the compellability of several cryptographic primitives including decryption, multifactor authentication, commitment schemes, and hash functions. In particular, our framework reaches a novel conclusion about compelled decryption in the setting that the encryption scheme is deniable: the government can compel but the respondent is free to use any password of her choice.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>In a criminal case, if the government wants to read the contents of your encrypted phone or laptop, can they compel you to enter or disclose your password? If so, when? The question sounds simple, but it doesn't have an answer. Instead, it has too many answers.</p><p>In the past few years, several state supreme courts in the United States have grappled with this question and reached wildly different rulings. The Massachusetts Supreme Judicial Court found that you can be compelled to enter your password to decrypt the hard drive contents [9, 10], whereas the Indiana Supreme Court reached the opposite conclusion <ref type="bibr">[35]</ref>. The New Jersey Supreme Court ruled that you can even be forced to disclose your password <ref type="bibr">[36]</ref>, whereas the Pennsylvania Supreme Court ruled that passwords themselves cannot be compelled <ref type="bibr">[8]</ref>. Conflicting decisions also exist among federal circuit courts <ref type="bibr">[19,</ref><ref type="bibr">40]</ref> and district courts (e.g., <ref type="bibr">[20,</ref><ref type="bibr">34,</ref><ref type="bibr">44,</ref><ref type="bibr">47]</ref>).</p><p>The confusion stems from disagreement about how to adapt the law of pre-digital act of production cases, where the government compels production of physical documents (see e.g., <ref type="bibr">[13,</ref><ref type="bibr">43,</ref><ref type="bibr">46]</ref>). How should we overcome this physical-digital divide? Most prior work starts from the notion that encryption isn't fully understood within the law, and reasons about how encryption technology is analogous to-or fundamentally different from-physical acts of production. This article pursues a different path: we use the fact pattern of compelled decryption as a means to interrogate our understanding of the act of production doctrine generally.</p><p>The foregone conclusion doctrine. This work exclusively considers the law in the United States, where the government's ability to compel an action is substantially limited by the Fifth Amendment to the U.S. Constitution <ref type="bibr">[39]</ref>. The Fifth Amendment prohibits the government from compelling an individual to provide selfincriminating testimony, such as oral or written statements that "disclose the contents of his own mind" <ref type="bibr">[11]</ref>.</p><p>Moreover, the government cannot compel an individual-who we call the respondent-to perform an action which, by its very performance, would reveal implicit testimony. But there's a catch: an action that communicates implicit testimony can be compelled if all the implicit testimony is already a "foregone conclusion. " If the government knows it, the implicit testimony would "add[] little or nothing to the sum total of the Government's information" about the respondent's mind <ref type="bibr">[13]</ref>, and the government would in no way be "relying on the truthtelling" of the respondent. This idea is called the foregone conclusion doctrine and stems from the 1976 Supreme Court case Fisher v. United States <ref type="bibr">[13]</ref>.</p><p>Complementing the law with computer science. This work pursues a formal (in the computer science sense) investigation of the foregone conclusion doctrine. Our target is a specification of the relevant law, written in the language of math and cryptography, that captures a meaningful and coherent version of the foregone conclusion doctrine. Our objective for doing so is to to gain a deeper understanding of the foregone conclusion doctrine in order to reason clearly and consistently about compelled decryption under varying present and future fact patterns.</p><p>We don't want to mechanize the law. Law is flexible and adapts to new situations, and attempts to encode society's rules into a rigid computer algorithm (aka, "code as law") typically don't end well <ref type="bibr">[28,</ref><ref type="bibr">52]</ref>. Hence, our pursuit of a computer science specification is not meant to replace the law, but to illuminate it. Courts and legal scholars disagree wildly about compelled decryption. Some of that is due to imperfect analogies. Some is genuine disagreement as to what the law is. Some is simply bad law. In many cases, it is unclear how the various approaches relate to one another or apply to alternative scenarios.</p><p>Our goal is to present our approach in enough detail that one can apply it to unforeseen facts and get a concrete answer. Other scholars can identify both if and where they disagree with our interpretation. We make no claims that our work is "the correct interpretation" of the doctrine. We do claim that it is reasonable and coherent, that it exposes the nuance and ambiguity in the law, and that it serves as a base for others to improve in the future.</p><p>Demonstrating foregone conclusions through verification. Consider a government actor G and a respondent R. The overarching question is whether the government can compel the respondent to perform a certain action A, such as producing documents or decrypting a computer. In this work, we specify A as an algorithm that can request inputs from the respondent's mind, like the document's location or the computer's password. If this action involves explicit testimony, then it is strictly forbidden and the concept of foregone conclusion is irrelevant.</p><p>Otherwise, to compel this action, the government must generally show two things. 1 First, the government must establish that the respondent can perform the action A by submitting some convincing evidence E to the court. Second, in compelling the respondent to perform the action, the government must not "rely on the truthtelling" of the respondent R.</p><p>A key insight from Fisher is that the government does not rely on R's truthtelling if it has some way of verifying that R performed the required action. The government's task is typically called "authentication" in legal scholarship because when A is an act of production then it corresponds to authenticating in the evidentiary sense. We generalize the concept because authentication of evidence is a poor fit when A is an act of performance instead; see &#167;2 for details.</p><p>Our goal is to make Fisher's verification idea precise. One approach might be to require that the government specifies a procedure V that checks whether the respondent R has performed the action exactly. But this approach is too restrictive. For example, suppose the action is "enter a password into this password prompt. " Must R stand or sit? Eyes open or closed? Can R make a typo if it succeeds on the second try? Of course the government doesn't care about any of this -it just wants the password to be entered. Another approach might be for the government to specify a set of all acceptable actions, but this set is infinite. The upshot is that the government's interest lies in the ends, not the means, and we should approach the foregone conclusion doctrine accordingly.</p><p>Our insight is to flip A and V around. Rather than asking how to verify a particular action A, in this work we make the verification procedure V the centerpiece of any foregone conclusion claim. For example, rather than compelling the respondent to "enter a password, " instead the government compels the respondent to "do something that gets past the login prompt screen and to the point that we can open the file explorer. " It is then up to the respondent to choose any action A that conforms to this verifier V.</p><p>Making the verifier V the centerpiece of our specification immediately resolves cruel trilemma of "relying on the truthtelling. " The respondent is free to perform any action it wants so long as V accepts; there is no longer a question of honesty or evasion. The only remaining question is how to evaluate whether the respondent's task is feasible in the first place. We impose the weakest requirement: the government must demonstrate that, based on the evidence, the respondent can perform some action A * that V accepts. We call A * the exemplar action, and we call V demonstrable if it has such an exemplar action. In summary, our shift in focus from A to V changes how we view compulsion: instead of "is action A a foregone conclusion?" we ask "is verifier V demonstrable?" 1 These two things are neither necessary nor sufficient conditions for compelling an action. For example, they are not sufficient if the act is providing oral or written testimony, and they are not necessary if the act is not incriminating.</p><p>Meaningfulness. The cost of this shift in focus is a lack of clarity about what the government will get. Presumably the government has a target action T in mind that it really wants the respondent to perform. There are many demonstrable V's for any given scenario; for example, the trivial V that accepts any action is always demonstrable, but it provides no guarantee that the government will receive the result of T or anything remotely resembling it. Another example of a demonstrable-but-meaningless verifier is to compel the respondent to flip a coin and verify that the result is one of "heads" or "tails" (rather than, say, "42").</p><p>But sometimes, it may be possible to gather enough evidence and specify V in enough detail that the respondent must perform an action that is more-or-less equivalent to T . We call this property entailment and we codify the claim of "more-or-less equivalent" using the cryptographic notion of extraction. That is, V entails T if the government can transform the result of any conforming action into the fruits of the action T it desired all along.</p><p>Our contributions. This work makes several contributions in the domains of law and computer science.</p><p>&#8226; As a matter of law, we adopt a view of implicit testimony as comprised of dual but equally important parts: ex ante ability and ex post conformity. We also present a new verificationcentric approach to compelling acts while constructively satisfying the foregone conclusion doctrine ( &#167;2). &#8226; We define the concepts of demonstrability and entailment within a formal computer science framework ( &#167;3-5). The framework is expressive enough to capture, for example, the government's uncertainty as to whether an encryption scheme is deniable or not. &#8226; Connecting the computer science to the law, we investigate whether several acts involving cryptography are compellable within our framework ( &#167;6 and Appendix A). Generally speaking, we believe that &#167;2 will be of most interest to readers with a background in law, and &#167;3-5 will appeal to a computer science audience. That said, we highlight some of the takeaways about the compellability of cryptography, for both audiences.</p><p>&#8226; Decryption by entering a password is entailable in the (typical) case that the encryption scheme is committing. This is true even when using two-factor authentication. More generally, opening commitments is generally entailable. &#8226; Our framework reaches a novel middle ground conclusion if decryption is deniable -meaning that it will reveal different files when given a duress password. &#8226; In contrast to decryption and opening commitments, the acts of encrypting and creating commitments are not entailable. &#8226; Hash functions add a twist: compelling preimages is demonstrable and-under a cryptographic assumption-entailable.</p><p>Comparison to prior work. This article is inspired by several recent works that codify legal principles with computer science techniques <ref type="bibr">[1,</ref><ref type="bibr">4,</ref><ref type="bibr">5,</ref><ref type="bibr">14,</ref><ref type="bibr">22,</ref><ref type="bibr">29,</ref><ref type="bibr">30]</ref>, including Scheffler and Varia's related work on compelled decryption <ref type="bibr">[32]</ref> that we contrast with in &#167;7. Additionally, this work is influenced by a large body of legal scholarship on compelled decryption <ref type="bibr">[6, 23-27, 31, 37, 38, 51]</ref>, some of which suggest broad powers to compel decryption and some argue that the government can only compel files that they already know with "reasonable particularity. "</p><p>Our framework generally aligns with the broader interpretation, and it considers all acts of performance beyond just the produced files. In the next section, we delve deeper into case law, scholarship, and the value of a verification-centric approach as a matter of law.</p><p>The question of deniable encryption highlights the differences between the current work and prior work (see Section 6.2). Deniable encryption introduces a duress password which, when entered, allows a device to be decrypted to something other than its true contents. In Comm. v Gelfgatt, the court simply ordered the respondent to use the true password rather than the duress password. 2  Sacharoff sets aside this "niche case because deniable encryption remains rare" <ref type="bibr">[31]</ref>. Kerr argues that duress passwords are "unlikely to raise significant Fifth Amendment issues" because, if used, "the government will not realize what the user has done. " 3 Cohen and Park argue that the government would be unable to compel decryption without some way of distinguishing the respondent's use of the true and duress passwords <ref type="bibr">[6]</ref>.</p><p>In contrast, our framework would allow the government to compel the respondent enter one of the true or duress passwords, but the respondent would be free to choose. If the government also had evidence as the contents of the encrypted drive-say, specific filenames as in In re Boucher <ref type="bibr">[20]</ref>-the government could require that the apparently-decrypted device contain the known files by checking for those files in the verification procedure. In such cases, our framework yields a procedure more like Sacharoff's and Cohen-Park's than Kerr's. But like Kerr, meaningful acts are compellable even without any specific knowledge of the device's contents.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">A NEW TAKE ON FOREGONE CONCLUSIONS</head><p>This section gives a too-brief overview of the law of the foregone conclusion doctrine and of our new approach to that doctrine. A full treatment is out of scope in this paper. 4  The Fifth Amendment to the US Constitution provides individuals a privilege against being "compelled in any criminal case to be a witness against himself. " 5 Courts and legal scholars disagree about how this privilege applies to so-called compelled decryption cases, wherein the government seeks to compel an individual to unlock or decrypt an encrypted phone, computer, or hard drive. At issue is how the foregone conclusion test applies to the act of decryption. 2 Comm. v Gelfgatt [9] at note 10 (the decryption "protocol" states in relevant part: "The defendant shall manually enter the password or key to each respective digital storage device in sequence. . . . The defendant is expressly ordered not to enter a false or 'fake' password or key"). 3 Kerr <ref type="bibr">[24]</ref> at note 78. It is not clear to what extent these are statements of legal doctrine (e.g., no implicit testimony at issue; the testimony is always a foregone conclusion) or of practical reality (e.g., the deniable encryption will be invisible and therefore will not be at issue in the proceedings). In one sense, Kerr agrees with us: when ordered to "bypass [the] password prompt" a respondent is free to use a duress password. But he seems to suggest that this is merely a de facto freedom, and that use of a duress password could "violate the Decryption Order. " Under this reading, an order forbidding the use of the duress password (as in Gelfgatt, note 2 above) may be permissible even if the government "will not realize what the user has done." In contrast, this paper argues that the decryption order can only forbid the use of a duress password if the government is able to verify whether or not the true password was used. Otherwise, the act of decrypting with the true password would communicate testimony as to conformity that is not a foregone conclusion. 4 A draft of a companion law review article was presented at the Privacy Law Scholars Workshop in 2021 <ref type="bibr">[7]</ref>. 5 U.S. Const. Amend. V.</p><p>The Fifth Amendment's privilege applies only to acts that are "testimonial." 6 An act is testimonial when it "explicitly or implicitly[] relate[s] a factual assertion or disclose[s] information. " 7 As such, a person may be compelled to furnish a blood sample 8 or to put on a shirt 9 no matter how incriminating. But a person may not be compelled to make incriminating oral or written statements.</p><p>Implicit testimony and the foregone conclusion doctrine. An act may have "testimonial aspects" even if it does not involve any oral or written testimony as such. Fisher v. U.S. lays out a version of this idea now called the act of production doctrine. In Fisher, the government issued a subpoena to compel the defendant to produce certain documents. "The act of producing the documents has communicative aspects of its own, wholly aside from the contents of the papers produced. Compliance with the subpoena tacitly concedes the existence of the papers demanded and their possession or control by the <ref type="bibr">[respondent]</ref>. It also would indicate the [respondent]'s belief that the papers are those described in the subpoena. " The lesson is that testimony may be implicit in an act. Fisher's examples-existence, possession, and authenticity-are an application of this idea to the specific act of producing physical evidence.</p><p>Fisher also introduced the foregone conclusion doctrine which provides a way for the government to compel an act of production despite the implicit testimony. Kerr gives a typical account of the doctrine <ref type="bibr">[24]</ref>:</p><p>[W]hen the testimonial aspect of a compelled act "adds little or nothing to the sum total of the Government's information," any implied testimony is a "foregone conclusion" and compelling it does not violate the Fifth Amendment. . . . The Court [in Fisher] held that the testimony implicit in handing over the tax documents was a foregone conclusion because the government was "in no way relying on the 'truthtelling' of the [respondent]" to prove it. In other words, "A valid privilege exists only when the compelled act is testimonial under the act of production doctrine but is not a foregone conclusion" <ref type="bibr">[24]</ref>. Importantly, the foregone conclusion doctrine only considers testimony implicit in an act. It does not apply to 'pure' oral or written testimony -no matter how foregone, pure testimony cannot be compelled. 10 And the foregone conclusion doctrine is unconcerned with information that may result from the act, but is not implied by the act. Borrowing an example from Kerr, the testimony implicit in the act of opening a door to a treasure filled room does not include the treasure itself, only the "door-opening" testimony. The value of the treasure is not relevant to the Fifth Amendment privilege. 6 Fisher v. United States, 425 U.S. <ref type="bibr">391, 408 (1976)</ref> [13] 7 United States v Doe, 487 U.S. <ref type="bibr">201, 208 (1988)</ref> [12] 8 Schmerber v. California, 384 U.S. 757, 763-764 (1966) <ref type="bibr">[33]</ref> 9 Holt v. United States, 218 U.S. <ref type="bibr">245 (1910)</ref> [15] 10 Fisher, 258 U.S. [13] ("It is doubtful that implicitly admitting the existence and possession of the papers rises to the level of testimony within the protection of the Fifth Amendment" at 411; additionally "it [the subpoena to produce documents] does not compel oral testimony, nor would it ordinarily compel the taxpayer to restate, repeat, or affirm the truth of the contents of the documents sought[, t]herefore the Fifth Amendment would not be violated" at 409. These statements contrast this foregone conclusion doctrine against explicit compelled admittance of the existence and possession of the papers by oral testimony. Thus the foregone conclusion doctrine may compel only implicit testimony and not explicit oral testimony, even if that information is already known to the government.) Ability and conformity. Applying the foregone conclusion doctrine first requires answering the question: what are the implicit testimonial aspects in the act of decryption (or some other act of performance) <ref type="bibr">[6,</ref><ref type="bibr">19,</ref><ref type="bibr">24]</ref>? This may sound easy, but it is where many compelled decryption analyses diverge. For example, Kerr concludes that " 'I know the password' is the only assertion implicit in unlocking the device" <ref type="bibr">[24]</ref>. Cohen and Park respond that "[d]eniable encryption complicates the very notion of 'the' password by introducing an alternate duress password" that appears to decrypt but hides certain files <ref type="bibr">[6]</ref>.</p><p>We adopt the view that there are two types of testimony implicit in acts of performance: ability and conformity. By honestly performing an act specified by the government, a respondent implicitly asserts "I can do it" and "I did do it. " Ability-I can do it-is the respondent's ex ante belief that she is able to perform the compelled act. Conformity-I did do it-is the respondent's ex post belief that she did indeed perform the compelled act as specified. This view has appeared in prior works, though the terms are new. For example, Kerr describes these as the "two kinds of beliefs" implicit in a compelled act. 11  The importance of ability to the foregone conclusion doctrine is well accepted, and the notion of ability has evolved beyond its act-of-production genesis. For physical production of some object, ability amounts to the existence of the object and the respondent's possession and control thereof, Fisher [13]. For entering a password, ability often amounts to the respondent's knowledge of the password <ref type="bibr">[24]</ref>. For decryption and production of encrypted drives, ability communicates the respondent's "possession, control, and access to the encrypted portions of the drives; and of his capability to decrypt the files" <ref type="bibr">[19]</ref>.</p><p>By contrast, conformity's role is often minimized or overlooked. Fisher and all subsequent caselaw and scholarship focus on only one aspect of conformity: authenticity. In Kerr's analysis, only ability informs his analysis of compelled decryption. 12 An act of production in response to a subpoena implicitly communicates "that the articles produced are the ones demanded" <ref type="bibr">[50]</ref>. But while authenticity -whether something is what it purports to be -is appropriate for acts of production, it is an ill fit for acts of performance where the respondent must do something instead of produce something. Compelled decryption-say, by typing a password into an encrypted computer-is typically best treated as an of performance, not production. 13 We consider conformity as a generalization of authenticity that is relevant to acts of performance as well as production, and our work gives conformity equal consideration for the first time.</p><p>A key difference between how Kerr and Cohen-Park treat compelled password entry is the importance they attach to conformity <ref type="bibr">[6,</ref><ref type="bibr">24]</ref>. Both agree on ability: the act of entering a password communicates knowledge of the password. But they disagree about conformity in the context of deniable encryption. Kerr dismisses it, stating that "the government will not realize what the user has done." Cohen and Park recognize that deniable encryption implicates conformity exactly because the government cannot tell what the user has done.</p><p>The foregone conclusion exception. Once the implicit testimonial aspects of the act of decryption are identified, the foregone conclusion doctrine asks: Are those aspects foregone conclusions <ref type="bibr">[6,</ref><ref type="bibr">19,</ref><ref type="bibr">24]</ref>? Ability is a foregone conclusion if the government can demonstrate that the respondent can perform the action ex ante. Conformity is a foregone conclusion if the government can demonstrate ex ante that it will be able to verify whether the respondent performed the action ex post.</p><p>Ability raises no new difficulties. The government must show that the respondent can perform the act. Depending on the act, this amounts to showing that the papers exist and and are in his control <ref type="bibr">[13,</ref><ref type="bibr">46]</ref>; that he knows the password (e.g. <ref type="bibr">[8-10, 34, 42, 48]</ref>); or that he is able to speak, write, or make a gesture <ref type="bibr">[33]</ref>. In our formalism, the government meets its ability burden by (1) describing an exemplar action that is "conforming" (see below), and (2) presenting evidence that the respondent is able to perform the exemplar action.</p><p>Conformity is more challenging. Conformity is a foregone conclusion if the government can demonstrate that it will be able to verify whether or not the respondent performed the compelled act after the fact. Our framework requires the government to specify the procedure it will use to verify the act, and deems any act that successfully verifies as conforming.</p><p>Under this approach, the verification procedure is the centerpiece of a motion to compel. The question of conformity is resolved by construction: any action that verifies, verifies. To show that ability is a foregone conclusion, the government must demonstrate that there exists a conforming exemplar action that the respondent can perform. If so, we say the verification procedure is demonstrable.</p><p>Our approach to conformity addresses a shortcoming in the status quo's treatment of conformity in the guise of authenticity. In compelled decryption cases to date, courts have generally dealt with authenticity in one of four unsatisfactory ways. (In each, replacing "authenticity" with "conformity" would not fix the problem.) First, ignore the issue altogether: "the authenticity element is routinely cited but only applied loosely if at all." <ref type="foot">14</ref> Second, defer the question to trial, which we fear could allow the government to make improper use of fruit of a poisonous tree. Third, hold that decryption is self-authenticating-a technological assertion that deniable encryption, for example, disproves. Fourth, attempt to reason about the production of some thing-a password, plaintext, or ciphertext -rather than the performance of an act, a confusing and unworkable approach. <ref type="foot">15</ref>Conformity should not be a mere afterthought. Even before Fisher, Wigmore's Treatise on Evidence <ref type="bibr">[50]</ref> states that production of documents or chattels may only be compelled from a respondent "without the use against him of process relying on his truthtelling. " Where conformity is not a foregone conclusion, the government would be improperly "relying on his truthtelling." This reliance is clear in Comm. v. Gelgatt, where the court simply ordered the respondent "[n]ot to enter a false or 'fake' password" although it could not check compliance. <ref type="foot">16</ref> Such orders revive the cruel trilemma that is at the heart of the religious tribunals that gave rise to the right to silence: the respondent must choose among perjury, contempt of court, and self-incrimination.</p><p>A new procedure for motions to compel. Based on our framework, we suggest a new procedure for motions to compel decryption or other acts of performance. First, the government makes a motion to compel. It specifies a verification procedure and demonstrates that the respondent is able to perform some exemplar action that verifies. To do so, the government must clearly detail the steps of both the verification procedure and the exemplar action in a manner understandable by the judge and the respondent. The exemplar action must be one that the government would have been able to compel if all implicit testimony was forgone. In particular, the exemplar cannot require explicit oral or written testimony. The government must also introduce any evidence that it needs to demonstrate the respondent's ability to perform the exemplar.</p><p>Second, the respondent may challenge the motion to compel in a few different ways. She may challenge the accuracy of the government's evidence. She may also argue that she cannot perform the exemplar action. Or she may argue that the Fifth Amendment privilege precludes the exemplar action for reasons other than implicit testimony. (The respondent may not appeal to conformity, which is foregone by construction.)</p><p>The court must then decide whether to quash the motion or to grant it by issuing an order. The order would compel the respondent to perform an action of his choosing that passes the governmentspecified verification procedure. The order would contain within it a complete description of the procedure and the exemplar action.</p><p>In the new procedure based on our framework, it is important for the order to clearly specify the evidence, method of verification, and exemplar. Doing otherwise would undermine the Fifth Amendment privilege. The resulting uncertainty would present the respondent with a cruel choice: either risk contempt for failing the verification procedure or risk disclosing implicit testimony which is not foregone. Moreover, the idea that the government must provide the verification procedure before compelling an action is already present in, for example, U.S. v Bright.<ref type="foot">foot_3</ref> As an added benefit, a welldefined verification procedure might be relevant in disputes over the introduction or authentication of evidence at trial time.</p><p>Under our framework, the respondent can perform any act that passes the government's verification procedure. Presumably the government has in mind some target action that it wants the respondent to perform (e.g., the exemplar). But if the government cannot tailor its verification procedure appropriately, then the compelled act may be meaningless. If however the verification is tailored so as to require something "just as good" as the target, we say that the verification procedure entails the target.</p><p>For example, consider the verification procedures the government could use to compel decryption of a device encrypted using deniable encryption. It could, of course, check that the device appears to be logged in. However, compelling this would clearly allow a decryption under both the true and duress passwords to pass the verification procedure. Using the duress password is allowed-the respondent would not be acting untruthfully. But if the government had specific knowledge of a file visible only using the true password, then checking for that file would prevent the duress password's use.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">COMPUTATIONAL FORMALISM</head><p>In this section, we describe the formal model of computation that we consider in this work. It is inspired by the computation and communication model within Canetti's universal composability (UC) framework <ref type="bibr">[2]</ref> and it directly extends the computational model used within Scheffler and Varia's prior work on compelled actions and foregone conclusions <ref type="bibr">[32,</ref><ref type="bibr">Appendix A]</ref>.</p><p>Concretely, we model computation as a collection of stateful, event-driven interactive Turing machines (ITM). These Turing machines have two tapes called a method tape and an input tape. When a machine is invoked with a string Method on its method tape and an input input on its input tape, it executes the code of Method. Additionally, the machines have additional tapes that allow them to communicate with each other using authenticated, confidential channels, following the model of Canetti, Cohen, and Lindell <ref type="bibr">[3]</ref>.</p><p>In this work, we describe the methods of an interactive Turing machine using object-oriented pseudocode. Here is an example:</p><p>Example ITM &#119872;:</p><p>&#119872; &#8242; .Receive(&#119909; 1 , &#119909; 2 , &#119909; 3 ) Our ITMs have variables and methods. By default, all variables are private and local and all methods are public. The example machine &#119872; above has three local variables, where &#119909; 1 can be initialized arbitrarily, &#119909; 2 is initialized to some nonzero value, and &#119909; 3 is initialized to the value 5. &#119872; also has public methods &#119872;.Set and &#119872;.Send. So, we can invoke machine &#119872; by placing Set on its method tape and (&#119894;, &#119909; &#8242; ) on its input tape. (When an ITM has only one method and no variables, we omit naming the method.) The Send command sends a communication to another Turing machine &#119872; &#8242; that it should invoke a method of its own called Receive. <ref type="foot">18</ref>Looking ahead, in this work it will be useful to model situations in which the government knows that a device has a specific behavior in some situations, but may not know the entire code of the device. For this reason, we define a partial ordering &#8828; on machines. Definition 3.1. Let &#119872; 1 and &#119872; 2 be interactive Turing machines, and let &#119878; denote the set of all methods specified within &#119872; 1 . We say that &#119872; 1 is a partial specification of &#119872; 2 (equivalently, &#119872; 2 implements &#119872; 1 ), denoted &#119872; 1 &#8828; &#119872; 2 , if:</p><p>&#8226; &#119872; 2 contains at least all of the methods specified in &#119872; 1 , i.e., the methods specified in &#119872; 2 form a superset of &#119878;, and</p><p>&#8226; For all executions of the machines that only invoke the methods within &#119878;, if &#119872; 1 halts with some output then &#119872; 2 halts with the same output. This semantic equivalence must hold even over multiple, sequential invocations of the stateful machines &#119872; 1 and &#119872; 2 .</p><p>In our example above, we can consider &#119872; &#8828; &#119872; &#8242;&#8242; for any ITM &#119872; &#8242;&#8242; that contains Set and Send commands with the same code as listed above. That said, &#119872; &#8242;&#8242; might have additional commands, such as a Delete method that sets all variables to zero or a Write method that covertly overwrites a private variable. Note that &#8828; is uncomputable in general.</p><p>In this work, machines provided by the government (i.e., V, A * , T , and P defined below) tend to be fully specified. On the other hand, machines controlled by others (i.e., R and N ) are typically only partially specified since the government may only have some incomplete evidence about how they operate.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">A VERIFICATION-CENTRIC APPROACH TO COMPULSION</head><p>We consider a government actor G, a respondent R, and the outside world (nature)</p><p>, . . . , where the index is called the location. Oftentimes we will specify a device &#119863; as either a partial or full representation of an oracle at (for example) location &#8467; in Nature, denoted as</p><p>respectively. Some of nature's ITMs simply store information and their only functionality is a read() method that returns that information. We call such locations read only. In these cases, we sometimes simplify the notation by writing &#119909; &#8592; N <ref type="bibr">[1]</ref> instead of &#119909; &#8592; N <ref type="bibr">[1]</ref>.read(), for example. G and R don't interact with each other or with N directly. Instead, they each output ITMs that specify how they choose to act. The respondent outputs the action A it will take, and the government outputs a verifier V that represents how it will authenticate the action performed by the respondent. One can think of V and A as the actions G and R choose to perform under the circumstances. Separating V and A from G and R allows us to describe and reason about the interaction between government and respondent (and nature) while assuming very little about G and R.</p><p>We denote an execution &#10216;V N , A N,R &#10217;. 19 Here, V and A are ITMs that may interact freely with one another and with N . However, R may only interact with A, not with N nor A. The output of the execution is V's output: one of Accept or Reject along with a transcript &#120591; of its view and execution. Definition 4.1 (V accepts A). We say V accepts A with respect to R, N if &#10216;V N , A N,R &#10217; returns Accept with probability 1 over the coins of V, A, R, and machines in N . If N and R are clear from context we abbreviate this as V accepts A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Evidence</head><p>We envision the government as having some evidence that certain states of the world (N ) or the respondent's mind (R) are or are not 19 We borrow this notation from oracle machines to reinforce the ways the V, A, N, and R may and may not interact. More precisely though, V can invoke N and A can invoke N and R as (global) subroutines, in the UC language of Canetti <ref type="bibr">[2]</ref>. true. We represent the evidence as a binary relation E : (R, N ) &#8614; &#8594; {0, 1}. E (R, N ) = 1 means that the pair (R, N ) is consistent with the evidence. Even if E (R, N ) = 1, the "true" state of the world can be some other (R &#8242; , N &#8242; ). Conversely, E (R, N ) = 0 means that (R, N ) is inconsistent with the evidence. Namely, the evidence refutes that setting of R and N . (Note that E is generally uncomputable.) Definition 4.2 (E-consistency). Let E be a binary relation. We say that R, N are E-consistent if E (R, N ) = 1.</p><p>In our framework, E is exogenous and correct. We can imagine that the government has done the work to collect the evidence, introduced it in the court, and demonstrated its truth. As such, the "true" setting of R, N is E-consistent. (As a corollary, {(R, N ) : E (R, N ) = 1} &#8800; &#8709;.) We do not consider incorrect evidence.</p><p>It will be useful to reason about cases when the government has greater or lesser evidence. We define a (weak) partial ordering over evidence which captures whether evidence E 2 is "at least as strong as" evidence E 1 . This can arise when the government goes and gathers more evidence, or when it introduces additional evidence that it already had. Definition 4.3 (Partial ordering of evidence). Let E 1 and E 2 be binary relations, and let C E 1 , C E 2 be the set of E 1 -and E 2 -consistent worlds respectively. That is, C E &#119894; is the set of (R, N ) for which E &#119894; (R, N ) outputs 1 (note that these sets may be uncomputable).</p><p>We say E 2 &#10928; E 1 , or E 2 has at least as much evidence as</p><p>As discussed in Section 3, most of the time we consider partial specifications of ITMs. In Section 6 we will sometimes find it useful to consider evidences where the machines are specified fully. We define the following useful shorthand to capture this scenario. Definition 4.4 (Fully specified E &#119863; ). For evidence E and ITM &#119863;, we define E &#119863; &#10928; E to be the evidence where every assertion of the form "&#119863; &#10927; &#119872;" is replaced with "&#119863; &#8764; &#119872;. "</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Demonstrability</head><p>Our key mechanism to avoid "relying on the truthtelling" is for the government to specify a verifier V which will be used to verify the respondent's response. There must be some exemplar action A * which demonstrates that the respondent is able to make the verifier accept, however in the context of the court case the respondent is allowed to perform any action A that results in the verifier outputting Accept. Definition 4.5 (Demonstrability). A verifier V is demonstrable with respect to evidence E if there exists an "efficient" (see Remark 4.6) action A * such that for all (R, N ) that are E-consistent:</p><p>(1) Every method call by A * to R produces some output.</p><p>(2) V accepts A * with respect to R, N</p><p>The first requirement essentially requires that R is able to perform any actions in A * that directly involve the respondent's mind. Not only does this requirement ensure that E contains some evidence that R has the method called, the fact that the method must produce some output for all settings of R ensures that E must specify some behavior on the output of the method (or else the R for which the method outputs nothing will violate the statement).</p><p>Our envisioned courtroom procedure for a motion to compel would require G to provide V, A * , and E to the court and to R (see Section &#167;2).</p><p>Remark 4.6. We deliberately leave the "efficiency" requirement of A * somewhat vague in Definition 4.5. We expect that the court will want to define "ability to perform A * " in a way that implies some kind of reasonable time and effort limit. For example, if A * instructed R to decrypt a ciphertext, this is theoretically doable even without the key -if the respondent spends time greater than the lifetime of the universe running a brute-force decryption algorithm. Instead, we expect a more typical setting is when G knows R is capable of decrypting the ciphertext quickly (say, by using the key). We leave incorporating computational requirements to future work.</p><p>The respondent may perform any action A that results in the verifier outputting Accept. We call such actions conforming: Definition 4.7 (Conformity). A conforms with V for a given N, R if V accepts A with respect to N, R. If any of these algorithms are randomized, then acceptance must hold with probability 1 over all random choices. We also say A is V-conforming. Lemma 4.8 shows that the more evidence the government reveals, the more it can compel. An action never becomes "less compellable" by revealing more evidence. Focusing narrowly on compulsion, it is in the government's best interests to reveal all evidence it possesses. We also remark that adding more evidence only restricts the respondent's possible response actions. Lemma 4.8 (Demonstrability, conforming are monotonic in E). Let V be demonstrable with respect to evidence E 1 , and let A * be V-conforming. For all E 2 &#10928; E 1 , V is demonstrable with respect to E 2 , and A * is V-conforming.</p><p>Proof. Let C E &#119894; be the set of E &#119894; -consistent (R, N ) for &#119894; &#8712; {1, 2}. By definition of demonstrability, &#8704;(R, N ) &#8712; C E 1 , the execution</p><p>so the execution &#10216;V N , A * N,R &#10217; returns 1. Thus, V is also demonstrable with respect to E 2 , with exemplar A * . &#9633;</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">ENTAILMENT</head><p>In the last section, we described how, in order to avoid relying on the respondent's truthtelling, the government may provide a demonstrable verifier V, along with an exemplar action A * and evidence E, and compel the respondent to take some action A that is accepted by V. Ultimately though, the government likely has the goal of compelling the respondent to perform some specific target action T . In this section, we ask: is there some demonstrable V that forces R to perform the target action T , or something "just as good"?</p><p>To illustrate why this is a different property than demonstrability, consider that there are many demonstrable V's for any given scenario. If nothing else, the trivial V that always outputs Accept is demonstrable for any exemplar action and evidence. With this trivial V, even though the government might hope that the respondent would choose to perform the exemplar action A * , the respondent could take any action A whatsoever in order to satisfy V. But in some scenarios, it may be possible to specify V in enough detail that R has no choice but to perform an action that is more or less equivalent to T .</p><p>We call this property entailment, and we say that V entails T if G can recover the fruits of T after R performs any V-conforming action A (including but not limited to the exemplar action A * ). Namely, the government has some method P that "post-processes" the result of A to recover what would have resulted if R had run T itself. Definition 5.1 (Entailment). Consider an oracle TM T (target) that takes no input and outputs a string in {0, 1} * . V entails T with respect to evidence E if there exists an efficient oracle TM P such that for all E-consistent N , R and all V-conforming A:</p><p>where &#120591; &#8592; &#10216;V N , A N,R &#10217; is the transcript of the execution between V N and A N,R , and N &#8242; is the state of nature after the interaction between V and A. We say T is entailable if there exists demonstrable V that entails T .</p><p>To complete this definition, it only remains to define what &#8801; means. We begin with the easier case: if all Turing machines in the definition are deterministic, then &#8801; denotes exact equality. That is: the Turing machines P and T must output the same string, even if they follow very different paths to get there. The harder case is when randomness is involved (formally, when the Turing machines have randomness tapes following the model of Canetti <ref type="bibr">[2]</ref>). In this case we impose a high bar for entailment: for each setting of the randomness tapes of P, V, A, T , R, and all of the machines within N , it must be the case that the outputs of P and T are identical.</p><p>Remark 5.2. The requirement that P is "efficient" is necessary for entailment to be meaningful. For example, consider the case of compelled decryption. If the post-processor could run for an unbounded amount of time, then P could simply ignore the respondent's action and brute-force the decryption, allowing the government to entail the act of decryption even when the respondent did not have the key! For this reason, Definition 5.1 requires that the post-processor P be efficient. As in Remark 4.6, we leave the efficiency requirement underspecified and for future work.</p><p>Remark 5.3. We note that our definition of entailment only considers target actions T that produce some output. As such, it does not require that the state of nature N &#119860;,&#119875; that results after A and P is the same as the state of nature N &#119879; that would have resulted if R performed T . But entailment is expressive enough to capture a somewhat weaker guarantee. Suppose there is a function &#119902; N that reads from N whatever the government believes ex ante is relevant, and outputs the result. If V entails T &#119902; &#8796; &#119902; &#8226; &#119879; , then N &#119860;,&#119875; and N &#119879; will be the same in the (ex ante) relevant part.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">Impossibility of entailing unknown goals</head><p>In this section, we show that it should not be possible to entail actions where the government does not even know what property they would need to check to verify the truth. We illustrate this concept by example and then show a general theorem.</p><p>Suppose the evidence states that R has some secret &#119911; (for instance, a list of places she had been that week). And suppose R has a method &#119909; () that can state one valid value for that statement (e.g. where she was last night). Can the government compel R to reveal where she was sometime this past week? Or, in our parlance, is the target action which returns R.&#119909; () entailable? (For the sake of this example, suppose the government was permitted to compel any act they could verify, even explicit verbal testimony.)</p><p>If the government has no evidence that the respondent was located anywhere in particular in the last week, then intuitively, there should be no way to entail the action of R.&#119909; (). 20  &#119871; &#119877;.&#119911; = &#8709;, then there does not exist a demonstrable V which entails T lang with respect to E &#8242; .</p><p>Note that the hypothesis of Theorem 5.4 implies that the government has no ability to check membership in the language &#119871; R.&#119911; . This is the formalization of the property stated above, that the government does not know "what it is looking for. "</p><p>We defer the proof of Thm. 5.4 to Appendix B.1. The proof does not rely on any computational limitations on the part of the government-only the information-theoretic uncertainty of the true value of R.&#119911;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Impossibility of entailing distributions</head><p>In Appendix A.3 we will investigate actions that result in a distribution, such as compelled encryption or commitments. In those sections, it will be useful to make use of the following result, which states that it is impossible to entail actions that result in a distribution using the random coins of the action itself.</p><p>Theorem 5.5. Let E be some evidence, and let T rand be some target action. Suppose that T rand uses its own randomness in a non-trivial way: specifically, there exists E-consistent N, R with the property that at least one fixed setting of the random tapes of N, R have the property that |Support(T N,R rand )| &#8805; 2. Then, there is no demonstrable V that entails T rand .</p><p>We defer the proof of Theorem 5.5 to Appendix B.2. 20 Observe that there are demonstrable Vs with "return R.&#119909; ()" as the exemplar. However, the respondent may respond by, for example, responding to the query with "Boston" even if she had never been there. This is not the result of R.&#119909; (), but the verifier must accept it anyway because the government has no way to rule out the possibility.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3">Entailment and partial specifications</head><p>The ability for evidence to partially-specify functionalities in N poses a major difficulty for proving entailment in many cases.</p><p>The algorithms in Figure <ref type="figure">1</ref> illustrate the problem. Consider E read stating that &#119863; read &#8828; N [DLoc]: there is a device at location DLoc in nature that is consistent with &#119863; read . &#119863; read has a variable m and a method read() that returns m. It may seem that T read which simply outputs N [DLoc].read() should be entailable. After all, P could just call N [DLoc].read() itself. Whatever V entails T read could have an exemplar action that does nothing.</p><p>But in fact T read is not entailable! The problem is that the behavior of N [DLoc] is only partially specified. While it must be consistent with &#119863; read , it may have other methods too. For example, N [DLoc] could instead contain device &#119863; readWrite (Figure <ref type="figure">1</ref>) which has another method write(&#119909;) that sets m to &#119909;. Because E contains no information about m, if the A * that does nothing is V-conforming, then A &#119909; that calls write(&#119909;) is also V-conforming.</p><p>As such, many of our entailment claims will be proved with respect to the stronger evidence E &#119863; wherein some function specifications are strengthened from partial to full specifications (see <ref type="bibr">Definition 4.4)</ref>. This showcases our framework's ability to reason about uncertainty about the world, as illustrated by the example of deniable encryption in Section 6.2.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">COMPELLED ACTS OF COMPUTATION</head><p>In this section we consider how to construct demonstrable verifiers and analyze entailment for some important idealized foregone conclusion scenarios. We begin with the common example of compelling a respondent to enter a passcode that decrypts a device under the assumption that the encryption scheme is not deniable (Section 6.1). Then in Section 6.2 we show that removing the assumption of non-deniability eliminates the ability to entail the action of "honest" decryption, standing in contrast with most prior legal analysis. We then describe the entailability of cryptographic decommitment, which implies entailment of a wide variety of functionalities (Section 6.3). This finding stands in direct contrast with the approach of Scheffler and Varia <ref type="bibr">[32]</ref> (see Appendix 7.2). We also examine additional examples, namely two-factor authentication, hash preimages, encryption, and commitmnets in Appendix A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1">Entering a password to decrypt</head><p>In the archetypal compelled decryption case, the government has lawfully seized an encrypted device and seeks order compelling the respondent to decrypt by entering her password. The government wants to specify an action for which all implicit testimony is foregone. For this act to be meaningful, it should allow the government to recover the decrypted plaintext. In our framework, the government seeks a demonstrable V pwd that entails the target task T pwd of decrypting and producing the plaintext (given in Figure <ref type="figure">2</ref>). For an idealized non-deniable encryption, we will show that this is possible if the government knows that the respondent knows the password (as in Kerr <ref type="bibr">[24]</ref>).</p><p>In this subsection, we will consider the algorithms and evidence given in Figure <ref type="figure">2</ref> (unless otherwise stated). In particular, we consider a simple password-protected device &#119863; pwd that provides read access to a message if the correct password is entered, and hides all message contents otherwise. If the government has evidence E pwd that the respondent knows this password, then it can use a verifier V N pwd that checks if the device is unlocked and capable of displaying any message, along with an exemplar action A * N,R pwd in which the respondent types the known password into the prompt.</p><p>6.1.1 R knows the password. We begin with the case where G knows that R knows the password. The evidence E pwd states that G knows that a device implementing &#119863; pwd is at location DLoc in nature. &#119863; = &#119863; pwd is some idealized encrypted device, with a hardcoded password &#119863;.pwd and message &#119863;.m &#8800; &#8869;. The evidence also states that R has some method R.pwd () that returns the password &#119863;.pwd (the starred line in Fig. <ref type="figure">2</ref>). After that password is entered into &#119863;, the message &#119863;.m can be read using the method &#119863;.read().</p><p>Applying our framework, the government must specify a demonstrable verification procedure V pwd . The government's verifier V pwd reads m from the device, outputting Accept if m &#8800; &#8869;. Claim 6.1. V pwd is demonstrable with respect to E pwd .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Proof. Consider exemplar action A *</head><p>pwd in Fig. <ref type="figure">2</ref>. First, we must check that every method call by A * pwd to R produces some output. A * pwd only calls R.pwd (). By E, this method exists and outputs &#119863;.pwd. Second, we must check that V pwd accepts A * pwd with respect to R, N . Let &#119872; be the device at N [DLoc]. E guarantees that &#119872; implements &#119863; pwd (i.e., &#119863; pwd &#8828; &#119872;). A * calls &#119872;.prompt with input R.pwd (). By E, R.pwd () = &#119872;.&#119901;&#119908;&#119889;. Hence, when A * halts, &#119872;.decrypted = true. Now V pwd calls &#119872;.read(), which returns &#119872;.m. E states that m &#8800; &#8869;. Hence V pwd returns Accept. &#9633; By construction, any V pwd -conforming action A will allow the government to recover the plaintext m, assuming the encrypted device is not deniable. We use entailment to make this precise. Consider T pwd in Figure <ref type="figure">2</ref>, which enters R.pwd () into the device's password prompt, then reads and returns the message m. By the evidence, the result is the plaintext message.</p><p>We prove that V pwd entails T pwd under the stronger evidence E &#119863; pwd that the device is fully specified by &#119863;-ruling out deniability. This restriction is necessary, and follows the general pattern described in Section 5.3. For one, the proof breaks down: the step marked (&#9827;) does not hold for arbitrary E. Moreover, Section 6.2 shows that the government cannot entail T pwd when the device is deniable but otherwise consistent with &#119863; pwd .</p><p>This example illustrates the expressiveness of our approach and the power of entailment. Claim 6.2 states that in this example 'decrypting by entering a password' entails 'decrypting then producing the plaintext'. But the act of decrypting-then-producing is not itself compellable! Specifically, it would require implicit testimony about conformity that is not a foregone conclusion under the evidence. (Additionally outside of our model, some would argue that producing the plaintext presents testimonial issues beyond Fisher.) Claim 6.2. V pwd entails T pwd with respect to E &#119863; pwd .</p><p>Proof. We must provide an efficient oracle machine P pwd such that for all A that is V pwd -conforming:</p><p>pwd simply call and return &#119872; &#8242; .read() as in Figure <ref type="figure">2</ref>. To complete the proof, we show that both P pwd and T pwd always output &#119872;.m.</p><p>(RHS). By E pwd -consistency of R, we get &#119909; = &#119872;.pwd on line 1 of T pwd . By E-consistency of &#119872;, we get m &#8242; = &#119872;.m on line 3 of T pwd .</p><p>Hence T N,R pwd always outputs &#119872;.m. (LHS). Because A is V pwd -conforming, we have &#10216;V N pwd , A N,R &#10217; = Accept. By construction, the execution &#10216;&#8226;, &#8226;&#10217; first runs A and then runs V pwd . Because V pwd does not change the state of &#119872; (i.e., does not call &#119872;.prompt), N &#8242; is equal to the state of nature after A N,R terminates. By construction of V pwd (and the conformity of A), &#119872; &#8242; .read() &#8800; &#8869; after A terminates. If &#119872; &#8242; .read() &#8800; &#8869;, then &#119872; &#8242; .read() = &#119872;.m (&#9827;). Hence P N &#8242; pwd always outputs &#119872;.m. &#9633; 6.1.2 R may not know the password. Next, we drop the starred assertion in E pwd in Figure <ref type="figure">2</ref>. This tweaks the facts to remove the government G's assertion that R knows a password to &#119863;. Call the modified evidence E &#9733; . E &#9733; states that the respondent has some method R.pwd () that may do something. But not what it does, nor whether it has any relation to &#119863;. Under E &#9733; , it is entirely consistent that R simply does nothing. That is, for any (N, R) that is E &#9733; -conforming, (N, R &#8869; ) is also E &#9733; -conforming where R &#8869; immediately halts on all inputs.</p><p>where R &#8869; immediately halts on all inputs. Fix V demonstrable and A that is V-conforming, all with respect to E &#9733; . Because R &#8869; is E &#9733; -consistent, the action A &#8869; which emulates A with R &#8869; is also V-conforming with respect to E &#9733; .</p><p>For any post-processor P, the output of P after &#10216;V N , A N,R &#8869; &#10217; is independent of R. On the other hand, T N,R pwd pwd always outputs &#119863;.&#119898; &#8800; &#8869;, while T N,R &#8869; pwd always outputs &#8869;. Hence, there exists E &#9733;consistent (N, R) such that P does not always output the result of T N,R pwd (e.g., R is an appropriately chosen distribution over R &#8869; and R pwd ). Hence, T pwd is not entailable with respect to E &#9733; . &#9633; Evidence E pwd :</p><p>Device &#119863; pwd :</p><p>Figure <ref type="figure">2</ref>: Example algorithms for compelled decryption by entering a password as described in Section 6.1 and used in Section 6.2. The starred (&#9733;) assertion in E pwd refers to the respondent's knowledge of the decryption password. Removing that line captures the setting when the government has no evidence of the respondent's knowledge of the password.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2">Deniable encryption</head><p>We continue the example from Section 6.1 and Figure <ref type="figure">2</ref> wherein the government wishes to compel decryption by entering a password. Now we consider the case of deniable encryption. Deniable encryption introduces a duress password which, when entered, allows a device to be decrypted to something other than its "true" contents.</p><p>For illustrative purposes, we analyze a simple but unrealistically powerful form of deniable encryption &#119863; deny , wherein the duress password can be used to overwrite the device's contents arbitrarily.</p><p>Device &#119863; deny implements &#119863; pwd : // Has the following variables and methods in addition to those provided by &#119863; pwd in Fig. <ref type="figure">2</ref> Variables: duress Method deny(&#119909;, &#119910;) if (&#119909; == duress) then set m &#8592; &#119910; set decrypted &#8592; true</p><p>In Claim 6.2, we proved entailment only with respect to the strong evidence E &#119863; pwd that states that the encryption is not deniable. This is not a fluke. Consider the idealized version of deniable encryption in &#119863; deny . Because &#119863; pwd &#8828; &#119863; deny , it is entirely consistent with E pwd . So the possibility that the actual encrypted device uses a form of deniable encryption affects entailment. Absent stronger evidence that the device is not deniable (i.e.: E &#119863; pwd &#10928; E pwd ), T pwd is not entailable, and the message that will ultimately be read from &#119863; is not meaningful.</p><p>While entailment fails, demonstrability does not. The same V pwd is demonstrable with the same exemplar action A * pwd . Using our framework, a respondent may ultimately be compelled to enter a password even if the government knows the encryption is deniablebut the respondent would be free to use the duress password. This is in contrast to prior legal approaches to this fact pattern, as discussed at the end of Section 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.3">Opening a commitment</head><p>Next, we consider commitments-cryptographic objects related to, but distinct from encryption. In this section, we ask: when can the government compel the opening of a commitment? In our framework, the answer is: when the government has the commitment and knows that the respondent can open it. Note that this answer generalizes the claims about committing encryption from Section 6.1.</p><p>At a high level, commitments are like lockboxes, where each box has a bespoke lock and key. Once you put a secret message into the lockbox, nobody can read the secret (hiding), and nobody can change the secret (binding). Whoever has the key can open the box in front of others, thereby convincing them that box always contained that particular secret message. An important difference between commitments and encryption is this public-opening property. For instance, deniable encryption schemes are specifically non-committing: it can be decrypted in different ways. Commitments can only be opened a single way.</p><p>Moving from the physical analogy to the computational setting, commitments schemes provide an algorithm to commit to a secret &#119909;, producing the commitment &#119888; and the decommitment &#119889;. Opening the commitment means revealing &#119889; and &#119909;. Given &#119888;, &#119889;, and &#119909;, anybody can check that the opening was done correctly. Definition 6.4 (String commitment scheme). Let (Com, Check) be a string commitment scheme where (&#119888;, &#119889;) &#8592; Com(&#119909;; &#119903; ) yields a pair of strings (&#119888;, &#119889;) called the commitment and decommitment to message &#119909; respectively, and Check(&#119888; &#8242; , &#119889; &#8242; , &#119909; &#8242; ) returns either 1 or 0. For all &#119903; , if (&#119888;, &#119889;) &#8592; Com(&#119909;; &#119903; ) then Check(&#119888;, &#119889;, &#119909;) = 1.</p><p>Binding (informal): A commitment scheme is binding if it is difficult to find (&#119909;, &#119909; &#8242; , &#119889;, &#119889; &#8242; , &#119888;) such that &#119909; &#8800; &#119909;, Check(&#119888;, &#119889;, &#119909;) = 1, and Check(&#119888;, &#119889; &#8242; , &#119909; &#8242; ) = 1. A commitment scheme is perfectly binding if there does not exist such a tuple (&#119909;, &#119909; &#8242; , &#119889;, &#119889; &#8242; , &#119888;).</p><p>Hiding (informal): Suppose (&#119888;, &#119889;) &#8592; Com(&#119909;; &#119903; ). A commitment scheme is hiding if it is difficult to find &#119909; given only &#119888;. A commitment scheme is perfectly hiding if the distribution of &#119888; is identical for any &#119909;, &#119909; &#8242; input into Com (over the choice of &#119903; ).</p><p>Consider the Evidence E decom , Verifier V decom , Target Action T decom , and Exemplar Action A * decom given in Figure <ref type="figure">3</ref>. E decom states that that the respondent is able to produce a valid opening to the commitment &#119888; at location N <ref type="bibr">[commLoc]</ref> Proof. If N, R are E decom -consistent, then A * decom will result in V accepting, because the Evidence states that Check(&#119862;.read(), R.&#119889;&#119890;&#119888;&#119900;&#119898;(), R.&#119904;&#119890;&#119888;&#119903;&#119890;&#119905; ()) = 1. We know R has the ability to perform this action, because it involves only a read to R.&#119904;&#119890;&#119888;&#119903;&#119890;&#119905; () and R.&#119889;&#119890;&#119888;&#119900;&#119898;() which were specified in E decom . Thus, V decom is demonstrable with witness action A * decom . &#9633;</p><p>In fact, this holds even without binding. That is, dropping the starred (&#9733;) line in E decom in Figure <ref type="figure">3</ref> does not affect demonstrability.</p><p>If the government additionally has evidence that the commitment is perfectly binding, then V decom entails T decom which discloses R.secret(). 21 Let E bind &#10928; E decom represent this stronger evidence. (Both T decom and E bind are defined in Fig. <ref type="figure">3</ref>. Claim 6.6. If Com is perfectly binding, then V decom entails T decom under E bind .</p><p>Proof. Recall that E decom reads &#119888; from N [commLoc]. E decom asserts that for &#119889; &#8592; R.decom() and &#119909; &#8592; R.secret(), it must be true that Check(&#119888;, &#119889;, &#119909;) = 1. Recall that V decom reads &#119888; &#8242; &#8592; N [E decom .commLoc], and since this oracle is read-only, we have that &#119888; &#8242; = &#119888;. Since the commitment scheme is perfectly binding, there is no (&#119909;, &#119909; &#8242; , &#119889;, &#119889; &#8242; , &#119888;) such that &#119909; &#8800; &#119909; &#8242; , and both Check(&#119888;, &#119889;, &#119909;) = 1 and Check(&#119888;, &#119889; &#8242; , &#119909; &#8242; ) = 1. Thus, &#119909; &#8242; = &#119909; and &#119889; &#8242; = &#119889;.</p><p>Letting N &#8242; be the state of Nature after running A, the postprocessor P R,N &#8242; decom which returns the &#119909; &#8242; sent by A will always return R.&#119904;&#119890;&#119888;&#119903;&#119890;&#119905; (), thus entailing T decom . &#9633;</p><p>A corollary of Claim 6.6 is that, under the same evidence, the government can entail arbitrary computation on the committed secret R.secret(). For any &#119891; , T &#119891; is entailable with respect to E decom :</p><p>T N,R &#119891; := return &#119891; (R.secret()) 21 If the commitment scheme is only computationally binding, then we expect entailment would still hold against a computationally-bounded respondent along the lines of Claim A.3. Remark 6.7. In this section, we showed that compelling the opening of a unknown but committed secret is demonstrable and entailable if the scheme is perfectly binding. In Appendix A.3, we show that there is no way to entail a commitment of an unknown secret. This is reassuring. If it were not true, then G could entail commitment-then-open of arbitrary unknown secrets. It is worth noting that there are many demonstrable Vs that have the exemplar action of committing to a secret value. However, the fact that none of those Vs entail the action of committing to a secret value means that those Vs would also be satisfied by other actions, possibly for example committing to the all-zeros string.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">COMPARISON TO PRIOR WORK 7.1 Brief comparison to other legal scholarship</head><p>Here, we compare our verification-centric view to the body of legal scholarship on compelled decryption. On the one hand, scholars like Kiok <ref type="bibr">[26]</ref> and Sacharoff <ref type="bibr">[31]</ref> posit that the government can compel decryption only if they know the desired files with "reasonable particularity, " and Winkler <ref type="bibr">[51]</ref> argues that the self-incrimination privilege provides an absolute defense against compelled decryption. On the other hand, Cohen and Park <ref type="bibr">[6]</ref>, Kerr <ref type="bibr">[23]</ref><ref type="bibr">[24]</ref><ref type="bibr">[25]</ref>, McGregor <ref type="bibr">[27]</ref>, and Terzian <ref type="bibr">[37,</ref><ref type="bibr">38]</ref> deem compelled decryption to be a foregone conclusion in some contexts, either to re-balance government power due to the widespread use of encryption or because all the testimony implicit in the act of decryption (e.g., ownership, knowledge of password) is foregone.</p><p>Our framework largely agrees with the latter interpretation of the foregone conclusion, by considering all acts involved in the performance of decryption rather than simply the files produced. That said, our framework reaches a novel conclusion about the compellability of "deniable encryption" schemes, which include special duress password(s) that can reveal different files. Here, Kerr and Cohen-Park reach opposite conclusions. By separating demonstrability from entailment, our framework reaches a "middle ground" where decryption can be compelled, but the respondent can use any password unless the files are known with reasonable particularity.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.2">Comparison to Scheffler and Varia</head><p>The work that is most related to ours is the paper of Scheffler and Varia <ref type="bibr">[32]</ref>, which also contributes a cryptography-inspired candidate definition of the foregone conclusion doctrine. This work and <ref type="bibr">[32]</ref> agree on landmark Supreme Court and circuit court decisions to date about the foregone conclusion doctrine <ref type="bibr">[12, 13, 16-18, 45, 46, 49]</ref>. As a general rule of thumb that we expect to hold for many realistic fact patterns, an action that is a foregone conclusion under <ref type="bibr">[32]</ref> is likely entailable in our current framework. A notable exception is the inability for our current framework to entail random sampling from a probability distribution (Theorem 5.5).</p><p>That being said, the two works differ in several legal and computer science aspects.</p><p>First, this work requires the government to specify how it will verify the respondent's act, thus ensuring that the government is not "relying on the truthtelling" [13, l. 411]. In contrast, <ref type="bibr">[32]</ref> requires the government to specify how it could have performed the respondent's act using the cryptographic idea of simulation but without access to the "contents of [the respondent's] mind" [13, l. 421], thus ensuring that the respondent's production "adds little or nothing to the sum total of the Government's information" [13, l. 411].</p><p>Second, the two works take different approaches to conformity. Scheffler and Varia dealt with the implicit testimony from conformity using simulation. In contrast, this work defines away the problem of conformity by allowing the respondent to perform any conforming action.</p><p>Third, the modeling in this work allows modeling more scenarios than <ref type="bibr">[32]</ref>. Scheffler and Varia focused on acts of production, and involved the simulation of what was produced. Our work, on the other hand, focuses on acts of either production or performance, and can analyze actions taken that have impact on the world even if no item is produced to the court as a result. To accomplish this technically, rather than modeling the world as a collection of passive strings such as a ciphertext stored on a smartphone's hard drive, we model dynamic, stateful, interactive processes such as the phone itself and all of the ways that one can interact with it.</p><p>The archetypal compelled decryption scenario asks: When can a respondent be compelled to enter a password into an encrypted device in the government's possession? Scheffler and Varia model a scenario where the respondent performs password-based decryption and produces the plaintext. But Cohen and Park argue that the "decryption" scenario is doctrinally distinct from the "production of plaintext" <ref type="bibr">[6]</ref>. In contrast to <ref type="bibr">[32]</ref>, our current model allows us to consider either scenario directly.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8">CONCLUSION &amp; DISCUSSION</head><p>In summary, we adopt a view of implicit testimony that treats ability and conformity as equally important, and we present a new verification-centric approach to compelling acts while constructively satisfying the foregone conclusion doctrine. On the technical side, we formally define the concepts of demonstrability and entailment and explore the compellability of acts of cryptography within our framework. Our goal in this project was CS-and-law: rigorous computer science that substantively engages with and contributes to legal thought. In this section, we take a step back and reflect on what seemed to work for us.</p><p>This paper is the culmination of a five-year research agenda that alternated between primarily legal and primarily technical contributions. First, AC in collaboration with Sunoo Park produced a law-first analysis grounded in their knowledge of cryptography; they showed how the application of the foregone conclusion doctrine can depend on the nuances of the underlying technology <ref type="bibr">[6]</ref>. Next, SS and MV produced a technical-first analysis inspired by the law; they gave a more restricted simulation-based formal framework and analyzed how the compellability of different cryptosystems under it <ref type="bibr">[32]</ref>. All three authors then worked to reconcile the differing accounts of those two works, resulting in a new legal analysis that introduced the idea that ability and conformity are testimony implicit in acts of performance <ref type="bibr">[7]</ref>. The present paper represents our effort to turn these ideas into a formal framework; more than just a formalism, that effort spawned our verification-centric approach and the concepts of demonstrability and entailability.</p><p>In this project, neither side was subservient to the other. We did not start with a legal view or a set of technical outcomes to which we molded our framework.</p><p>Instead, our meta-level approach in this project was an iterative, alternating application of legal and technical thinking. At a high level, our goal was to fill in a gap in our understanding of the foregone conclusion doctrine: namely, it's requirement that the government may not "rely on the truthtelling" of the respondent. First, we would state a non-mathematical version of the requirement based on our understanding of the case law and fact patterns considered so far. Second, we attempted to formalize that statement in a technically precise and sound way, building from the framework of <ref type="bibr">[32]</ref>. Third, we would test the result against many fact patterns, whether uncontroversial act-of-production cases, existing compelled decryption cases, the cryptographic primitives studied in this paper, or hypotheticals specifically designed to stress the framework. Fourth, we would ask whether the formalism uncovered a new aspect of the legal question that could help refine our thinking. After many many iterations, we converged on the ideas in this paper.</p><p>We do not know what legal questions are amenable to the sort of CS-and-law analysis we undertake in this paper. We highlight some properties that we believe make compelled decryption fruitful for a cross-disciplinary study, in the hopes that it may help others find other fertile grounds. First, law alone offers no obvious answers. Scholars are in disagreement and state supreme courts are split. And as Cohen and Park argue, forgone conclusion analyses can depend on technical details, and reasoning by analogy can only go so far. Second, there are clear connections to well-studied concepts in cryptography and computer science. Of course the very artifacts in question issue are technological and cryptographic. And at a conceptual level, cryptographic community has spent decades stress-testing notions of simulation and verification. The intuitive connection to ideas in Fisher's -adding to the government's knowledge, or relying on the respondent's truthtelling -are immediate to a cryptographer (though making the intuition precise is not easy). Third, the results of this project is of value to both communities, with the potential to affect future court cases and to spur new research directions in security and cryptography. Table <ref type="table">1</ref>: Is T = OTP(&#119896;, R.&#119909;) entailable (E) or not entailable (NE), for the given setting of E and generation of &#119896;?</p><p>Then when V 2fa calls &#119872; &#119863; .read(), the device will return &#119898; &#8800; &#8869;, and thus V 2fa accepts as desired. &#9633; Claim A.2. V 2fa entails T 2fa with respect to the stronger evidence E &#119863;,&#119878; &#10928; E 2fa (i.e., that the specifications of &#119863; and &#119878; are full specifications).</p><p>Proof. Much like the proof given in Section 6.1, we will show that both running P 2fa on the transcript of &#10216;V N 2fa , A R,N &#10217;, and running the target action T 2fa , yield the same result of &#119863;.&#119898;.</p><p>For the left hand side, observe that if V 2fa returns Accept, then &#119898; &#8592; N [E.deviceLoc].read() was not &#8869;. E &#119863;,&#119878; states that N [E.deviceLoc] exactly implements &#119863; (and similarly for &#119878;). Hence, the only way for read() to return anything other than &#8869; was for it to return &#119863;.&#119898;, which cannot be altered using any of the methods provided. Thus, if V 2fa returns Accept, the post-processor P 2fa must also return &#119863;.&#119898;.</p><p>Consider the right hand side. Because E &#119863;,&#119878; specifies that R.pwd() = &#119863;.pwd, this ensures that in the first line of T 2fa , &#119909; = &#119863;.pwd (). Moreover, the second line of T 2fa calls exactly the given code of &#119863;.promptPwd(&#119863;.pwd), which also calls exactly setCode(&#119863;.code) no matter what the randomness tape of &#119863; is. The third line of T 2fa sets &#119888; to exactly &#119863;.code, and so the fourth line of T 2fa calls &#119863;.promptCode(&#119863;.code). Thus, decrypted is set to true and when T 2fa calls read(), it must return &#119863;.m, as desired.</p><p>Thus, V 2fa entails T 2fa as desired. &#9633;</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.2 Preimage of hash</head><p>We imagine a scenario in which G wishes to compel R to provide a file and verify the file using its hash. This example is captured in Figure <ref type="figure">4</ref>, where we envision &#8462; to be a fixed hash function like SHA-256. By construction of the evidence, V hash is demonstrable. Entailment is more complicated.</p><p>Claim A.3. For all E hash -consistent N, R and for all V hash -conforming A, either (i) P N &#8242; (&#120591;) = T R,N , or (ii) P N &#8242; (&#120591;) and &#119879; R,N = N [R.findFile()].read() are a hash collision for &#8462;.</p><p>Proof. Let &#119909; &#119905; = N [R.findFile()].read() be the output of T R,N . The evidence ensures that &#8462;(&#119909; &#119905; ) = E.&#119910;. Let &#119909; &#119901; be the output of P N &#8242; (&#120591;). By definition, &#119909; &#119901; is the message sent by A to V. Because A is V-conforming, V (&#119909; &#119901; ) = Accept and hence &#8462;(&#119909; &#119901; ) = E.&#119910;. Hence &#8462;(&#119909; &#119901; ) = &#8462;(&#119909; &#119905; ). Either &#119909; &#119901; = &#119909; &#119905; or not, corresponding directly to the two cases in the claim. &#9633;</p><p>In words, this verifier almost entails T R,N , except that the government has not ruled out the possibility that R knows a hash collision at &#119910;. Note that we have only shown that this verifier almost but not quite entails the action -a different verifier might very well entail the target action.</p><p>Since, in the real world, we do not expect the respondent to be capable of producing a hash collision, we expect that R's only strategy will be to send the exact file G wanted to entail. By compelling a preimage of a hash (which G knows with certainty R is capable of doing), this forces the respondent to either respond with the file or a hash collision, putting the ball in their court. Although the government did not have evidence that pinned down every degree of freedom the respondent had, G did not need to make any additional assumptions to create the demonstrable V shown, nor did G need to implement a potentially-more-costly verifier to find a different way of compelling the file that directly entailed the action. This demonstrates why the focus of our system is on demonstrability rather than entailment.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.3 Compelling encryption and commitments</head><p>Throughout this section, we will use the following evidences: E secret corresponds to the situation where G knows R has some secret, but has no knowledge of what it is and no way to verify it. E known corresponds to a situation where G is able to learn the secret independently of R (by checking N [xLoc]). Let OTP(&#119896; &#8242; , &#119898;) return the bitwise XOR of &#119896; &#8242; and &#119898; assuming they are the same length. Table <ref type="table">1</ref> shows whether there is any way of entailing the target action T = OTP(&#119896; &#8242; , R.&#119909;) depending on which key &#119896; &#8242; is used and on the evidence. Of the scenarios considered, T is entailable only when the government specifies a fixed key &#119896; &#8242; in T and is able to recover the plaintext R.&#119909; from nature.</p><p>Remark A.4. The action which deterministically chooses &#119896; &#8242; and then returns OTP(&#119896; &#8242; , R.&#119909;) is entailable under E known . The verifier V that deterministically sets the same &#119896; and then sets &#119898; &#8592; N <ref type="bibr">[xLoc]</ref>.read() is demonstrable and must always have exact equality with the output of this action, and so entails the action.</p><p>Remark A.5. Note that if the one-time-pad was replaced with a randomized encryption scheme, by Theorem 5.5 compelling the action of honestly encrypting &#119898; under the known &#119896; (using randomness in T ) is not entailable by Theorem 5.5. However, this action is entailable if G additionally fixes the randomness used in the encryption scheme, because V may check the exact equality of the result. This latter result stands in contrast with Theorem 4.5.1 from Scheffler-Varia <ref type="bibr">[32]</ref>, which found that compelling encryption under a freshly sampled key was compellable (under a different definition as described in Section 7).</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="14" xml:id="foot_0"><p>In re Search of a Residence in Aptos, California 95003, No.17-mj-70656-JSC-1, 2018 WL 1400401<ref type="bibr">[21]</ref>, at 10.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="15" xml:id="foot_1"><p>See also Cohen and Park<ref type="bibr">[6]</ref> at VII.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="16" xml:id="foot_2"><p>Commonwealth v. Gelfgatt, 11 N.E.3d 605 (Mass. 2014) [9], (see footnote 10, emphasis removed)</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="17" xml:id="foot_3"><p>United States v. Bright, 596 F. 3d 683, 693 (9th Cir. 2010) [41] (the government does not "need to prove that it had previously authenticated the same documents . . . it need[s]  to show only that it could do so" (emphasis added)).</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="18" xml:id="foot_4"><p>Though the UC model guides us, a complete UC specification is premature at this stage in this line of work and would make this paper inaccessible to its intended audience, most of whom are unfamiliar with the UC model. For the same reasons, we do not attempt a precise compilation from our pseudocode machines to ITMs.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_5"><p>Conference'17, July 2017, Washington, DC, USA</p></note>
		</body>
		</text>
</TEI>
