PINE64
Encryption support - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Encryption support (/showthread.php?tid=9836)



Encryption support - rockfun - 05-12-2020

Hi,

I try to encrypt my storage disk attached via USB.

I tried to use dm-crypt, fscrypt but it seems that the kernel doesn't have support for none of them/

Could you advise?

I use Armbian: Linux rock64 5.4.32-rockchip64 #20.02.11 SMP PREEMPT Tue Apr 14 17:30:19 CEST 2020 aarch64 aarch64 aarch64 GNU/Linux


RE: Encryption support - rockfun - 06-10-2020

ok, no reponse, however I made it on myself, by enabling kernel features nad recompilation as follows:

apt install linux-source-`uname -r`
tar Jxvf linux-source-5.4.43-rockchip64.tar.xz
cp linux-rockchip64-current_5.4.43_20.05.2_config .config
make oldconfig
make menuconfig
time make -j4
make modules_install
make install
rm /boot/Image
ln -s /boot/vmlinuz-5.4.43+ /boot/Image