Results 1 to 1 of 1

Thread: unlock raspberry 3 luks from network (wifi and LAN)

  1. #1
    Join Date
    2017-Jun
    Posts
    1

    unlock raspberry 3 luks from network (wifi and LAN)

    Hello, i try to configure a kali linux on a raspberry 3 to make the luks encrypted rootfs unlockable first from LAN, then from a wifi network hosted by the RPi 3.
    I already generated an initramfs which can connect to a network using simonschiele's github repo (https://github.com/simonschiele/initramfs-hooks), the default scripts in the repo aren't working on arm, I edited them to work on my RPi, it connects to the network, but the dropbear denies the authentication with 'Permission Denied (publickey)', i tried to to configure dropbear to allow password auth, which would be more practical in my case, but changes in the /etc/dropbear/config have no effect to dropbear, and in the command line options, password auth is allowed.

    github : https://github.com/AtheroS-dev/luks-initramfs

    An overview of the project:

    -Done:
    creating encrypted rootfs
    connecting to a network via LAN
    hostapd working in the initramfs
    connect over telnet, run the /srcipts/local-bottom/cryptroot hook, enter the password and pkill askpass
    boot via the method above
    -WIP:
    find a ssh server instead of dropbear/socat for this and 'port' it for initramfs usage
    make a script that automatically generates one checksum for the /boot partition and writes it to a one time writable tape, to make an integrity check if needed

    Thanks for any type of help !
    Last edited by AtheroS; 2017-08-10 at 10:28.

Similar Threads

  1. Unable to unlock LUKS encrypted drive remotely with SSH
    By Supermag357 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2018-07-16, 15:06
  2. Connecting to wifi network with raspberry pi
    By Clueless_Individual in forum ARM Archive
    Replies: 1
    Last Post: 2016-05-24, 23:31
  3. Replies: 1
    Last Post: 2014-06-02, 09:55

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •