[Pkg-cryptsetup-devel] gpg support for cryptsetup and decrypt_* scripts

David Härdeman david at hardeman.nu
Mon Feb 18 21:35:47 UTC 2008


On Mon, Feb 18, 2008 at 10:00:12PM +0100, Christoph Anton Mitterer wrote:
>
>On Mon, 2008-02-18 at 20:25 +0100, David Härdeman wrote:
>> Not possible, but I've considered it before...
>Sure? It should be possible if the initramfs-tools hook parses the
>keyscript file, while the keyscript file spcifies it's dependencies.
>Then the hook-script could invoke something like copy_exec.
>This could also be done via a dedicated funtion e.g. something like
>dephook() (ok this name sucks ;) ) that is called by the hook, and that
>calls stuff like copy_exec itself.

dephook won't work since there is no guarantee that keyscripts are bash 
scripts, which is why parsing won't work either.

So I think the only thing that would work is if the "script" (a somewhat 
misleading name perhaps) would output a list of its dependencies...

-- 
David Härdeman



More information about the Pkg-cryptsetup-devel mailing list