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

Brigading Against Women - Part XXVII - Americans and Public Executions
"People who work for Facebook / Xitter / Bytedance's Tiktok / Microsoft / Oracle / IBM / Apple / Uber / Lyft / Wolt / DoorDash / AirBnB / Bolt / and so on are doing some world-class projection when they have the audacity to call others Bad People(tm)"
Gemini Links 12/10/2026: Westminster Quarters, Civilization, Luddites, and More
Links for the day
Voice for the Impoverished
the country's leaders attack the country's own press
 
Linus Torvalds Has a Conflict of Interest Regarding Slop
Linus Torvalds is paid by the slop pushers
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, October 11, 2026
IRC logs for Sunday, October 11, 2026
Africa Sees GNU/Linux Exceeding 5% "Market Share"
It wasn't always like this. It used to be measured at 1 or 2 percent.
Slop-ware Is Not Newsworthy
LLMs are exceptionally loquacious and create large code bases
Links 11/10/2026: US Sides With Vladimir Putin, Convicted Felon Dubbed "Agent of a Foreign Power"
Links for the day
IRC Tracker Back in Order, Number of Known IRC Networks Continues to Increase
We don't know if our article helped trigger a resolution
Links 11/10/2026: "Execution TV" (Iran Aped by US) and ‘Digital Oblivion’ Caused by Slop Frenzy Online
Links for the day
Gemini Links 11/10/2026: Adults Dressing Up as Animals, 44th Birthday, and More
Links for the day
Running a Country's Economy by Borrowing Over $400,000,000,000 Per Month
This is the hallmark of an economy in irreversible decline
Brigading Against Women - Part XXVI - Trying to Deplatform Critics of Microsoft's Restricted Boot
Like James Bottomley, Matthew Garrett served Microsoft's agenda while employed and salaried by other companies
Anderon Is Not a Real Company, It's an IBM Bailout Dressed Up or Wrapped Up In Buzzwords
It certainly does seem like they receive money from taxpayers for nothing, or for IBM to do mass layoffs/closure at Albany under the guise of "making a new spinoff"...
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, October 10, 2026
IRC logs for Saturday, October 10, 2026
Gemini Links 10/10/2026: Radio Romania International, Avoiding GAFAM, Open Camera, and Another Palm
Links for the day
The 2026 Slop Prediction (Slopfarms Perishing)
Morality in the "digital world" has deteriorated profoundly
netsplit.de (Survey of IRC Networks and History) Only Partly Functional This Month
Get well soon, netsplit.de
Microsoft Cuts
GAFAM enshittification
NVIDIA Acts Like It Cannot Pay Salaries (Too Many Obligations, Sales in Circular Financing, or Basically Accounting Fraud)
Masters of acting as clients of themselves
Paying for elections, Reform UK illegal confession in High Court
Reprinted with permission from Daniel Pocock
Contemptuous Law Firm Accusing Others of Contempt of Court
Keeping a running tally can help
Links 10/10/2026: Let's Encrypt Making Changes (Problem for Small Sites/Operations), Quartz is Officially a Slopfarm (Busted)
Links for the day
Microsoft Abuses PERM and Lays Off Workers in India
The US government has made it easier for Microsoft to hide the mass layoffs
The GAFAM Elections in the United States
If the election is run by platforms that have back doors "baked-in" and if the communications are overseen by GAFAM, you would not have to be a "nutty MAGAt" to dispute the outcome
More GAFAM Layoffs (Late on Friday Night)
They say they are worth trillions, but they don't even make money
Male-Dominated EPO Fails to Have "Concrete Measures to Support Female Staff"
Being a female at the EPO is exceptionally hard
Brigading Against Women - Part XXV - No Anonymity for People Who Did Illegal Things
"Empathy is the sunlight to the vampire of culture."
Production Freeze at the European Patent Office (Opposing Monarchy, Institutional Maladministration and Corruption)
Eight reasons to participate
Links 10/10/2026: Microsoft 'Open' 'AI' Silencing Critics, "Data Centres are the New Front Line in the Russia-Ukraine War"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, October 09, 2026
IRC logs for Friday, October 09, 2026
Gemini Links 10/10/2026: Optimism, Stargazing, "Life Without Smartphone", and Fairphone 4
Links for the day