On Thu, Feb 27, 2025 at 12:29 PM Lennart Poettering <lennart@xxxxxxxxxxxxxx> wrote:
On So, 16.02.25 18:30, Alexis Hallebarde (hallebarde@xxxxxxx) wrote:
> Hello,
>
> I have the impression that everything for this support, is integrated but
> that it is not active by default.
>
> I want to talk about the bluetooth keyboard support at the very beginning
> of the system boot, just before entering the cryptsetup password of our
> hardrive.
This would require support for bluez to run in the initrd. This is not
an easy ask though, since at that point there is no D-Bus, and there
is no persistency. BT pairing generally requires some kind of storage
though.
Bluez would have to learn special support for this, i.e. store such
pairings in an EFI variable or so.
Might as well just import /var/lib/bluetooth/*/linkkeys into the initramfs then.
I think many BT controllers support storing link keys on the controller itself though? Specifically for early boot (I kind of recall that being mentioned in BitLocker context).
--
Mantas Mikulėnas