Genkernel supports keys for LUKS encrypted with GPG since 3.4.11. This functionality needs to be ported into Dracut. Reproducible: Always
Patches are waiting for inclusion on initramfs mailing list: http://permalink.gmane.org/gmane.linux.kernel.initramfs/1890 http://permalink.gmane.org/gmane.linux.kernel.initramfs/1891
crypt-gpg works both with gpg2 and gpg1. There's no need for slotting, and therefore removing dependency. Btw, crypt-gpg reached dracut master branch.
Would be cool if someone would test it. I guess some of you already have this setup with Genkernel. git clone git://git.kernel.org/pub/scm/boot/dracut/dracut.git cd dracut sudo mount /boot sudo ./dracut -l -H -a crypt-gpg /boot/initramfs-gpg-test.img sudo umount /boot man dracut.kernel - section "crypto LUKS - key on removable device support" to see how to setup kernel args
I forgot to generate man pages: make # to generate man pages man ./dracut.kernel.7
Created attachment 272753 [details, diff] 0001-dracut.kernel.7-crypto-LUKS-info-about-gpg-encrypted.patch Man page update in case if it hasn't reached master branch yet.