Ask / Submit

Automount encrypted sdcard with key file

Tracked by Jolla

asked 2019-01-10 15:04:46 +0300

jollajo gravatar image

updated 2019-01-11 11:40:07 +0300

jovirkku gravatar image

Today I got an uSD card for my XA2 with SF 3.0.1. Formatting with encryption and unlocking with mount works without issues. However it's rather painful to remember to manually unlock and mount the SD card after reboot. Especially automatically started services and apps won't find the external memory at boot time.

On a desktop PC I have a key file in my rootfs or home partition and unlock (luks-)encrypted partitions automatically with that key file. Is there an option in SF3 as well?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted

answered 2019-01-16 15:34:59 +0300

olf gravatar image

If you are able to use the command line, chapter 4.3 of the "Guide: Creating partitions on SD-card, optionally encrypted" is working fine (since SFOS 2.1) and is interoperable with Jolla's new GUI solution in SFOS 3.0.

This seems to be easier to deploy (for command line savvy users) and more reliable (taking above and other issues with Jolla's solution into account), if just an encrypted SD-card (partition) automatically mounted at boot time is wanted.
Please mind the prerequisite steps noted in the preceding chapters of "Guide: Creating partitions on SD-card, optionally encrypted".

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2019-01-10 15:04:46 +0300

Seen: 207 times

Last updated: Jan 16