Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359685 - sys-kernel/dracut: Support for GPG 1.x already supported by Genkernel
Summary: sys-kernel/dracut: Support for GPG 1.x already supported by Genkernel
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 330127
  Show dependency tree
 
Reported: 2011-03-21 00:11 UTC by Amadeusz Żołnowski (RETIRED)
Modified: 2011-05-10 18:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-dracut.kernel.7-crypto-LUKS-info-about-gpg-encrypted.patch (0001-dracut.kernel.7-crypto-LUKS-info-about-gpg-encrypted.patch,2.02 KB, patch)
2011-05-10 18:04 UTC, Amadeusz Żołnowski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-03-21 00:11:40 UTC
Genkernel supports keys for LUKS encrypted with GPG since 3.4.11. This functionality needs to be ported into Dracut.

Reproducible: Always
Comment 1 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-05-05 11:47:25 UTC
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
Comment 2 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-05-08 17:15:21 UTC
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.
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-05-10 17:55:18 UTC
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
Comment 4 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-05-10 17:58:16 UTC
I forgot to generate man pages:

make # to generate man pages
man ./dracut.kernel.7
Comment 5 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-05-10 18:04:00 UTC
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.