From 11bd572adf4a861e4c42123c2dadbacd3349af93 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 23 Dec 2014 18:25:17 +0100 Subject: support updating the challenge on boot --- mkinitcpio/ykfde-cpio | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mkinitcpio/ykfde-cpio (limited to 'mkinitcpio') diff --git a/mkinitcpio/ykfde-cpio b/mkinitcpio/ykfde-cpio new file mode 100644 index 0000000..c055a6d --- /dev/null +++ b/mkinitcpio/ykfde-cpio @@ -0,0 +1,15 @@ +#!/bin/sh + +build() { + # install files to initramfs + add_binary /usr/lib/udev/ykfde + add_file /usr/lib/initcpio/udev/20-ykfde.rules /usr/lib/udev/rules.d/20-ykfde.rules + add_file /etc/ykfde.conf +} + +help() { + echo "This hook adds support for opening LUKS devices with Yubico key." + echo "Please use command 'ykfde' to prepare." + echo "The hook ykfde-cpio does NOT include challenges! Please load" + echo "additional cpio archive with bootloader." +} -- cgit v1.2.3-70-g09d2