How do I disable the "Please enter passphrase for ..." line on the disk encryption screen?

After upgrading to Fedora 42, I am seeing this line on the LUKS disk encryption unlock screen. How do I disable this?

I think you can enroll a key into your motherboard TPM to unlock the disk.
Doing a web search for “luks tpn suto unlock” shows a number of promising pages.
This should get you started: Chapter 10. Configuring automated unlocking of encrypted volumes by using policy-based decryption | Red Hat Product Documentation

Hi and welcome to :fedora: !

If I understand correctly, you would like to not have the text below the passphrase entry displayed on screen.

This seems to have been introduced with F42 indeed, and I agree that from a UI perspective isn’t very friendly. Neither is it very helpful, at least not the part with the LUKS UUID, which most users won’t remember anyway, and at this stage it’s obvious that it’s the root partition for which the passphrase is required.

I don’t know if/where it can be tweaked though.

I’m not looking to bypass the password prompt completely. I simply want that text under the password field to be gone.

Yes, that is exactly what I am looking for. A user on Reddit pointed out a workaround that I have not tested:

apparently it was introduced by one of the patches a few changes ago.

what i ended up doing was grabbing the srpm, changing the spec file to comment out the particular patch #Patch: 0001-label-freetype-fix-fallback-not-working-when-fc-matc.patch

then rebuilt the package, incrementing the version number so it doesn’t get reverted to the old package

Since my Fedora Workstation is my primary computer, I am hesitant to rebuild system packages. I am leaving this here in case anyone else would like to try this workaround and mark it as a solution if appropriate.

1 Like

So there is no hope that it will be removed? Or at least that it is modified? The ideal would be not to have that text at all, but having a more user-friendly text would already be something; maybe a string that can then be translated into the various languages. Of course, I mean something out-of-the-box, without the user having to recompile anything.

I also hope there will be a fix for this, the experience in Fedore 41 was much better!

I don’t think there is hope of this happening. But if the community makes itself heard, perhaps…

I think this is related to: Changes/PlymouthUseSimpledrm - Fedora Project Wiki

related topic: "Please enter passphrase for disk..." has returned

bug report including potential workaround: 2356893 – Text Appearing under LUKS decryption box

1 Like

Yes, it is.
It is a choice that has technical benefits but that users do not like (including me) for the graphic result. I don’t think we can go back on this. But if the community in the Issue Trackers is united in reporting possible changes that lead to an improvement, perhaps something can be obtained. For example, improve the name of the disc and make the string translatable into the various languages.

remember to do this at cryptsetup repo, not plymouth…

I did it at plymouth > they postponed me at cryptsetup > then they postponed me at systemd. You can find my issue reports in their bug tracker.

1 Like