Re: gpg unusable from within an initrd

2008-06-23 Thread Christoph Anton Mitterer
On Mon, 2008-06-23 at 11:59 +0200, Werner Koch wrote: > Add option "--batch". Doesn't this disable any interactions like entering the passphrase? Thanks, Chris. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/

Re: gpg unusable from within an initrd

2008-06-23 Thread Christoph Anton Mitterer
On Mon, 2008-06-23 at 17:45 +0700, Vlad "SATtva" Miller wrote: > Or, if interactive mode is desired, place this in your initrd script: > > mv /dev/tty /dev/tty.bak > cp -a /dev/console /dev/tty > > # > # do gpg stuff here > # > > rm /dev/tty > mv /dev/tty.bak /dev/tty That's what I do right now

Re: gpg unusable from within an initrd

2008-06-23 Thread Christoph Anton Mitterer
I've just seen: On Sat, 2008-06-21 at 21:46 +0200, Christoph Anton Mitterer wrote: > /dev/tty is not available (an won't be) /dev/tty is there (5,0) and readable. No idea which problems gpg has... :-/ Chris. smime.p7s Description: S/MIME cryptographic signature ___

Re: gpg unusable from within an initrd

2008-06-23 Thread Vlad "SATtva" Miller
Werner Koch (23.06.2008 16:59): > On Sat, 21 Jun 2008 21:46, > [EMAIL PROTECTED] said: > >> With it, in complains "gpg: Sorry, no terminal at all requested - can't >> get input" > > Add option "--batch". Or, if interactive mode is desired, place this in your initrd script: mv /dev/tty /dev/tty.

Re: gpg unusable from within an initrd

2008-06-23 Thread Werner Koch
On Sat, 21 Jun 2008 21:46, [EMAIL PROTECTED] said: > With it, in complains "gpg: Sorry, no terminal at all requested - can't > get input" Add option "--batch". Salam-Shalom, Werner -- Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz.