Bonum Certa Men Certa

Ubuntu TPM Disk Encryption Requires Snaps



Reprinted with permission from Ryan Farmer.

Ubuntu Plans Really Awful TPM Disk Encryption Which Requires Snaps.



I personally would not depend on this for any sort of a production system.



There’s a short list of reason why I have no confidence in it.



TPMs are incredibly flaky and easy to piss off.



Updating your UEFI firmware can make TPMs refuse to decrypt Bitlocker volumes on Windows.



(Even just changing one setting in the firmware can do it. It got Matthew Garrett, who implemented Microsoft Security Theater Boot on Linux, when he attempted to enable the Third Party Certificate so that Linux could even run on a Lenovo laptop.)



Why would this situation be any different on Linux?



When this happens, say goodbye to all the data on your disk.



I lost an entire Bitlocker volume when I flash updated new Lenovo firmware for this computer. Fortunately, I didn’t have anything important on it and was just updating the firmware as the last thing I did under Windows before removing Windows and installing Linux.



It will require Snaps.



Snaps are an awful package format. They’re an Ubuntu-ism and they’ve been used to spread malware to Ubuntu users through the Snap store.



The Snaps claim to be universal Linux packages, but when I attempted to run GZDoom on Kubuntu, which is just KDE desktop on Ubuntu, it failed and said I had to use GNOME. Very universal, you see. Can’t even deal with a different desktop environment on Ubuntu. I’m sure they work terrifically on other distributions entirely!



Ubuntu does not have a good record at designing things.



Their software and implementations usually end up having all sorts of bugs in them.



Their support for OpenZFS is entirely against both the CDDL and GPL licenses, and relies on an out-of-tree file system module that nobody maintaining the upstream kernel supports or will guarantee won’t break.



So if you enable TPM disk encryption on Ubuntu you will have a flaky TPM-backed encryption atop a flaky illegal out-of-tree kernel module with no upstream support, from “engineers” that have never designed anything else in such a way as to give me any impression that they know what they’re doing.



Your best bet with encryption is to not trust the TPM, or Ubuntu.



You should set it up the officially supported way (LUKS or dm-crypt with a decryption passphrase) and leave the TPM out of it.



(Previously, Ubuntu has offered ecryptfs for /home, but this is not as safe as whole disk encryption, and it also benchmarks worse than encrypting the entire disk.)



You should also do so on an official Linux file system, to further avoid the likelihood of a corrupt file system.



And I would say, don’t even use Ubuntu to begin with.



For a long time, they said the entire system was going to go Snaps instead of Debian packages. That was over a decade ago.



They packaged the GNOME calculator and a few other things as Snaps, and the only thing that did for the users was give them poorly-maintained Snaps from the previous release of GNOME that started up much more slowly and took more resources. (Software bloat.)



Eventually they gave up.



Ubuntu has already had a checkered past packaging GNOME anyway, and has shipped version mismatched “FrankenGNOMEs” with lots of buggy patches.



Now they’re back and claim they’ll do the base system as Snaps and that if they get anything wrong it will screw up your encrypted volume that only the TPM can unlock, if it feels like it.



Also, the TPM is designed not to tell the user how it actually works, so the user can’t know that their disk encryption is safe from backdoors.



This is just yet another, frankly disgusting, thing that Canonical is unleashing, and I think it’s basically another Windows-ism. Bitlocker-style “encryption”.



Recent Techrights' Posts

How to Tackle Corruption Effectively and Gradually
In my personal, humble experience
European Patent Office (EPO) Series: A Tale of Two Antónios
"Campaign for the Re-Appointment of the President"
Trusting Microsoft is Foolish
Mr. Rossmann says they "gaslight customers" in their Web site, but it goes a lot further than this
SLAPP Censorship - Part 94 Out of 200: SLAPP by Garrett's Litigation Buddy Started 20 Months Ago, He Has Not Even Put in His Defence Yet!
This is what happens when one deals with incels and misogynists who promote slop and Microsoft
 
