&gt; &quot;Should the government be able to access citizen&#x27;s digital data with a court order? And if so, how can that be enabled without compromising the general security of the device?<p>IMO yes and here is how I&#x27;d implement this given a secure enclave:<p>1) Have Apple generate a device specific key that unlocks the device without pass code.<p>2) The key gets encrypted with an Apple held master key and printed on the inside of the device, e.g. a sticker on the chipset. Note that at this point, the device is as secure as before if we assume that someone who gets the Apple certifier key can exchange the secure enclave software at will.<p>3) Apple should ensure that the unencrypted key gets deleted from all of their systems after it was printed, to ensure plausible deniability.<p>4) The process for accessing the data on a specific device becomes simple - law enforcement needs to be in possession of (A) the device and (B) a court order. Apple will decrypt the key if forced by court order.