boot compressed readonly usb-media with aes encryption
Jordi Pujol wrote:
>> When I try to boot, I get prompted for my passphrase, but I can't get
>> through this. Then I get asked if I won't continue to try decrypt the
>> file.
>>
>
>
So I finally found out that my kernel only supports aes up to a maximum
keysize of 32bit.
live.log:
ioctl: LOOP_SET_STATUS: Invalid argument, requested cipher or key
length (256 bits) not supported by kernel
I'm not quite sure how I can fix it, on my testing-enviroment I just
need to load cryptoloop, but the live-kernel
won't do it.
Greets
Heiko
> Hello,
>
> that is the part of live-initramfs asking for the password
> the read command has the -s switch to not echo to the screen what is typed,
>
> there are some problems now with live, may be the error is not for encryption,
> see the file live.log in the initramfs prompt
> and look in previous posts.
>
> tail -150 /live.log | more
>
> Kind regards,
>
> Jordi Pujol
>
> And that is part of the code in live.initramfs/scripts/live-helpers:
>
> if [ -z "${encryption}" ]
> then
> /sbin/losetup ${options} "${dev}" "${fspath}"
> [ "${FSTAB}" = "Yes" ] && echo "# setup_loop ()
> ${fspath} ${dev} auto noauto,${options} 0 0" >> "${FSTABFILE}"
> else
> # Loop AES encryption
> while true
> do
> load_keymap
>
> echo -n "Enter passphrase for ${fspath}: " >&6
> read -s passphrase
> echo "${passphrase}" > /tmp/passphrase
> exec 9</tmp/passphrase
> /sbin/losetup ${options} -e "${encryption}" -p 9 "${dev}" "${fspath}"
> error=${?}
> exec 9<&-
> rm -f /tmp/passphrase
>
> if [ 0 -eq ${error} ]
> then
> [ "${FSTAB}" = "Yes" ] && echo "# setup_loop () encryption
> ${fspath} ${dev} auto noauto,${options} 0 0" >> "${FSTABFILE}"
> unset error
> break
> fi
>
> echo -n "Something went wrong... Retry? [YES/no] " >&6
> read answer
>
> if [ 'no' = "${answer}" ]
> then
> unset answer
> break
> fi
> done
> fi
>
> echo "${dev}"
> return 0
> fi
>
>
> _______________________________________________
> debian-live-devel mailing list
> debian-live-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
>
Reply to: