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

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


On Mon, Feb 18, 2008 at 10:43:10PM +0100, Christoph Anton Mitterer wrote:
>On Mon, 2008-02-18 at 22:35 +0100, David Härdeman wrote:
>> dephook won't work since there is no guarantee that keyscripts are bash 
>> scripts, which is why parsing won't work either.
>Why not simply define it to be an POSIX sh script?

Because it's already used by non-POSIX sh scripts and that requirement 
would seriously limit the usefulness of keyscripts.

>Another possibility would be to introduce a new parameter in crypttab,
>but this seems to me a rather disgusting solution.

I agree.

>> 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...
>
>Hmm,.. to stdout? Or what do you mean?

Yes, something like that...the problem is that the switch would still be 
difficult to perform since it could still break with old scripts.

>btw: Are there any other people who are perhaps working on the issues of
>my initial mail and could help me to solve them or develop patches for
>the cryptsetup package?

I think myself and Jonas Meurer are your primary hopes, and I have close 
to no time at all to spend on hacking before mid-March.

-- 
David Härdeman



More information about the Pkg-cryptsetup-devel mailing list