0

I followed stinky parkia's guide to unlocking device over ssh.

However, the password is not working. I am able to reach the shell to enter the passphrase but it's simply not accepting the correct password and keeps telling me cryptsetup: cryptsetup failed, bad password or options?, I type the same password with a keyboard attached directed with the Pi4 and it works.

I little more research showed initramfs option is required in crypttab. Updated crypttab:

# <target name> <source device>     <key file>  <options>
sdcard  /dev/mmcblk0p2  none    luks,initramfs

However, the password is still not working over SSH.

Any hints on what I am possibly doing wrong?

Details:

  1. uname -a: Linux raspi 6.1.21-v8+ #1642 SMP PREEMPT aarch64
  2. OS: Raspberry OS lite
  3. cryptsetup --version: cryptsetup 2.3.7
atb00ker
  • 101

0 Answers0