Felony charges for citizen deleting phone data at US Border
nytimes.com356 points by floathub 10 hours ago
356 points by floathub 10 hours ago
https://www.youtube.com/watch?v=_2rokxux5cU
The naivete of some of the comments here is astounding. It doesn't matter whether you're right, it doesn't matter whether it's the law, it's irrelevant that you have rights, etc. Those things are of the past now, for the US. I think it would be easier to understand the playing field and choose your actions accordingly, if you accept the US has entered its East Germany / late 20th century Soviet era -- except of course with 1000x more invasive and effective surveillance tech. The social dynamics are the same - the abuses, the selective enforcement, the lack of recourse, the same characters in the roles of various levels of "law enforcement" and "politics". I'm so very sorry, but the best you can do from here is speedrun the collapse. With all due respect, this is a wild take. Things aren't great in the U.S. right now, but they're not even in the same universe as what the Stasi was doing. > I think it would be easier to understand the playing field and choose your actions accordingly, if you accept the US has entered its East Germany / late 20th century Soviet era -- except of course with 1000x more invasive and effective surveillance tech. It's a very insidious, first you look all over your neighborhood flock cameras Hundreds of them came out of nowhere Nobody fought back . it's as long as you're not doing anything wrong you don't have to worry about it Then once changed the definition of what wrong means. If you're not a criminal you don't have to worry about it That's for your safety Then they changed the definition of what a crime is its only with the benefit of hindsight (and being on the winning side- thus the propaganda was never dispelled) that we consider the stasi and so on the way we do. If it walks like a duck, and quacks like a duck.. might just be a duck. I don’t believe those living “normal lives” in East Germany or the Soviet era considered the police to be evil and invasive the way we do today. > I don’t believe those living “normal lives” in East Germany or the Soviet era considered the police to be evil and invasive the way we do today. "normal life" under the Stasi was constant political terror and suppression. The death counts are low because they thought death too little of a penalty for opposing them - they used psychological warfare (https://en.wikipedia.org/wiki/Zersetzung) and torture instead. Soviet era under Stalin was brutal. Soviet famine of 1930–1933 "It is estimated that 5.7 to 8.7 million people died from starvation across the Soviet Union. In addition, 50 to 70 million Soviet citizens starved during the famine but ultimately survived." https://en.wikipedia.org/wiki/Soviet_famine_of_1932%E2%80%93... Great Purge "Scholars estimate the death toll of the Great Purge at 700,000 to 1.2 million." I mean its so much easier to do stuff the Stasi could only dream of with technology today. > what the Stasi was doing the stasi were spying on people and putting them in jail. what exactly is your claim about the difference? is it a difference in distinction or a difference in degree? What makes you qualified and informed of what’s taking place to determine that? What we hear about is far from comprehensive, and many of the atrocities won’t be unveiled or investigated until the next decade. The Epstein cover up shows they’re used to keeping secrets. I’m not sure why we’re pretending there’s not a convicted felon in charge of the entire system. > if you accept the US has entered its East Germany / late 20th century Soviet era -- except of course with 1000x more invasive and effective surveillance tech. I'm pretty optimistic that after the next general America will be ready to give up on the extremity of late turn over a new leaf. I fully expect a new president to be ushered in, whether R or D, and for some level of normalcy to start creeping back. The Soviets lost eventually, I don't think America can lose. Canadians like myself have watched America win for our country's entire existence; I am unconvinced that a decade of silliness is enough to compare America to East Germany. In 2016 I remember Americans saying this was the end of the line and the country was doomed. 10y later they're richer than ever and its companies have global dominance of the most world-changing technology of the last 20y. I just don't think "the collapse" is coming anytime soon. If anyone's interested in a friendly wager, my email is open. I'll happily go 1:1 odds that America will have a new president come 2029 and the country will still remain the world's richest and most powerful. It just takes a bit of reading about American history to know that we have had authoritarian phases pretty much since our independence. John Adams and Thomas Jefferson policies against freedom of speech, native Americans and international trade, Fillmore and Buchanan fugitive slave act and Dred Scott, Lincoln suspension of Habeas Corpus, Cleveland using the military against unions, Johnson military expansion in Vietnam, Nixon secret bombings and using CIA/FBI against protesters. The nation was heavily polarized during each of these periods as much or more than it is today. America dominance on the world is ending, it's a fact. East Asia is at least on par, India is china from 25 years ago. It's becoming more obvious every day. And yeah, people in 1910 watched Europe dominate the world for about 1500 years. Yet it came to an end. If you want to Speedrun the collapse, vote for trump. He sure is making a good job right now with diplomacy, lack of long term planning and just getting all your allies to hate you. I'm just not sure what to do. What the US is turning into is incredibly sad and I wish I could leave. Just pick up and leave. Literally. And do not feel bad about it. Also ignore other people opinions. There is like a dozen of places to go to. The easiest? UAE freelancer visa. Yes I know, I know: "... but but the drones! The collapse!" It's all BS. When / if something happens there – go to Panama. Then Costa Rica. You are not alone on this route - but only if you really committed to your freedom. If not - just sit there and vote democrats. LOL. good grief. people said this about the USSR right up until it collapsed. they also said it about Japan. this website is ridiculous. you people know this is an echo chamber, right? go outside Moving on from being a unipolar power does not necessitate societal collapse. The UK is still around and their empire fell a long time ago. > If you want to Speedrun the collapse, vote for trump. This nonsense needs to stop. You can’t vote for him again unless he deigns to run for a lower office (unlikely). Term limits are real. America needs to start planning for the post-Trump era and hopefully mitigate further damage with a blue wave in the midterms. Or with non-MAGA republicans who might even return to actual fiscal conservatism. Interesting you say that, because as another Canadian, I would say that the sentiment in our country is the opposite of you describe. The actions of our government reflect it. Canada is moving further from US, not closer. Canadians who support Americans are in the minority at the moment. I'm not sure how a new US president would be able to turn it around.. further more, what's to say that the president thereafter will follow suit? How about the next 5? The simple answer is we need constitutional reform. Term limits on SCOTUS, codification of norms (eg releasing presidential candidate tax returns, not blocking appointee confirmations indefinitely to steal the position for the next admin), anti corruption laws with teeth. Also things like reigning in the absurd executive power bloat that’s gone on since Lincoln. POTUS was never meant to be a king. There should never be a case where the executive can start a war (conventional, trade or otherwise) without even CONSULTING Congress. > I don't think America can lose It has already lost. America lost in Vietnam. Lost in Afghanistan. Turned Middle East into a humongous mess. Now losing badly in Iran. The only "wins" it had were against Countries where odds were already heavily in its favor (in other words invading tiny countries that did not have the technological wherewithal or the will necessary to fight back). > 10y later they're richer than ever The rich are richer than ever yes. Ask any common American citizen and he/she will come chasing after you for saying this. > its companies have global dominance of the most world-changing technology of the last 20y. I just don't think "the collapse" is coming anytime soon. That dominance is fast eroding. America itself has ended globalization. It is retreating from many crucial positions: like when it comes to cross-border payments, protecting freedom of navigation in high seas, deals that it had previously negotiated with all countries of the World, unable to protect allies in the Middle East and even in South East Asia, not delivering on defense commitments with partner nations... the list goes on and on. > If anyone's interested in a friendly wager, my email is open. I'll happily go 1:1 odds that America will have a new president come 2029 and the country will still remain the world's richest and most powerful. None of us believe America will collapse by 2029 and that there wouldn't be another President (unless Trump is really stupid enough to go down that route which I don't think he will). But by 2045? Yeah absolutely is possible. Most major industrialized nations have gone through something like this and it usually takes much longer than 10 years to escape and correct. Your day to day is still pretty much normal. If you turned off the news and never read about Felony charges for citizen deleting phone data [1] you'd just in your head remember there are tens of millions of folks flying, going through customs and border security and all that with 0 issues. What you wrote I think regarding the decade of silliness precisely supports the point, in my opinion. [1] I'm not defending the behavior of border control here, but I also don't think we need to overreact to this one example which is exactly what is happening. You have no real rights when police can kill, maim, or otherwise fuck you up with impunity even when you have done nothing wrong. Philando Castile and others demonstrate this. You may win in court but your life can be fucked up if the police decide to inflict non judicial punishment. This is precisely the time to “overreact”. The government is clearly targeting dissidents and if we don’t “overreact” shit will get much worse. We have kids sent to concentration camps. We have illegally deported U.S. citizens. The President has canceled monies allocated by Congress and signed into law. He is waging war against Iran without Congressional approval. He is openly selling pardons. The list goes on. This isn’t enough to get you to “overreact”? > Felony charges for citizen deleting phone data Yeah, that's awful. As far as federal overreach of power goes, that's pretty inexcusable. I'd probably posit that COINTELPRO in the 60s was more insidious, but that doesn't discount this story individually being terrible. I still maintain that America is not in the midst of its own demise and a comparison to East Germany is inaccurate. > As far as federal overreach of power goes, that's pretty inexcusable. Selectively detaining this guy, likely overreach. Trying to get his phone's unlock code to go on a fishing expedition for whatever they can find, absolutely overreach. But this guy catching felony charges for giving federal border police a duress PIN to wipe his phone when they asked for an unlock PIN? Not actually overreach. You have the right to remain silent, not to lie to the police when detained (18 USC § 1001, and many state-level laws to the same effect also exist). Our justice system could not function if people had a right to lie to the police. Once you are detained, whether or not that detention is eventually determined to be lawful, destroying or disposing of your possessions to prevent police from accessing them is also generally a crime. You fight abuses later, in court. Or, if you're going to use a duress PIN in the moment, you accept the legal consequences. And yes, giving a duress PIN to wipe a phone when asked for an unlock PIN is a lie which may result in destruction of evidence. And no, the law does not care about "I'm not touching you"-level rationalizations of whether something is a lie or whether it was technically the police who entered the code to wipe the phone. Proximate cause is a longstanding legal concept. > But this guy catching felony charges for giving federal border police a duress PIN to wipe his phone when they asked for an unlock PIN? Not actually overreach. I think it's an interesting case that will get litigated in the courts. It seems they'll have to prove that the phone contained "evidence"; it could have just had embarrassing personal photos that he didn't want shared. When a house is raided and someone flushes a toilet, can courts assume they flushed drugs, or does that have to be proven? I hope he's found not guilty, but either way this definitely is not the "sky is falling", "we're almost a police state" case that folks here are making it out to be. It's a very narrow and novel line. > When a house is raided and someone flushes a toilet, can courts assume they flushed drugs, or does that have to be proven? Game it out at the systems level. If the prosecution had to prove beyond the shadow of a doubt that what was destroyed would have been evidence, then destruction of evidence would be functionally permissible whenever it done competently. > ...either way this definitely is not the "sky is falling", "we're almost a police state" case that folks here are making it out to be. It's a very narrow and novel line. Agreed. And activists should generally work with lawyers in order to be familiar with areas of the law they are likely to encounter in the course of their activism. Especially activists who travel internationally. "Our justice system could not function if people had a right to lie to the police" Yes - and, of course, every criminal does follow the rules! It's only "good guy" who gets completely destroyed and steamrolled over. Bad guy? Not even deported. "Cultural differences". Fuck the US. I find it interesting that you can’t lie to the police but the police can (and do) lie to you. Why? I disagree. Back then it was all a big secret. Officially the US was pretending. Now? It is all out in the open. They're BOASTING about it. The baddies do whatever they want and noone is going to do anything about it besides write a blog. There will be no 1970s backlash with progressive Supreme Court judges and a senate committee investigating Hover. Despite the normalization of masked federal gunmen kidnapping people based on the color of their skin and the language they speak.... Not even breaking a law in the process, the supreme court legalized racial profiling. One can just argue about the normalization of people breaking the law by overstaying visas or hopping the border or whatever being the Supreme Court (or whoever you feel like blaming) legalized some other concept that most Americans also find disagreeable. We don't have to have brown shirts pulling people off the street, and we also don't need to have this stupid fight over simply enforcing our borders like every other country on the planet. Extremists on both sides are as always, simply incorrect. Reject MAGA, reject DSA. In context to my OP, none of this stuff or policy really affects most people's day to day lives. If you turned the news off you'd probably have no clue people were jumping the border en masse and you'd likely have no clue that those very same people were being arrested and deported. Normal day of a normal person living in dictatorship ... is normal. There are sometimes periods where a lot of people are at risk at the same time, but they pass. Many people lived their normal lives through communism with no issue. They ignored bad stuff and abuses just like your tv turning off person. And yet, they were living in dictatorship. And found out if they tried to do something different. > some level of normalcy You are undoubtedly correct that at some point there will be new leadership in the US. Politics makes leadership change a possibility. Biology makes it an inevitability. But I don't think the evidence is very strong that switching from one man to a different man, even if the new man wears a blue hat instead of a red hat, will make that much difference against capital and its surveillance state. This isn't a false equivalence "both sides" argument. I'd greatly prefer the blue hat over the red hat. But the blue hat only makes the underlying forces of late capitalism a little slower and a little less vicious, while simultaneously legitimizing that system. Yeah, mostly agree but playing devils advocate, PRISM was authorized under bush, implemented under Obama, and is being abused by Trump. Obama promised safeguards, but it’s pretty clear those were just a ruse. It’s only going to get worse. The well deserved controversy around Flock is the perfect example. I'm skeptical that we will have an exchange of power in the next 40 years. The USSR is a great example: it took 65 years to fall, and the collapse didn't bring it to anything particularly good. I agree. It's actually quite insulting to other countries whose actual atrocities were measured in lives lost. I voted for Kamala but Trump Derangement Syndrome is real. He's just a loser, he's not even remotely brave enough to be Hitler Jr. The guy doesn't have the stomach for real totalitarianism. Just populism, corruption, and weakening the country. Yes but many who support him and bankroll him do. They use him as a public thermostat to keep upping the heat to see if any of the frogs jump. The USA started from and has come back from way worse in the past. Some dark, dark things happened in the USA, and almost every progression had a corresponding backslide - but the tick-tock has always ticked further towards a freer, more equal, and more equitable society. Progress doesn’t always (ever?) require complete collapse. I’m willing to hope this era is another ‘tock’. But that does require people to not just give up (or even work to accelerate the backslide?!) as you seem to be suggesting is the best course of action. >but the tick-tock has always ticked further towards a freer, more equal, and more equitable society. This is a popular sentiment, not a statement of historical fact. Arguments both for and against this are credible. You can make a credible argument that the American society is less free, less equal, and less equitable than it was at its founding? There are just so many ways in which this seems crazy to me. I feel like you think you’re luring me into some sort of rhetorical trap - but to pick the two elephants in the room, a large proportion of the population was literally owned by other people, and only white male landowners could vote. That wasn’t the claim: it was that the tocks always outpace the ticks. One area that this extremely obviously does not align with is immigration. It’s very reasonable to consider that in many areas we may regress to a mean somewhere in between founding days and the peak. Do you honestly think that our society was more (or as) equal 200 years ago than it is today? Or even 50 years ago? Even in the 1970s, there were places in the United States that women couldn't get a checking account without a man co-signing on the loan. We can certainly take issue with how rich countries oppress and exploit poor countries today, but you can't honestly say it is worse today than it was during colonialism. > if you accept the US has entered its East Germany / late 20th century Soviet era That's just too ridiculous and absurd for most people to accept, thankfully. I accept reality, not social media narratives. This defeatism is unhelpful. I'll not simply surrender the country that I love, thanks. Doing nothing is surrender. So what do you propose people do? What are you doing? Is it effective? We have unprecedented corruption in the White House but much of the other stuff is not new territory. It’s bad and a regression I hate to see. But we can always improve when the people demand better. The people always have the power, even if they don’t realize it. For the most part nothing has changed. This has been legal since long before Trump, if you don't like it there's laws in motion to ban it you can support, but entering across a border you've been allowed to be searched without a warrant for decades at least. And if you're being searched and then you destroy what they're trying to search... Here you are. From the article: “ he has been ensnared by National Security Presidential Memorandum-7, or NSPM-7, a sweeping directive issued by President Trump last September that expanded the definition of domestic terrorism to include crimes like getting in the way of immigration enforcement.
His prosecution is one of the earliest known instances of the federal authorities charging a person with destroying evidence using a program designed to wipe a device clean after a specific code is entered.” So, while “no privacy at the border” has always been a thing, the re-categorisation of this as “domestic terrorism” is new. i remember when hacker news was full of hackers. that persona is dead now. > US has entered its East Germany / late 20th century Soviet era > The social dynamics are the same - the abuses, the selective enforcement, the lack of recourse, the same characters in the roles of various levels of "law enforcement" and "politics" What you're describing is politics in general. The question is not whether abuses occur (they do, everywhere), but whether the system is built to be resilient and course-correct over time. The thing about freedom is not just that it's less miserable than the alternative; more importantly, freedom enables a feedback loop where people's individual choices carry corrective information: what they buy, what they sell, how much, at what price, who they vote for, what they write/publish, what they read, what they say etc. The system at large can correct itself over time if (a) these choices are allowed to have power to influence the system, and (b) the courts enforce justice without interference by the ruling party. Not a single communist country in the 20th century stayed communist for more than a few years when only 2 freedoms were allowed: (1) freedom of the press, and (2) freedom of the courts from control by the ruling party. The Soviets and East Germans suppressed every form of freedom that carried information or potential corrective power, because they maxxed on staying in power above all - they effectively had to. No one wants to be under real communism/socialism[0], so for it to be stable it has to be maximally suppressive. [0] see various records of escape attempts, such as https://www.ebsco.com/research-starters/politics-and-governm... In law school we skipped border search cases because the border crosser cases can basically be summed up with “you have no right to privacy at the border.” This has been the common law for 5000 years. It has nothing to do with Trump, or cell phones, or anything other than the notion that a sovereign has an absolute right to know what is crossing its borders. > The naivete of some of the comments here is astounding This is HN. https://xkcd.com/538/ The US has it's mid-term elections this november, and it's possible, and even likely, that the Democratic candidates will win overwhealmingly. The Democrats are not a monolith, either, the Democratic Socialists of America political group is the very progressive part of the Democratic party, they are the ones that are not accepting dark money campaign donations. I do not agree with a lot of the unrealistic things that some DSA candidates have said, but those or the candidates that aren't winning the primaries. There is a giant blue tidal wave coming in November. Trump will become nothing more than a lame duck "president", and he'll likely be impeached in the House and convicted in the Senate and the Justice System will probably be the final arbiter of his fate. That's the way I see it. And I never believed I would be saying what I just said, but the fact is that since trump was elected, the democrats have flipped 31 (at last count) formorly Republican held seats, and the republicans have flipped exactly zero seats from democrat to republican. The American People are not their goverment, especially right now, even though that's not how it was meant to be, but I know one thing, they are fed up and enough is enough. I agreed with everything you said up until “he’ll be convicted”. Not a snowflake’s chance in hell unless the DSA metaphorically push the doddering old guard down the stairs. You don't need to go to other countries to play your fears, lest we forget our constitution is a pro-slavery document and one of the first acts of congress was the fugitive slave laws. I think it's more effective to stick to our own history because this country has always been a struggle for workers outside of a small very respite after WW2 that has been actively fought against and weakened since. > I'm so very sorry, but the best you can do from here is speedrun the collapse. This is a pretty silly take. If you actually follow the news, all of these issues are getting pushback. It's not at all clear that even a competent fascist-leaning government would be able to push through what the current one is trying to do, and sadly for them, competence in their ranks is in short supply. The bigger issue has nothing to do with the faddish concerns of the current government. The era we should be looking to is not East Germany/late Soviet - it's more like the Gilded Age. Robber barons need to be dealt with from time to time. >Those things are of the past now, for the US. It's a temporary situation, it isn't necessarily a permanent situation. Tell me how you think East Germany is doing these days. And no, it doesn't have to take 40 years to right the ship, so long as people get their heads out of their asses and vote. Things are likely to change by the end of this year, and in another 2 years we could have a very different government that could undo a lot of the bullshit going on right now. Tens of millions have voted for this 3 times in the past 10 years, it succeeded twice. This is not going away, half the voting population of the US wants to live under authoritarian rule and will do anything to take the whole country with them. I think if I lived in a truly authoritarian country I'd be a bit taken aback to have my situation equated to that of Americans'. Voter preferences can change with time, as voters observe the effects of their previous selections. Most voters don't want and didn't vote for authoritarian rule. They are humans with many diverse challenges & concerns in their lives. Their votes are an attempt to balance/compromise among those. Voters change their mind all the time. Sure, there are still plenty in the US who want all this, but Trump's approval ratings are at or near all-time lows, and at least some people who voted for him finally see his lies for what they are, and have regrets. It's still worrying! His supporters still number lots of people who a) are still somehow too gullible to realize Trump and the MAGA crowd are not going to make their lives better, and b) actively want what's going on. But there are easily more eligible voters in the US who wouldn't vote for a Republican with a gun to their head, or who are finally starting to understand that "sticking it to the libs" is hurting themselves. It's not going away, but it's likely that it's declining, and possible it will continue to do so. Whether or not it declines quickly enough, before these jackasses consolidate power and break what's left of our institutions... well, that remains to be seen. You can rage against Trump and republicans as much as you want but in the end the democrats must learn to formulate why anybody should vote FOR them. Even in the current chaos they aren’t able to bring up a coherent message and follow through when they are in power. I see the same in Germany. AfD is getting stronger while the established parties get nothing done. It reminds me somewhat of the state of the Weimar Republic. The democratic parties failed which gave an opening to the nazis. >half the voting population of the US wants to live under authoritarian rule That's half the people who showed up to vote, not "half the voting population". 1/3 of the eligible voters simply didn't vote, and from the people I've encountered that don't vote, they are mostly left-leaning. No, stupidity and self-harm aren't going away, those are human traits. The current admin is actively hurting everyone, with tariffs and stupid wars he campaigned that he wouldn't start, ICE in every city everywhere causing chaos even to right-wing supporter-owned businesses (they wanted immigration reform but not like that!). This admin has shit the bed, and even his supporters are feeling that. They are now in the "finding out" phase, and the next phase doesn't look so good for republicans in the next election because of it. Does anyone on the other side have a credible plan to undo the damage? Where's the Project 2028 book? Is there anyone credible putting together the Executive Orders to undo the stack of shit, is anyone putting together a short list of District Attorneys to interview on January 21, etc? https://www.liberalcurrents.com/the-reconstruction-papers/ is explicitly aiming to be a Project 2028 book for the left. That's the thing that worries me. The Democratic party just doesn't have their shit together in that way. They absolutely should be developing this sort of plan. I expect there is some plan, but I doubt it's as comprehensive or in-depth as Project 2025. And it needs to be. On a long enough timeline, nothing is permanent. The question is how long it lasts and how bad it gets before it gets better. In terms of the ending, East Germany was nearly an ideal case. The state just sort of gently fell over. The country got absorbed into a friendly neighbor. There wasn't much loss of life, no widespread destruction. Then there's East Germany's predecessor state, which ended because it decided to wage war on half the world, and its people bore the consequences. Millions dead, cities wrecked, occupation by foreign armies, the country carved up. "This too shall pass" isn't always a good thing. Or look at the state that created and sustained East Germany. Borne out of violent revolution, decades of repression, collapse, turmoil, economic hardship, brief flirtation with democracy, de facto dictatorship, no end in sight. My biggest worry with the US right now isn't the government itself. It's that so many people want this government. Voting doesn't help when the voters want the bad stuff. We could have a very different government in another two years if the people want it. I'm not convinced they do. If they do I'm not convinced that sentiment will last. We already went through this once, and the "actually, let's not give the shitheads power" sentiment fell apart by the next election. > Tell me how you think East Germany is doing these days. > And no, it doesn't have to take 40 years to right the ship, so long as people get their heads out of their asses and vote. so then you admit the outcome here is contingent/conditional. do you understand that means we are already in dire circumstances if the outcome isn't certain? For exactly the border search scenario, I wish smartphones could be imaged and restored as easily as PCs. Imagine booting the phone from a flash drive, making an encrypted image of the phone on said drive, and writing a fresh OS before reaching the border. There's no deception required to protect sensitive data or avoid the seizure of an expensive phone. Consent to unlocking the phone, refuse to unlock the drive. The drive gets seized and you go on your way (if you're a US citizen entering the USA). Some time ago, Android with a custom recovery could come close to that, but it was fussy and as far as I know, no longer viable. Increased use of TPMs for storing credentials seems to be at least one of the reasons. It may be fun to fantasize about these things some times, but there is no technical solution to tyranny. Laws are not like code, intent matters. Ultimately if the intent is that the government wants to see your private data, hiding it in any way will be charged - it doesn't matter if you jump through hoops to avoid this specific instance. This is a half-truth. In a full banana republic, technical compliance with the law will not prevent consequences for failing to do what the authorities want. In a jurisdiction with perfect rule of law, it always will. The USA is somewhere in between. One of the laws that's enforced pretty well in the USA is the protection against unreasonable search. Most of the time, a search requires showing a judge evidence that the search is more likely than not to reveal evidence of a crime. Exceptions are narrow and specific; the government's options to punish someone who refuses to decrypt data at the border are limited to brief detention and seizure of the medium. Not yet tested is the idea that erasing data on the spot satisfies the purpose of the border search exception, which is to prevent importation of things that are illegal to import. This case might address that question. Unreasonable search is always under attack though. There are many instances today of cops forcibly entering a home claiming nothing more than a welfare check, or "we received a call." Edit to add that its also more difficult than it should be to protect and exercise the right against unreasonable search. If a cop knocks on your door its a consent-based interaction. You can simply not respond, but if you do happen to crack the door they can and will look in for any signs to claim as probable cause. Further there are cases where a person stepped out to talk and when they turned around and walked inside the cop slid right in behind them and later claimed in court the open door was implied consent. (I don't have a link to the court docs unfortunately.) >There are many instances today of cops forcibly entering a home claiming nothing more than a welfare check, or "we received a call." Sure, but there are also many instances today of evidence getting thrown out in court due to cops not getting a warranty and poisoning the tree and all its fruit. Rights don't just enforce themselves, there are and have to be a number of layers to the onion to help reduce the violation numbers at each stage. >There are many instances today of cops forcibly entering a home claiming nothing more than a welfare check, or "we received a call." And there are also many instances of the city being sued, those cops being sued, losing qualified immunity, losing their jobs, etc, because we do still have recourse when cops do the wrong thing. If your rights were violated, you stand to get a big payout, and get the cops fired that violated your rights. We aren't powerless, yet. > And there are also many instances of [...] those cops being sued, losing qualified immunity, losing their jobs Not really, the data points the other way. Cops basically never have to actually pay for their wrongdoings. Over 99.98% of money successfully recovered from cases against police is paid out by the cities, not cops personally [1]. A considerable number of cops that are fired are also eventually rehired by the same department [2] or a different one [3]. So I don't think it's that clear that you "have recourse when cops do the wrong thing". [1] https://nyulawreview.org/wp-content/uploads/2018/08/NYULawRe... [2] https://scholarship.law.vanderbilt.edu/vlr/vol74/iss4/4/ [3] https://yalelawjournal.org/pdf/GrunwaldRappaportArticle_s6br... Can you link to some of these cases of cops losing qualified immunity? It's an area in interested in but I understand that to be a vanishingly rare outcome - like only in very egregious cases, not just for run of the mill rights violations. we're far closer to one side of that spectrum than the other. consider the retroactively legalized mass wiretapping, room 641A, NIST compromises, PRISM, 14 Eyes, the other Snowden revelations, etc then consider this paired with the implementation of mass data sharing between the alphabet agencies, surveillance data sharing from private companies like Amazon Ring, Flock, Clearview, etc. and NSPM-7 ordering agencies to create JTTFs to target organizations like BLM then consider the unmitigated use of force by federal law enforcement agencies like ICE I think if this were 1995 your point might be fair but those days are unfortunately long gone Border search exception lowers the requirements for judicial oversight. "In United States criminal law, the border search exception is a doctrine that allows searches and seizures at international borders and their functional equivalent without a warrant or probable cause. Generally speaking, searches within 100 miles (160 km) of the border are more permissible without a warrant than those conducted elsewhere in the United States." https://en.wikipedia.org/wiki/Border_search_exception 213 milion people live in this zone. Agree with the thrust of your comment, but I had to comment on this: > In a full banana republic, technical compliance with the law will not prevent consequences for failing to do what the authorities want. In a jurisdiction with perfect rule of law, it always will. I think you may be misunderstanding that many laws, even in fair, just societies, are intentionally designed to be flexible. The real world is so variable and messy that in many cases it isn't feasible for a law to be written such it can be unambiguously determined whether or not a specific action violated the law. Laws often rely on humans using context to judge whether something violates the spirit of a law, and in a just society, this is a good thing. My point is that I don't believe the idea of "perfect rule of law" is sensible. Law is always necessarily a bit fuzzy and nebulous. Normally I agree, but making the implementation initially ineffective is a good way to complicate more far reaching measures. Americans aren't standing up against this, but they might have considerably more interest if the government was instead trying to ban encrypting data in cloud storage for everyone. There's also just the fact it's ridiculous I can't have a spare phone ready to go in a few minutes and get it back exactly as I left it. Yes, trying to solve a regulation or legal issue by some technical workaround will never work, you have to fight it at the same level, legally, or system-wise, otherwise, you will be like the person who tries to wash the stairs from the bottom all the way up, it rarely works, you gotta go up to down, collectively go against the matter rather than individually duct taping it for your own specific needs. In that example, it won’t be far fetched the same ones who made it illegal to wipe your phone to make illegal to install xyz OS or using abc protocol, in fact, that’s exactly what they are trying to do under the disguise of “protect the kids” and going after encryption or similar privacy related issues. They would not be so vehemently against it if it did not work. There is a reason E2EE, duress passwords and similar technologies are under such intense assault these days. > I wish smartphones could be imaged and restored as easily as PCs. Imagine booting the phone from a flash drive, making an encrypted image of the phone on said drive, and writing a fresh OS before reaching the border. Backing up and restoring an iPhone is extremely easy. You don't need to imagine all of this flash drive or encrypted imaging stuff. You plug it into your computer and do a backup. You can then wipe the phone through the menus. Restoring from the same computer is easy. GrapheneOS has built-in encrypted backup and restore. It backs up the same data transferred by Google's device transfer feature for moving to a new phone which is nearly all app data, the data in the home directory, contacts and a bit more. Certain apps such as Signal encrypt their own data with another layer of encryption using a hardware keystore key. Signal's own backup system needs to be used for that, although it can just be used as a way to get data into the system backup. It's worth noting wiping a device shortly before an anticipated search could also be considered destruction of evidence in the same way. It doesn't have to be done after a request for the data to be considered that. > There's no deception required to protect sensitive data or avoid the seizure of an expensive phone. Consent to unlocking the phone, refuse to unlock the drive. The drive gets seized and you go on your way (if you're a US citizen entering the USA). This was likely the best move for him to take. They could have held him for a while and wasted his time but eventually would have had to give him access to a lawyer and let him go. Unless they had a recording of him entering a PIN/password, they were nearly certainly not going to get his data from it. He very likely didn't gain anything from wiping it. He did help every GrapheneOS user by spreading awareness of the duress PIN/password. It was designed around an adversary aware of it and therefore not wanting to attempt using a PIN/password obtained via coercion. In the future, we want to integrate the feature into the secure element rate limiting for key derivation so it can't be avoided by exploiting the OS. I've restored iPhones before, and it does seem pretty simple. Easier than PCs for sure. It's not instant, but the basic configuration is restored pretty quickly while the bulk data restoration happens in the background while you're able to use the phone. What about banking apps and stuff? Does the device binding still work or do you need to set it up again? Depends on the app and security setup. If it's using old school Symantec VIP Access, it will not survive a restore. If it is using TOTP from 1Password, it will. Not sure about other options, those are the two I am most familiar with. Thankfully I only have a single app these days relying on VIP Access. > For exactly the border search scenario, I wish smartphones could be imaged and restored as easily as PCs. You're always been able to backup and restore your iPhone to your local Windows PC or a Mac using free first party software from Apple. Also, it is just a nice idea if you are prone to losing phones. Backups are good for all kinds of reasons. There's a way simpler solution and it's just to leave your phone at home and put your SIM in a different handset without all your data on it An increasing portion of phones are eSIM [0] only these days, and the difficulty of swapping can be weirdly-bad depending on provider. But non esims exist still, and if you're that worried about security, you can get one. Not forever though, and if you're an iPhone user, already current iPhones sold in the US are eSIM only. So in some number of years (depenfing on your device oldness tolerance), they will become obsolete eventually. > refuse to unlock the drive. The drive gets seized and you go on your way (if you're a US citizen entering the USA) … yeah I doubt that nowadays honestly > ...making an encrypted image of the phone on said drive... refuse to unlock the drive How is this any different than refusing to unlock the phone? It just seems you've added unnecessary extra steps. As I understand it, the drive can thus be seized, and a potential loss of a cheap flash drive is a lower inconvenience than loss of the phone. Think for a moment. What is the difference between giving them a password which wipes the phone and giving them a password which opens a blank phone? It's the same thing. They punched in a code, they are presented with a wiped phone. Can they prove the guy gave them a distress password and wasn't simply carrying a wiped phone to begin with? No, but they just need to imply that is the reason to charge him with the felony. Tyranny does not care about "proof". It doesn't even care about plausible deniability. Best you can get away with is lack of suspicion. Have a secondary phone with some standard apps on that you use now and then so theyhave a history and just look like you are just not a technical person and read novels on dead trees instead. A lot of work but likely works. are we seriously approaching a point where its quasi-illegal to not participate in the socials? More like they've looked you up and the apps being missing would be a giveaway about the dummy phone The best technical solution is one code opens to a phone that has things but isn't your actual phone, and then another code that opens to your real phone. >What is the difference between giving them a password which wipes the phone and giving them a password which opens a blank phone? They don't get any indication that there was data there to be deleted, and you don't just factory reset but flash w an image of a clean phone that's been used. It has apps, it has accounts, it looks to the untrained eye (because that's who's looking at it) like a phone that was used normally by someone who has done nothing wrong. Really? Does it take a long time to recover the phone? Haven’t really ever needed to recover a backup Apple makes this very easy. I broke an iPhone and bought a replacement. If you have iCloud, you login to the new phone and you can see which backups you can recover from. If you are transferring a phone, say you upgraded, it’s even easier. You can also image the phone with a connected laptop and store it on a backup drive, which is nice to not use up iCloud limits. The transfer and backup system are pretty much the same mechanisms. Restoring is probably order of ~1 hour to go through all the setup. Then some hours to sync any data and updates that need to be redownloaded, apps reinstalled, etc. I mean, you could ship your real phone to w/e destination ahead of you and bring a $50 burner to the border. If you're a person of interest this won't work because they can monitor you and the destination but if you're a regular schmuck then a burner that never touches your private data or accounts and has a bunch of dummy stuff on it will get you past the border goons. I used to play around on projects adjacent to Tor and TailsOS, and had an idea for a setup I was researching. It's a little intense and probably has annoying failure modes, but sharing in case anyone else finds it helpful: - Tasker is an automation app for setting up rules for triggers and actions. It allows extension apps to be created to add new triggers and actions. - someone at one point made an extension to add an action for wiping or factory resetting when triggered - there was an existing extension (or core feature) to trigger when certain signals are lost or found (e.g., wifi signals, Bluetooth LE beacons, etc) So the idea is to carry a BLE beacon (any "item tracking" one works) on your keychain, and an unassuming faraday cage pocket alongside it. If you want to wipe your phone, slip the fob into the pocket, the signal disappears, and your phone wipes. And if you don't have the keychain on you, just refuse to open it right away, as when they put the phone itself in a faraday cage (to prevent it from being remote wiped), they cause the signal to be lost, and it gets reset. Not sure if all the pieces still exist (I dont think the tasker extension for wiping existed outside a forum post...) I like the idea of a phone that automatically wipes itself if I don’t act to stop it. I wonder about the legality of that if the duress code is considered “destroying evidence.” Or keep it in a faraday bag and have the phone wipe if it sees it. If you're ever searched (or otherwise indisposed), they'll open the bag and wipe your phone for you. Oh hey, I like this variant! So... both the BLE beacon and the phone have a faraday cage, and if they ever appear together outside their cages, the phone wipes? Perhaps less likely to go wrong than my original proposal when living normal life, as it might wipe if the BLE signal randomly gets lost. It would be nicer if you could leave phone in cage during security, and remove beacon while loading airport trays ("remove all electronics from their cases..."). the only chance for a failure mode is only when you're going through security, and have the fob outside its case.. But you'd need to be able to leave your phone in the faraday cage pouch while going thru security, which is only ok if they don't notice... (maybe they commonly don't notice small faraday pouches aren't empty... Maybe they wouldn't if you had a secondary mobile device...) I was imagining only the BLE beacon living in one of those little faraday pouches people put their key fobs in. They should be pretty much transparent passing through the x-ray and a pouch with an airtag in it wouldn't raise any suspicion at all at the airport. Only once you're getting invasively searched would they (ideally) dump the pouch out into the tray with your phone. This depends on the beacon being visible. If they just take the phone and walk away, because that's where they think the evidence is, it won't wipe. When I've gotten secondary screening the first thing they do is take all my belongings and rifle through them on a table. That seems to be standard practice and I'm sure it was step 1 in Tunick's ordeal. Both approaches have situations they wouldn't work in. If you're extra paranoid you could do both. > If you're ever searched (or otherwise indisposed), they'll open the bag and wipe your phone for you. Isn't that the exact same situation here that resulted in felony charges? Border agent was given a duress PIN and wiped the phone for the owner. Now owner is charged. I don't see how. Regardless of how you feel about the lawfulness of the overall situation, Tunick gave an agent false information which resulted in the phone being wiped. That's intent. This requires no action whatsoever from the phone's owner, you could even be unconscious/dead and it would still work. The intent in that scenario is to wipe your phone (destroy evidence) when a bag is searched by federal agents. I used to contribute to this https://en.wikipedia.org/wiki/USBKill Ah I recall I used to see the creator around :) thanks for your work! Regarding the motivation for usbkill mentioned in the article: I too was motivated to think on this stuff in relation to my sense of injustice around Ross Ulbrecht, and wanting to think of some way that someone in his position could avoid getting caught. One creative variant in my thinking involved embedding the BLE beacon inside a rubber ball that could be launched and lost track of. Or maybe embedded in heel of a shoe and ditched in transit haha With no third party apps you can set an iPhone to wipe itself after 10 failed passcode attempts. US law enforcement is well aware of it. They're also now well aware of the GrapheneOS duress PIN/password feature. It was designed to work against an attacker aware of it by acting as a deterrence. If they're aware of the feature, it discourages them from trying to coerce a PIN/password and attempt to unlock with it. We aren't fond of features depending on an attacker being unaware of them and this isn't one of those. Pixels have a high quality secure element enforcing a maximum of 20 unique attempts to derive the encryption keys for each separately encrypted profile. There's also very aggressive rate limiting between the attempts. It filters out duplicate attempts by temporarily remembering the previous 5 unique attempts to make the rate limiting more usable. A misremembered PIN/password repeatedly entered over and over will only use up 1 attempt. Android does have standard support for enabling wiping after N attempts and an open source app can be used to set a configurable limit rather than specifically after 10. tfw face when I leave my phone on the table and go to the restaurant bathroom only to return to a brand new squeaky clean factory reset All Archive pages, when accessed from Italy, now are blocked by the Government: "PAGINA INTERDETTA DAL CENTRO NAZIONALE PER IL CONTRASTO DELLA PEDOPORNOGRAFIA ONLINE (C.N.C.P.O.)" “PAGE BLOCKED BY THE NATIONAL CENTER FOR COMBATING ONLINE CHILD PORNOGRAPHY (C.N.C.P.O.)” Oh, we live in an interesting age. We can research on what happened, but it is pretty obvious... You are nonetheless talking about the .ph - only that. I am currently in Italy (just passing through) and was able to open the archive link with the article If you're using roaming on your cellular plan, all your traffic is routed over VPN to your home country, so local blocks don't work. (That's one of the reasons why it's trivially easy for foreign visitors to China to bypass the Great Firewall.) If you were on wifi, that's notably interesting. U.S. citizens are going to need obtain a burner phone before returning, and load it with the absolute minimum to load boarding passes, etc., perhaps some reading material or a movie to watch on the plane, and be prepared to share full credentials for thing at the border. (I used to do some travel patterns where taking a certain client laptop wasn’t an option. It was an absolute gigantic pain for the type of work I did, but it was just too risky to have a laptop seized and be expected to input credentials.) I think it's enough to shut down you phone. Then it needs a pin, and you're entitled to not give that over, I believe. So you should be safe, apart from some kind of rubber-hose cryptanalysis. > So you should be safe, apart from some kind of rubber-hose cryptanalysis. There are vendors that sell the technology to adversarially access phone data, the "Before First Unlock" is the safest state a phone can be, but it's not infallible. The safest option is to have a burner or factory-reset phone with nothing on it, even if the hack succeeds. I've worked with Cellebrite, the industry standard in IT forensics for unlocking and imaging phones. It just runs a series of known exploits. PIN lock, data encryption and regular updates will beat it most of the time. > I've worked with Cellebrite Any chance you want to do a public service and publish the latest compatibility matrix? Just joking, obviously… Before First Unlock with recent hardware and an up to date OS is probably sufficiently infallible for an average person. I wouldn't want to rely on it if I was engaged in espionage, but for someone who won't get the NSA pulled into the case, I'd be pretty confident. This leaked Cellebrite support matrix shows that BFU was secure against them for iPhones that were nearly four years old at the time, and I doubt it's become significantly worse since then: https://ia800405.us.archive.org/32/items/inseyets-offline-uf... > Then it needs a pin A compromise to this is that many phones have a "lockdown" mode, where it isn't fully off but refuses to accept biometrics until a code/pattern is used to bring it to a more day-to-day mode. It's less-secure than being fully off, but it also means if you do need to access your phone you can do so more-quickly. If you don't give a pin, they can seize your devices (Andrew Tate on his 1st visit to Florida said that he refused to give pin and they seized phone and laptop) They can't keep them, you'll get the devices back. Use a temp phone in the mean time. Sad that we have to accept this as a risk of international travel, but here we are. They can absolutely keep them. Or they can just "lose" them "accidentally". Who exactly would force them to give them back? Or put another way, who exactly will punish them if they break the law? They can’t keep them permanently, but unfortunately they have in the past kept them from some people for years, until the hardware was past its useful life. It’s a good idea to only travel with electronics you don’t mind losing (and not just because of this). You have a worldview that’s incompatible with the reality of the current US legal system where things work the way you believe they should, rather than the way they actually do. Morality and direct commonsense interpretations of law do not apply when there are literally unlimited resources stacked against you. But, assuming you can wait the potential ~10y to receive your device back that it will take to get your device returned to you, good on you. If you think that the current SCOTUS will rule in your favor, good on you. The reality is, we live in a time where the most horrendous interpretation of the law is the one that will happen. And it won’t be in your favor. Honestly, I think this is still fine for most people. The probability of a border agent asking me to unlock my phone is very, very low. The inconvenience of using a burner phone is high. If they do take my phone (completely shut down, unlikely they'll be able to break in) and it's gone forever, that sucks, but then I get a new phone, restore from a backup, and move on with my life. Given that the probability of getting to this point is very low, I'm comfortable with the risk. But sure, if I was at high risk of being detained at the border due to my profession, country of origin, ethnicity, etc., I'd probably look at this differently. I'll take that risk. It's pretty unlikely, and if it happens, having to buy a new phone is not the worst thing in the world. If you’re a U.S. citizen: CBP cannot deny you entry to the United States merely because you refuse to unlock the phone. If you’re a non-citizen seeking admission: refusal is much riskier. The important wrinkle is that CBP’s published policy expressly guarantees that a person being admitted as a U.S. citizen won’t be denied entry solely because CBP couldn’t inspect the device. It doesn’t give lawful permanent resident (green card holders) that same explicit statement. Instead, it says refusal by a “foreign national” can be considered in an admissibility determination. Isn't the guarantee for citizens a bit stronger than CBP's policy? I don't think they can lawfully deny entry of a citizen, period. They cannot (lawfully) deny entry. But they can admit you and then immediately detain and/or arrest you. Sure, if they have a warrant or probable cause, just like any other law enforcement officer. In theory, yes, but in practice they can do whatever they want, and suing them after the fact is going to be expensive, and have a high probability of not working out for you. When interacting with border officials (or any LEOs, for that matter), be polite, don't get hostile or aggressive, but also be firm and don't volunteer any information that you're not required to give. this only applies if they don't refuse to acknowledge your papers as valid and/or they haven't previously put you on some hidden list of people of interest, in which case the instance where you get to prove you're who you say you are will be mediated, like the rest of the (as per the current system) nonpeople, by as many layers of humilliation and risk to your life and health as they can place. Giving up knowledge (password) is something that is typically scrutinized at the border as well. Had he just handed over the phone and the phone had abilities to self destruct if tampered with (e.g too many incorrect pin entries) -- well the gov's case wouldn't been much harder. If they seized property and accidently destroyed the data, then that's on them. You are correct, you have to give up the phone but can't be compelled to give up the password, and you'd get it back some indeterminate amount of time later. It's actually been on the books for a while (decades at least) that customs can search you at the border without a warrant even if you are a citizen. This case seems to have become a big 'Trump bad' poster child (people are calling the US East Germany in these comments...), but if this exact scenario happened at least in the last two decades (I found an example upholding the searches from 2004) then it would at least be possible to charge them with deleting evidence. Even this probably would have been nothing if he refused to give up his password, not being required to provide a password has been upheld for years. They can seize your phone for some time but I'm unsure on the times they ask and then just let you move on when they find out your a citizen. As everything on your phone should be backed up, you could just wipe your phone to new. Then log in with another temp account and use that for border pass etc, and then after border checks log back into your normal account? Just get a boarding pass from the counter old school style. They still print them. leave electronics at home. never take electronics to any airport unless you don't care if everything is read. your only option now. or have a good enough decoy or encryption system in place. Such as pressing a button to lock or replace key documents but keep the rest intact. So what looks like a sensitive document omits key information but still appears to be legit to observer. That's probably a bit overkill. TSA doesn't have nearly as much power as CBP, so it's only a concern when coming back across the international border. the best decoy is a cheap burner phone that you only use for travel purposes According to the article, he was actually using GrapheneOS and gave the border official the Duress PIN. So I guess technically it was the official that erased the data :-) Not how the law works. If I put a bomb in a box. It will explode if a certain pin is put in. And you ask ”can I open the box? What is the pin?” And I say ”here is the pin to open it” and the bomb explodes. Do you think I can claim they blew up themselves ? Yes. Because law enforcement assumes there's bombs in boxes by default and defers to the bomb squad to understand the box before they touch it. Why would the bomb squad trust the box owner to help them defuse it? To understand the issue, you have to construct a proper analog. Sure, you're right that this analogy is bad, because that would never happen. But if it did, you'd still be on the hook for the bomb, even though technically the LEO set it off through incompetence. I never told you it is a box with a bomb. You just asked if you can have the pin. You can do another example where you give false information with the intent of making another person take an action that they don’t wanna take and would not take unless you had provided false information. You are causing the action to happen. Just like if you yell fire in a theater. You didn’t stamped anyone to death. But your words caused it. You don't have to tell me a bomb is in the box because it doesn't change the fact that bomb squad is called before officers know what's in the box. Why would the bomb squad be called after the box is unlocked and the contents revealed? A better feature would be a 2nd PIN that unlocks the phone to a secondary profile, which you would leave pretty bare for situations like these. I wonder whether it'd be better for a duress PIN to delete existing data and also create a semi plausible artificial profile to hide the deletion event. This discussion was raised last time this story was discussed. I was among its advocates: <https://news.ycombinator.com/item?id=49061890>. Briefly: no. Less briefly: <https://news.ycombinator.com/item?id=49060780> and <https://news.ycombinator.com/item?id=49060716> (from the grapheneos HN account directly). I think for the case we're talking about here, though, it would be doable. This doesn't need to thwart deep forensic analysis. It just needs to survive a border agent thumbing through the contents of your phone for a bit. If the fake profile data looks plausible, and doesn't raise any flags, the agent gives the phone back and you're on your way. Hell, I think a setup that doesn't wipe anything, but just drops you into a sanitized, isolated profile for the border agent to look at, would be fine for many users. Certainly you wouldn't want to use this in truly high-stakes situations where it's likely that your device will be confiscated no matter what, and analyzed to death, but for the simple "border agent wants to snoop on my data for a few seconds" case, it's likely sufficient. (As always, risk analysis can be hard, humans are often bad at it, and not everyone's threat model is the same.) Thanks for sharing - I get the concerns people have raised in those threads, however I still feel something in this space could be useful. Even a duress PIN which triggers predefined deletion of certain folders, messages and apps could reduce law enforcement exposure significantly. Deleting arbitrary directories, messages and app data would be highly unreliable. There's a high likelihood of the data being recovered. It's not how computer filesystems and storage are designed to work. Reliable deletion of data requires setting it up to be reliably deleted later on by having it encrypted on storage with keys which can be reliably prevented from ever being obtained again. Wiping the overall data on the device via a factory reset, OS recovery mode or duress PIN/password prevents recovering any of the data because it reliably wipes material needed to derive key encryption keys and also reliably wipes the encrypted disk encryption keys. Wiping the encrypted disk encryption keys alone would not be good enough because they're stored on the SSD so imaging the SSD and restoring it could preserve the ability to recover the data. The way the key material needed to derive the key encryption keys is wiped prevents recovery via imaging the SSD mainly due to the secure element. There's already support for reliably wiping data at the granularity of Private Spaces and secondary users. Those have their own encryption keys and can be reliably deleted due to having their own Weaver slots in the secure element and other hardware-based security integration. Apps can also assorted generate encryption keys in the secure element and use those to encrypt data where it can be reliably deleted via wiping the hardware keystore keys. That requires apps built to have granular storage and encryption of their data. Despite it being possible to wipe a secondary user or Private Space reliably, the past existence of it and when it was wiped will be easily discoverable via the main Owner user and system data. Preventing discovery of those profiles having existed requires an overall wipe of the data. It isn't feasible to hide it without doing that and hiding it would involve a whole bunch of unreliable removal of data without a way to prevent recovery along with redoing a bunch of statistics and other metadata to hide that there was another profile until recently. For example, things like the battery and data usage stats directly refer to the profiles. Even hiding it from naive analysis not looking at the leftover data on storage would still require changing a bunch of things to hide it. Making data deletion of the data reliable for a whole profile or the whole data partition also requires a reboot or shutdown. Consider how much data gets loaded into the page cache and many other forms of data in the Linux kernel and other processes. Consider how much linger around in various kinds of registers, etc. including outside of the OS itself. Reboot or shutdown has code to get rid of this and the device sitting there turned off or booting again also gets rid of it. They were clearly going to hook his phone up to forensics software on a laptop and had done what they needed to do in order to justify it for their own policies. It would not make sense to set up everything they did simply to have someone non-technical manually sift through his apps. They have widespread access to forensic software and also more advanced software with exploits. They definitely have easy access to it at a major Atlanta airport. The adversary in this case is not a non-technical human but rather advanced software from Cellebrite who are fully aware of alternative operating systems and document information on it. Their documentation directly refers to GrapheneOS and has tables listing their (currently very limited) capabilities against it. This story got widespread news coverage and is widely known about. That should help make it clear how important it is for features to work against adversaries aware of these kinds of features. Our duress PIN/password works against adversaries aware of it. If they don't coerce a PIN/password from someone or don't enter a coerced PIN/password because they know it could be in use then the feature has worked. We want to improve the feature with secure element rate limiting integration in the future so that an OS exploit cannot be used to bypass it. The secure element already prevents an OS exploit from bypassing the limit of 20 total attempts for deriving encryption keys with massively increasing delays between those attempts. It used to solely be based on delays with throttling quickly reaching 1 attempt per day after 140 failed attempts but now there are only 20 total unique attempts. The past 5 failed unique attempts are temporarily remembered and discarded when entered again rather than trying to use them again for usability. > Reliable deletion of data requires setting it up to be reliably deleted later on I mean - yes? If you design a subtle duress pin that only hides certain things, users would have to choose what. I myself want the bank apps, password manager and email to disappear without a trace, but I don’t care about the social media, photos or web browser history. Other people, though, will have different priorities. You misunderstood the parent post, it's extremely difficult to delete the data without leaving a trace that something was deleted. To reliably delete a specific file or directory, it needs to be encrypted with a dedicated key which can be reliably deleted. It can have dedicated key material in the secure element used to derive sub-keys from the main encryption keys or it could simply be encrypted with another layer of encryption. For the OS disk encryption, it uses separate randomly generated disk encryption keys for the main user, secondary users and Private Spaces which are different forms of profiles. Those keys are stored encrypted with key encryption keys derived from the per-profile lock method combined with various forms of key derivation material from elsewhere. The most important of the key derivation material for profiles is the per-profile Weaver token on the secure element which it uses to enforce rate limiting for decryption attempts (max 20 attempts per profile with rapidly increasing delays) and to provide extremely reliable deletion of the data. Wiping the weaver slot for a profile prevents deriving the key encryption keys which prevents ever decrypting the randomly generated disk encryption keys again. The randomly generated disk encryption keys are only stored once and get wiped via a special SSD secure erase command but that isn't nearly as good as the secure element integration. If the SSD is imaged before a wipe and then restored, the data still isn't recoverable because the secure element wiped what's needed to decrypt the disk encryption keys. Reliably deleting data is a much different thing from fully hiding that anything was deleted which is drastically more difficult and not compatible with how things are typically done. It's pretty much impossible to stealthily delete a secondary profile since there's too much system and Owner user data referencing them including the package manager's state, battery stats, data usage stats and far more. It's possible to attempt to go through all of that and hide it including forging the other stats to mask what was removed but data cannot be reliably deleted in a fine-grained way, especially on top of a modern copy-on-write or log structured filesystem combined with an SSD controller doing wear leveling. An SSD controller will redirect writes to less written NAND than what is now being written to level out usage. That relies on it being aware of free storage to choose from that instead which is the purpose of TRIM. A modern SSD will also very proactively move around data rather than only redirecting writes to free space with less wear. It will identify the data that's rarely or never written and move it to the most written areas of the SSD to free up the space it was on for the most written data. Having 2TB of used space that's rarely ever touched, 1TB of a heavily written database and 1TB free will not only use the 2TB of active space for wear leveling with a modern SSD controller design. It will use the whole 4TB for it. A modern copy-on-write or log structured filesystem doesn't write to the location where the data was originally but rather elsewhere. Android uses f2fs which is log structured which heavily helps with wear leveling at a higher level and also provides the ability to turn off data persistence temporarily and then roll back to the point it was turned back in an incredibly efficient way. Android uses that incredibly efficient rollback feature as part of A/B updates to preserve the ability to fully roll back an OS update which doesn't end up working properly until after it reaches the lockscreen successfully. An app regularly appending data to a file, overwriting data in it or replacing the whole file is leaving data around all over the place. A decision can't simply be retroactively made to reliably delete the data for that file or the overall app. It would have had to be set up in a way that it can be reliably deleted. Without that, the whole secondary profile it's in is going to need to be deleted to reliably delete the data. If it's not in a secondary profile, the whole device needs to be wiped for it. > I mean - yes? If you design a subtle duress pin that only hides certain things, users would have to choose what. That's not what we were talking about. This is the full sentence we wrote: "Reliable deletion of data requires setting it up to be reliably deleted later on by having it encrypted on storage with keys which can be reliably prevented from ever being obtained again." What we're saying is that in order to have fine-grained deletion of data, it has to be encrypted with fine-grained keys with hardware support for deleting those keys reliably. Reliable deletion of data should also not be confused with stealthy deletion of data which is not generally possible for the kinds of data being discussed. > I myself want the bank apps, password manager and email to disappear without a trace You can put all of this into a Private Space or secondary user where it can be reliably deleted as a whole. There will be no way to recover any of the data if the profile is deleted. We have a planned feature for either a toggle to make the duress PIN/password only delete specific secondary profiles or more likely a 2nd duress PIN/password with that different purpose. Deleting secondary profiles will reliably prevent recovering any of their data, at least after a reboot or shutdown. The best way to do it would be deleting them and then rebooting where the main user and secondary profiles not included in the deletion would still be there after the reboot. Without the reboot, it's unrealistic to reach the point where it's truly highly reliable. The OS does purge the keys for a secondary profile but a lot lingers around in system processes, page cache and elsewhere. If you delete a secondary profile with the goal of preventing data recovery then it's a good idea to reboot afterwards. Dividing things up into secondary users is the way people can set up having fine-grained reliable deletion of the data. We can expand our duress PIN/password feature to support working with that. It should be noted nothing about wiping secondary profiles is stealthy. It's very obvious there were profiles and that they were wiped. It can be determined when it happened and approximately how much data was deleted too. The data and filenames are unrecoverable but a fair bit of metadata on the sizes of files, etc. can be recoverable because that metadata is globally encrypted rather than per-profile encrypted. If you want to delete absolutely all traces of it in a reliable way, an overall wipe of the device does it extremely well. If you delete a profile then nothing encrypted by it can be recovered but what about all the evidence of it existing in the system and Owner user data? It's in the battery statistics, data usage statistics, package manager metadata and many other places. It can be purged from those but absence of data can be detected, and there's the usual problem of simply not being able to reliably delete data from computers in a fine-grained way. It's too late to reliably delete data from a file after the file has been regularly rewritten and modified. Deletion needs to happen through deleting the keys used to encrypt all data which was ever stored in the file, so it would have had to be set up with that in advance. To reliably redact data in a file, the file would need a dedicated hardware-backed key with a new one being generated and the old one wiped as part of redacting data. Reliable wiping of a profile or the overall device works because it's all encrypted with filesystem-based full disk encryption using keys which can be reliably deleted. Profiles have fine-grained encryption for filenames and file data. You cannot retroactively decide you want to reliably delete the data of a specific app and then do it. It's already spread all over the place. You'd need to wipe the whole profile or the whole device if it's not in a secondary profile. The OS would have had to set up a dedicated encryption key for that app's data with hardware support for deleting only that key by itself. Apps can do this and Signal is an example of app doing it which prevents backing it up via the OS backup system without also using their own backup system too. Maybe it could cause the phone to "randomly" bootloop or something? "Oh no, my phone is broken again, last time this happened I needed to do a factory reset" > I wonder whether it'd be better for a duress PIN to delete existing data Reliably deleting data at the scale of the whole data partition, a secondary user or a Private Space is fully supported but requires a reboot or shutdown to truly complete it. After wiping key derivation material needed to obtain the key encryption keys in multiple ways and wiping the encrypted disk encryption keys, the OS can still access the data. It still has data in the page cache, in registers and elsewhere. There are still a bunch of system processes with data tied to what was removed. The OS is still fully functional after the nearly instant wipe of everything needed to recover the data again. It can still access all data other than what's encrypted with hardware keystore keys and not currently decrypted. The wiping process for the duress PIN/password is completed with a shutdown which tears down everything, zeroes memory and provides at least a small time window where the hardware is powered off too. A reboot would also work and the boot process has explicit zeroing of memory, registers, etc. We decided to use shutdown for the duress PIN/pasword but a reboot is a valid approach too. Our locked device auto-reboot timer feature we first shipped in 2021 relies on the zeroing done by GrapheneOS for both the process of the OS tearing down and then again during booting to return the device to Before First Unlock state. > also create a semi plausible artificial profile to hide the deletion event. It isn't feasible to fool forensic software so it largely wouldn't work against state actors. It nearly certainly wouldn't have helped in this situation in the news. They aren't reliant on a non-technical person sifting through a phone. They'll just hook it up to a laptop and follow the data extraction procedure which involves enabling ADB. The software is aware of GrapheneOS can guide people through dealing with anything different about it. They've had a lot of trouble with extraction via ADB for GrapheneOS since the vulnerabilities they exploit via ADB keep getting patched or blocked it exploit protections but it isn't realistic to block extraction with them having the PIN/password. They could just enable the encrypted backup service in the OS instead and then use CLI tools to extract the data from there with the seed phrase. They don't do that because they want everything rather than only nearly all app data. They also have special code to deal with apps such as Signal with their own layer of data encryption since the data taken from their app data directory is nearly all useless by itself. There's also quite a difference between wiping and rebooting into a not very plausible environment with decoy data set up by the user in advance compared to not properly wiping and giving access to a decoy profile. Bear in mind the OS can still access nearly all data after the wipe until a reboot. It could make a best effort attempt at purging as much as possible from memory, but the OS is not designed to continue functioning with all of the data disappearing. It can't just wipe all loaded encryption keys without crashing and rebooting anyway. It also has a ton of data still around in caches and elsewhere. We don't want to just do a best effort job cleaning up as much as we can but rather reliably prevent recovering any of the deleted data. We could definitely add a duress PIN/password which wipes only specific secondary profiles, reboots and has the device still functional with whatever data was in the main user still there. That's a feature we can add, but it's important to note that it will not hide that there was deletion of data. It's easy to detect, and it's not feasible to hide that it happened. Many steps can be taken to make it less obvious, but it will still be easy for software aware of it to detect. Even a massive overhaul designed to perfect it would not address the SSD itself giving away what happened for more advanced analysis. We aren't going to add a decoy profile compromising the security of the device and providing a way to recover data in a state where it isn't at all unrecoverable yet. We did already plan to consider a 2nd duress PIN/password which only wipes specific secondary profiles, but we need to make it clear that it cannot stealthily wipe them to users. Just wanted to say I appreciate your comprehensive comments in this thread. Learned a lot. Interesting. So is this GrapheneOS indeed operationally good for keeping one‘s data private? I mean, it sounds like it would be even better if the duress response was more subtle. A duress code might let me wipe my phone when someone holds a gun to my head and demands I unlock it. Problem is, there’s still someone holding a gun to my head. He had an e-reader and phone. My solution would be set the phone's duress pin to the e-reader's actual pin then consent to the e-reader search providing its pin and see what happens. The actual solution is cloud backup + re-image after the border. I don’t think that would fly as a defense in court. He’ll just have to pray the scene wasn’t recorded and his real PIN was one digit off >I don’t think that would fly as a defense in court but that's not the point, the point is to not wind up in court by presenting a phone that no long contains evidence but seems plausibly like your phone so doesn't arouse suspicion Yeah if they can catch you and prove it. Even if they can’t prove it, they can make your life really miserable for quite a while. If it was implemented in such a way, there would be no reason to suspect anyone of using it because it would be totally indistinguishable from not having used it. At that point they have no grounds for legal action. Unless they could monitor FS/disk activity, but that goes beyond typical airport security stuff. I'm imagining a duress code that erases select files and any indication that there was ever a duress code set up in the first place. As soon as that starts, authorities will charge people just for having GrapheneOS. There are 0 checks and balances right now, it's a free for all. As things stand right now, software is 1-A protected speech. I'm not sure how long that will be the case with growing authoritarianism, specifically wrt to tech, on both sides of the aisle. I am concerned it may be considered probable cause though -- like how you can legally have an ax in the bed of your pickup but it's a free pass for a cop to search your vehicle if they're so inclined -- but really, they can manufacture probable cause for anyone if they want so it's kind of moot. You may be attracting unnecessary attention though if
you've got "GrapheneOS" on your lock screen. But this goes back to my original point, they still have to catch you in the first place. (1) Keep manufacturer's Android plus some plausible apps and data in a reserved part of the drive. (2) GrapheneOS runs from the other part of the drive. (3) Make sure PIN screen designed to not give away the OS. (4) When duress PIN is entered, erase GrapheneOS and restore manufacturer's Android. (5) Now you won't be charged for having GrapheneOS because they won't know you had it. No, to my knowledge, they ask you to enter your PIN/password yourself. They don't enter it for you. I believe he entered it himself, at which point the erasure began. The erasure process was witnessed by the officer. From https://arstechnica.com/gadgets/2026/07/activist-charged-wit... > Tunick provided this code to an agent, who entered it on the phone, after which “the screen went blank, flashed several times and the phone appeared to restart.” So the real problem in the end is that your duress system should not put a big message "erasing all data" but "loading" slowly and just look mostly empty. [flagged] There is a difference between exploding a bomb and deleting your data. One is a crime. >There is a difference between exploding a bomb Mines (in wars, as implied by "solider") aren't illegal. Also even for the first example there are certainly improvised explosives you can set up that isn't criminal to create or set off, fireworks for instance. Same with a barrel of gasoline. It's certainly a crime to use it to kill someone, but that's my point. By OP's logic it's not the person who set it up's fault, it's the person who triggered it. If you set up a device to explode once someone enters a room, it doesn't matter who set it off by entering the room if they had no idea the room would blow up. I don't think it'll be very easy to get out of liability in this case. The duress PIN is a feature explicitly designed to delete all data when it is entered, especially in cases of coercion like this. There would be more plausible deniability if officers had simply discovered it somewhere and tried it on their own, but in this case it was knowingly provided directly in place of the real PIN. Intentional destruction of evidence is also a crime. Now, whether this applies to this scenario I suppose will have to be determined by the courts. Destroying potential evidence before suspicion is not a crime. Destroying it once under suspicion is a crime. So anyone can destroy their data at their hotel room even just before entry even if the data contains evidence of crimes. Of course the courts could take that into evidence to support the argument that there were crimes but it would not be a crime in and of itself. Great comment. Wish it was the top one so I didn't have to read through the others to get here. Do you have thoughts as to how the courts would debate the deletion that you could present on a similar intellectual plane? Destroying potential evidence before suspicion is a crime if done with intent to impede a future investigation, even if the investigation hasn't yet started. Your example would be a crime if it could be proven that there would likely have been evidence in what you deleted. Deleting your data is absolutely a crime when you know the authorities could've wanted whatever it was you deleted -- even if they haven't told you yet. It stands to reason that providing a duress PIN that deletes your data when entered would be a crime as well, if said data is of interest. Not to say that I personally agree with either of those cases. But what is considered crime can get pretty unfair when it comes to the authorities thinking you did something wrong. > when it comes to the authorities thinking you did something wrong Did they though? Was there an actual investigation going on? Here "wrong" includes phony bullshit like going after political activists. Even if you did nothing actually wrong, and you know it, and you can prove it, successfully messing with the authorities tends to be pretty difficult. Can you provide a statute number for this crime please? Any federal or even state statute will do https://www.law.cornell.edu/uscode/text/18/2232 is what he was charged with (a) see also: https://en.wikipedia.org/wiki/Border_search_exception > seems like a stretch though I think the issue will fall on whether the encrypted data on the device (or its decrypted counterpart) counts as property. The rest looks pretty clear-cut to me. First, that is not an actual statute and second exactly what "evidence" is my phone, evidence of what exactly? Evidence of anything. You're tampering with evidence if you act to prevent them from seeing something, even if they had no reason for suspicion. Like how you get arrested for fleeing even if you didn't do anything wrong.
btbuildem - 2 hours ago
deepfriedbits - 2 hours ago
kbrannigan - an hour ago
dijit - 2 hours ago
TimTheTinker - an hour ago
leonidasrup - an hour ago
Morromist - 2 hours ago
mathisfun123 - 2 hours ago
iAMkenough - 2 hours ago
joenot443 - 2 hours ago
tedggh - 2 minutes ago
aucisson_masque - 33 minutes ago
fooqux - 26 minutes ago
Gerard18Aug - 13 minutes ago
bbbgddsss - 10 minutes ago
mcmcmc - 24 minutes ago
swat535 - 32 minutes ago
mcmcmc - 21 minutes ago
kshri24 - 8 minutes ago
ecocentrik - 42 minutes ago
ericmay - 2 hours ago
czgov - 6 minutes ago
joenot443 - an hour ago
sfRattan - 42 minutes ago
zugi - 15 minutes ago
sfRattan - 6 minutes ago
Gerard18Aug - 8 minutes ago
rmwaite - 11 minutes ago
expedition32 - 5 minutes ago
jLaForest - 33 minutes ago
ericmay - 24 minutes ago
watwut - 2 minutes ago
panarky - an hour ago
SlightlyLeftPad - an hour ago
hiddencost - 9 minutes ago
bellowsgulch - an hour ago
phs318u - 15 minutes ago
jrmg - 44 minutes ago
mohamedkoubaa - 42 minutes ago
jrmg - 31 minutes ago
nrb - 2 minutes ago
cortesoft - 17 minutes ago
stronglikedan - 36 minutes ago
cespare - an hour ago
phs318u - 10 minutes ago
teaearlgraycold - 10 minutes ago
ApolloFortyNine - 2 hours ago
phs318u - 6 minutes ago
whalesalad - 3 minutes ago
TimTheTinker - an hour ago
tiahura - 14 minutes ago
bossyTeacher - 22 minutes ago
spl757 - 16 minutes ago
phs318u - 2 minutes ago
shimman - 2 hours ago
antonvs - 2 hours ago
leptons - 2 hours ago
adamors - 2 hours ago
joenot443 - 2 hours ago
dantillberg - 2 hours ago
kelnos - an hour ago
vjvjvjvjghv - an hour ago
leptons - 2 hours ago
eclipticplane - 2 hours ago
eli - an hour ago
kelnos - an hour ago
wat10000 - an hour ago
mathisfun123 - 2 hours ago
Zak - 3 hours ago
solid_fuel - 3 hours ago
Zak - 3 hours ago
_heimdall - 2 hours ago
xoa - an hour ago
leptons - 2 hours ago
pyth0 - 43 minutes ago
WaxProlix - an hour ago
paimapi - 2 hours ago
leonidasrup - 2 hours ago
Vegenoid - an hour ago
XorNot - 2 hours ago
tamimio - 2 hours ago
cherryteastain - 2 hours ago
Aurornis - 9 minutes ago
grapheneos - an hour ago
rootusrootus - 2 hours ago
thesimon - an hour ago
rootusrootus - an hour ago
GeekyBear - an hour ago
fhdkweig - 3 hours ago
trencedamp - an hour ago
Terr_ - an hour ago
trencedamp - an hour ago
Doohickey-d - 4 minutes ago
yapyap - 12 minutes ago
echelon_musk - 2 hours ago
Doohickey-d - 2 minutes ago
panny - 2 hours ago
teiferer - 2 hours ago
convolvatron - an hour ago
hallway_monitor - an hour ago
cortesoft - an hour ago
ratelimitsteve - an hour ago
victorbjorklund - 2 hours ago
throwaway219450 - 2 hours ago
ratelimitsteve - an hour ago
patcon - 3 hours ago
hamburglar - an hour ago
hamdingers - 2 hours ago
patcon - 43 minutes ago
hamdingers - 35 minutes ago
NewJazz - 2 hours ago
hamdingers - 24 minutes ago
iAMkenough - an hour ago
hamdingers - 21 minutes ago
iAMkenough - 14 minutes ago
sebmellen - 2 hours ago
patcon - 2 hours ago
echelon_musk - 2 hours ago
grapheneos - an hour ago
ratelimitsteve - an hour ago
simonebrunozzi - 4 hours ago
mdp2021 - 4 minutes ago
kioleanu - 3 hours ago
kelnos - an hour ago
trollbridge - 3 hours ago
pkulak - 3 hours ago
overfeed - 2 hours ago
ratelimitsteve - an hour ago
armadyl - 30 minutes ago
wat10000 - 34 minutes ago
Terr_ - an hour ago
TheqO - 3 hours ago
stickfigure - 2 hours ago
joebates - 2 hours ago
iamnothere - 2 hours ago
garciasn - an hour ago
kelnos - an hour ago
wat10000 - 33 minutes ago
gbriel - 3 hours ago
rootusrootus - 2 hours ago
technothrasher - an hour ago
rootusrootus - an hour ago
kelnos - an hour ago
cesarepavese - 2 hours ago
QuantumNoodle - 3 hours ago
ApolloFortyNine - an hour ago
TheqO - 3 hours ago
rootusrootus - 2 hours ago
paulpauper - 3 hours ago
rootusrootus - 2 hours ago
ratelimitsteve - an hour ago
floathub - 10 hours ago
victorbjorklund - 2 hours ago
kelseyfrog - 2 hours ago
kelnos - an hour ago
victorbjorklund - 36 minutes ago
kelseyfrog - 2 minutes ago
jbird99 - 2 hours ago
spacebanana7 - 9 hours ago
dredmorbius - 7 hours ago
kelnos - an hour ago
spacebanana7 - 6 hours ago
grapheneos - 3 hours ago
michaelt - 3 hours ago
dist-epoch - 2 hours ago
grapheneos - 2 hours ago
grapheneos - 2 hours ago
Gabrys1 - 3 hours ago
grapheneos - 2 hours ago
djeastm - an hour ago
dkga - 3 hours ago
michaelt - 3 hours ago
bengt - 3 hours ago
nkrisc - 9 hours ago
phoghed - 9 hours ago
fsckboy - 4 hours ago
dmitrygr - 3 hours ago
forgotmypasswor - 3 hours ago
MBCook - 3 hours ago
forgotmypasswor - 3 hours ago
Capricorn2481 - 2 hours ago
forgotmypasswor - an hour ago
jbstack - an hour ago
OutOfHere - 8 hours ago
foo12bar - 3 hours ago
greatgib - 9 minutes ago
gruez - 10 hours ago
hamper653 - 10 hours ago
gruez - 9 hours ago
LoganDark - 9 hours ago
mc32 - 9 hours ago
ComputerPerson - 9 hours ago
LoganDark - 9 hours ago
LoganDark - 10 hours ago
hamper653 - 9 hours ago
LoganDark - 8 hours ago
bdangubic - 9 hours ago
someothherguyy - 9 hours ago
LoganDark - 9 hours ago
gruez - 9 hours ago
bdangubic - 9 hours ago
LoganDark - 9 hours ago