[email protected] wrote

> > Yes and the boot partition is not encrypted, only /home But I solved it.
> > It was an init script issue. On openSUSE there is an init script
> > "earlyxdm" and it has overridden so to say the pinentry-ncurses program.
> > I have now edited earlyxdm and have added my own script to
> > Requried-Start, thus earlyxdm now waits until pinentry-curses does its
> > job. It works now. Pretty cool, I can now unlock my LUKS volume with the
> > openPGP card, that's nerd ;-)
> 
> Hello Mate,
 
> I use Debian and not OpenSuse, but I'm interristing by your script.
> Could you give it ?

Yes, of course. I have attached it, I named it open-luks-key. The only 
interesting stuff is the start and stop section. I have directly put the name 
of my luks partition there. It is a dumb script, does not detect anything 
automatically, but it works if the card reader is running fine. I even have 
not removed  the FOO template stuff from it :-) Ugly, but works.
The "Required-Start:" section needs to contain the PCSC daemon, that needs to 
run, so gpg-agent can call the pinentry program.

Regards
Malte

Attachment: open-luks-key
Description: application/shellscript

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to