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

When Some Footage Causes Your 'Company' to Lose Almost Half a Trillion Dollars in 'Value' in a Few Minutes Your Company is Fictionally Valued
stock slips 8% because the CEO cheats on the wife
Intercontinental Brigading - Part XXXXV - The Brand (and Reputation)
"Russell Brand sentenced to 10 years and six months for rape and sexual assault"
Links 09/11/2026: Nvidia CEO Jensen Huang Cheats on Wife With A Suspected Chinese Spy, "400,000 Russians Killed in Battle Since 2022 Invasion"
Links for the day
Digitalisation Is Not Inevitable or Unavoidable
Nor inescapable
Intercontinental Brigading - Part XXXXIV - Why the Swatting Failed
After that we only ever heard from or spoke to cops when we invited them to our home to collect evidence
 
Gemini Links 09/11/2026: Zephyr, Wireless Planet, and Old E-mail
Links for the day
IBM: From Illegal NDAs to Illegal Secret Settlements (Money in Exchange for Promise Not to Sue)
Insiders also explain why RAs may come weeks from now [...] IBM has marked 40,000 workers it wishes to get rid of
Links 09/11/2026: 'Humanitarian' Putin Knocks 600,000 Civilians Off the Grid, Eminem’s Publisher Sues Suno
Links for the day
Like Crooked Politicians, The Register MS is Selling "Dinners" (Access, Sponsors)
Talk about "hey hi".
The Register MS is Not Objective Regarding "AI", It's Paid by Pushers of the Pyramid Scheme (including Nvidia)
Some time soon we'll name some companies that pay millions to The Register MS in order to cement their role in the house of cards (while it lasts)
GAFAM Moribund
A lot of what we say about Microsoft in respect to debt is equally applicable to the rest of GAFAM
NVIDIA as a Scam Company Run by Scammers Who Fake Demand for Their Waste of Energy (Subsidising GPU Sales for Use Cases That Don't Exist)
First they targeted gamers, then fake 'currencies' (which turned out to be a bust), now it's slop (obfuscation of plagiarism using brute force and fusion) [...] We're quite glad that Huang publicly broadcasts how untrustworthy he is
Zero Tolerance for Slop
very few sites that dabbled in slop ended up well off (for it)
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, November 08, 2026
IRC logs for Sunday, November 08, 2026
Gemini Links 09/11/2026: "The Blue Wave Won't Save Us" and "Discoverability Is Only Solved If You Can Be Discovered"
Links for the day
IBM 'Robbery': No More Car Allowance in the UK, Severance Shredded, CEO Pay Up 51% in One Year While Thousands Laid Off in Secret
Why does a CEO reward himself so much when the company does so badly?
Gemini Links 08/11/2026: "Back", Zot, and Information Overload
Links for the day
“Concerned Microsoft Workers” Say “Working at Microsoft Has Become Joyless and Demoralizing.” (That's What Microsoft Wants, More Will Leave That Way)
Many Microsoft employees are going to leave
The Register MS is Losing Hundreds of Thousands of Pounds a Year While Directors Pay Themselves Hundreds of Thousands of Pounds a Year in Dividends
they take money from slop pushers and have clearly compromised some journalistic standards in the process
GNU/Linux Measured at 7.4% in the UK This Weekend: Clownflare Radar
I hope that one day GNU/Linux will be everywhere here
Never a One-Person Project
Just because I'm the main "public face" of the site (who takes all the insults and SLAPPs) doesn't mean I deserve all the credit
“I Always Expect to Lose. I Fight Anyway, and Sometimes I Win.” — Richard Stallman
To change the world meaningfully people must think big
Stop Looking for News About "Layoffs", Layoffs Are Over (They've Been Rebranded)
To properly assess the status quo we need other yardsticks
Links 08/11/2026: Bosses Who Were Forcing Their Workers to Use Slop Change Mind, "Rapper RBX Files Ninth Circuit Appeal in Fraud-Focused Class Action Lawsuit Against Spotify"
Links for the day
Links 08/11/2026: Why Vikings Stayed in Iceland and "TikTok Accused Of Promoting Sex Industry To Young Girls"
Links for the day
Gemini Links 08/11/2026: "Before Sunrise" and LLM Scrapers Versus Self-Hosting (or Web in General)
Links for the day
Intercontinental Brigading - Part XXXXIII - Weaponising Cops in Another Continent (Europe), Knowing They Cannot Come to Your Home in America, While Threatening Women
This year it culminated in death threats
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, November 07, 2026
IRC logs for Saturday, November 07, 2026
The Decade Ahead, a Decade of Suppressed Stories
Our stories aren't discouraged or considered taboo because of racism or "toxic politics" or anything like that; they just hurt powerful people and corporations
Solicitors Regulation Authority (SRA) Inaction and Incompetence - Part V - "Reports Closed Without the Evidence Being Examined."
Totally what the SRA did regarding Brett Wilson LLP
Gemini Links 07/11/2026: Illusion Garden and Lagrange 2
Links for the day
Complexity is the Tyrant's Friend
Slop is for feeble minds and cheaters
IBM Firings (or Silent Layoffs) After Bluewashing; "IBM’s Employment History is More Troubling Than its Patriotic Marketing Suggests"
"It has zip to do with race but everything to do with the greed of the 1% who have been doing all they can to destroy the middle class..."
“Week van de Werkstress” and Work-Related Stress at the EPO, Where Staff is Bullied Into Granting Illegal Patents for Foreign Monopolists
"poor working environments, including discrimination and inequality, excessive workloads, low job control and job insecurity pose a risk to mental health"
Czech Republic: GNU/Linux Rises Above 5% in Desktops and Laptops
A year ago it was somewhere around 4%
EPO's Local Staff Committee The Hague Says Almost or About a Third of Staff Assembled to Organise at "a Time of Continued Social Unrest"
They speak of "circa 850 staff members in attendance" (in The Netherlands there are about a couple thousand)
Suggestions That XBox Will be Offloaded by Microsoft, Rather Than Shut Down, Make the False Assumption XBox is Profitable (It's Not, It's a Liability)
Microsoft has serious financial troubles
Which "Smart" "Phone", Which "Social" "Media", and Which "Cloud" "Storage"?
Let's take back control of the language
State of the (Linux) Slop, Late 2026 Edition
Google News (Gulag Noise) is a plagiarism booster
Year 21
It's 5PM here
Links 07/11/2026: "Flock Cameras Got Eviscerated by the Midterms" and Joshua Wong Shows China is Highly Repressive and Fully Controls Hong Kong
Links for the day
At The Register MS the Net Liabilities Doubled in One Year, Tangible Assets Down About 35% in One Year
signed off in 2026
Intercontinental Brigading - Part XXXXII - Running One's Mouth
British Police told me "making a false complaint to police is a crime" in relation to Lozza
Another 20 Years of Exposing Corruption
We'll focus on carrying on what we do
EPO Budget and Finance Committee (in Very Recent Meeting) Increases Bribes to People Who Vote on Campinos Reappointment ("Cooperation Activities")
Buying 'elections' to protect the cocaine-stained regime in Europe's second-largest institution
Links 07/11/2026: London's SLAPP Industry Now Targets Kirkenes (Northern Norway) at the Behest of Corrupt Thieves in Russia and Microsoft’s 'Buyout' Offer Crashes Microsoft Systems
Links for the day
Links 07/11/2026: "The Moon is Waning Crescent", Homeworlds, and "Can't Handle The AVIF!"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, November 06, 2026
IRC logs for Friday, November 06, 2026