Librem 5 LUKS Status


While I am patiently waiting for my Evergreen phone I was wondering if there was any status on LUKS in regards to the Librem 5.

Recently people where able to figure out how to get LUKS working on the arm64 PineBook Pro under Manjaro and under Debian (abit slowly).

The FAQ say that LUKS on the Librem 5 “is in progress” but I am wondering if there are any updates on this?

With the quantity of sensitive data that a phone might posses I think disk encryption is quite impotent.


I’m really interested in this too.

1 Like

Related topics:
Community diskussion and links / no official post:

Explanation how storage of secrets might work by Kyle and dcz:

I assume you mean LUKS for the / partition, as you could already mount an external LUKS partition on a microSD card like on any PureOS system.

LUKS for / is being worked on and is a priority. Most of the work comes down to solving how to allow the user to enter their PIN/passphrase at boot using the touchscreen before / is mounted. I would consider that “phase one” and for “phase two” I’d like us to be able to use the OpenPGP smart card and its PIN to unlock LUKS like we (optionally) can enable on the Librem laptops.


Sounds good!

Two things I wonder though; does the L5 at present have enough overhead to process full disk/partition encryption, in addition to normal use? Rather, will it be a stress to the system and reduce battery life, responsiveness, etc.?

Also, could the Librem Key be used for unlocking? I don’t suppose it couldn’t, but perhaps there’s a path to a nice integration here. I realize the form-factor of the Key might not be ideal to start.

Disk encryption overhead is pretty minimal on modern processors and indeed most smartphones offer it so I wouldn’t worry about LUKS on a Librem 5. WIth respect to the Librem Key being used for unlocking, yes, it would be possible via the same mechanism that we’d use to unlocked with the integrated OpenPGP smart card reader.


Okay, cool.
I’ve never used an OpenPGP smart card before. Searching for them shows me 3.5 x 2" cards, plus others which appear to be the size a SIM card. What’s the form factor I should be looking for?

Yes but why not just have a quick fix.
right now let dev people solve the “touchscreenkeyboardproblem” and just focus on encrypt the / partition on a librem 5 and use a USB C keyboard (since they got usb-c support).
Would not that be a quickfix or do i miss something ?
Can you use LUKS for the / (or do you have to erease it) ?

Common people lets make this work !

Because not being able to boot up your phone unless you are carrying an USB-C keyboard around with you is a no-go for most people? :slight_smile:
If you are willing to do that, you are probably also already able to manually encrypt and use / with LUKS (with a nice HOWTO), so that should always be possible.

Yes if I have to choose between not having encryption or do having encryption (but i have to have a usbkeyboard around when i boot) I would go for the encryption option.
Its a temporary fix I understand that…But when they solve the problem with touchscreenkeyboard its probaly a software fix and then I can leave my home without a usb-c keyboard. :smiley:

Ok where to find a howto for this ?

1 Like

It is not Debian specific, so that might also be valuable to check out, but the arch docs are mostly excellent.

Should be possible to modify this to better fit the L5 partitioning.

The size of the OpenPGP card on the Librem 5 is 2FF, which is the size of a miniSIM.

Thanks for responding.

I agree with you that a mandatory keyboard and the like would not work but LUKS encryption on a linux mobile phone has been solved. I think postmarketOS did the heavy lifting here. I tested their solution and yah! It works.

Blog post:

It looks like they use a custom initramfs image that references resources on an unencrypted boot partition.

Thanks for all the great work you do for the community. :slight_smile: