Where to go from `boot.initrd.luks.gpgSupport`?

I have a few yubikeys configured to use the same gpg key and I currently use the following to unlock during boot

boot.initrd.luks.gpgSupport = true;
boot.initrd.luks.devices.“cryptroot”.device = “/dev/disk/by-uuid/…
boot.initrd.luks.devices.“cryptroot”.gpgCard.publicKey = ..;
boot.initrd.luks.devices.“cryptroot”.gpgCard.encryptedPass = ..;

IIUC correctly support for this will be removed with scripted initrd in 26.11.

Wondering if anyone is in a similar position and what they ended up doing and why.

I think I have the option of using piv (which will work both with my yubikey 4 and 5) or FIDO2 which is only supported by the yubikey v5. At first glance FIDO2 seems easier to configure except for having to enroll each yubikey.

1 Like