Rust is a Disaster for Both GNU and Linux, But 'Linux' Foundation (GKH) Keeps Promoting It Despite the Problems
And non-GPL licences
IBM's CEO and his "pump and dump scheme" ("Arvind's lies about quantum")
Don't be misled by Wall Street
Gemini Links 01/06/2026: Xylophone Essay, Ham Radio, and Slop Contaminating USENET/Newsgroups
Links for the day
Links 01/06/2026: Patent Applicant Disclosures Drop After the January 2025 IDS Surcharge, "China Exports Surveillance"
Links for the day
Links 01/06/2026: Irreversible GAFAM Bans and "The Pirate Bay Remains Resilient"
Links for the day
Running and Writing Sites for People, Not Bots (Including Search Engines)
Had those sites spent more time focusing on RSS feeds (not social control media "games") and less on SEO (trying to game search engines), they wouldn't be sobbing now
SBB, the Swiss Railroads, Want to Hear Richard Stallman
Can Dr. Stallman persuade key decision makers to adopt not only "Linux" but also Software Freedom (not the same thing), as he did in South American before? Or like he did in Kerala?
Resumes and Vanity Pages
Wikipedia is fast becoming a glorified marketing company
Techrights in a Nutshell, in Very Generic Terms
"for dummies"
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, May 31, 2026
IRC logs for Sunday, May 31, 2026
Gemini Links 01/06/2026: Buckingham Palace Garden Party, TUI Annoyances, Lateral Thinking with Withered Technology
Links for the day
Links 31/05/2026: Heat Wave Grips France and Edgar Morin Dies
Links for the day
Gemini Links 31/05/2026: Backup vs. Mirror, Year of the Death of a Euphemism, Slop Makes Only Yet Another (Untested) Calculator
Links for the day
IBM Red Hat Has a Long History or Track Record of Misusing Trademarks to Send Lawyers to Try to Take Down Pages and Web Sites of Critics
Red Hat claims to own words; IBM thinks it owns names
Richard Stallman is Coming Back to Bern to Give a Talk Next Month
another big talk coming up
Gravitating Towards What Your Role in Society May Be (or What You're Truly Good At)
Many IBMers already realise that they spent years if not decades of their lives working on mostly meaningless products/projects
900 Days Later
900 days is a very long time (almost 1,000)
Cybershow Requires Free Software to Record Shows
Cybershow is run by people who understand that without Software Freedom there can be no sovereignty
Losses at Microsoft's GitHub Seem to be Deepening
How many billions of dollars has Microsoft lost by betting on the false prediction that it can somehow "monetise" public code by LLMs?
Links 31/05/2026: Slop 'Code' (Junk) "Increasingly Leads to Production Failures" and "Huge Slop Costs With No Clear Benefits"
Links for the day
European Patent Office Strikes Intensify Tomorrow, Huge Strikes Planned for June, 10,000 Strike Participations Registered
Campinos may well be ousted soon
SLAPP Censorship - Part 93 Out of 200: A Blueprint of Reckless Lawfare in the UK, Waged and Funded by Americans (in Another Continent)
Lawfare powered by slop companies (including Microsoft) from America, targetting British people who consistently oppose slop because it's objectively terrible
Links 31/05/2026: Watershed Moment, Traveller RPG Book Binding, and GUI Annoyances
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, May 30, 2026
IRC logs for Saturday, May 30, 2026
IBM CEO Can Become a Billionaire by Laying Off Tens of Thousands of Workers (or Buying Companies Using Borrowed Money, Only to Lay off Thousands in Them)
Like he did Confluent recently
Reminder That Linuxiac is a Slopfarm or Hybrid of Bobby and His LLMs
LLM fetishist that claims to cover Linux
BetaNews is Still Publishing Fake Articles, Sometimes Fake News, or LLM Slop Disguised as 'Journalism'
Slop isn't yet a thing of the past, but hopefully we'll get close to that by the end of this year
Gemini Links 30/05/2026: Writer's Block, Evil GAFAM (Google), and Scepticism of Slop
Links for the day
Links 30/05/2026: Fairphone 6, China’s Rise in Drug Development, Slop Wastes Money Without Delivering Value
Links for the day
Links 30/05/2026: Alarm Over Large Companies Cancelling Slop Contracts, Ozzy Osbourne Resurrection as Slop Draws Ire
Links for the day
Red Hat Exodus or RAs (or PIPs) in 2026 Not Limited to China, IBM is Doing Well at Hiding Layoffs
All we need to know is, does IBM hand out lots of PIPs?
SLAPP Censorship - Part 92 Out of 200: A Spouse Cannot be Turned "On" and "Off" Like a Faucet
Today's part will be very short because we keep the parts shorter in weekends and summer is officially around the corner (June on Monday)
The Register MS Has Just Published Fake Article That Mentions "AI" 23 Times. "Sponsored by Arm." It Does This Every Day.
A lot of the time we see this term everywhere in "the news" simply because slop pushers are paying for it
SQLite Under DDoS Attack by Slop Reports or Fake 'Bugs' (Just Like cURL and Many Other Projects)
Even Linus Torvalds is starting to talk about this
IBM: The B Turns From "Business" to "Bailouts" to "Buybacks" ("IBM is the Next Intel")
Trying to shore up the falling share price/stocks while veteran workers and Vice President (with high salaries) are cut off
Links 30/05/2026: More GAFAM (Amazon) Mass Layoffs, Peter Schiff Warns of Trillion-Dollar Slop Bubble Waiting to Implode
Links for the day
Slop is Plagiarism
Trillions of dollars down the drain, invested in a dud
Gemini Links 30/05/2026: Rehabilitation and Taming Emacs Cache and Temporary Files
Links for the day
Richard Stallman (RMS) Talks and Secure Transmission of Private Communications in Formats Everybody Can Access With Free Software
Maybe the FSF should step up a bit the campaign to use Free software to communicate with one another
General Consultative Committee (GCC) Discusses Working Conditions of Employees of the European Patent Office (EPO)
On the agenda: Salary Erosion Procedure, Breastfeeding Policy, New Amicale Framework, Public Holidays 2027
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, May 29, 2026
IRC logs for Friday, May 29, 2026