
wk at gnupg
Aug 13, 2011, 2:04 AM
Post #5 of 5
(180 views)
Permalink
|
|
Re: how can i generate a keypair without reading anwsers from stdin?
[In reply to]
|
|
On Fri, 12 Aug 2011 12:40, lists [at] binarywings said: > You can simply write the answers down like you would in an interactive > session with gpg. Then feed this file with `gpg --gen-key ... < file` *Don't do this* ! The interface presented there is for humans only and may change at any time. In fact, it depends on certain options and has changed several times in the past. > gpg just reads from standard input. There is no difference between a > user pressing return and a newline character in a text file. There is one: gpg reads directly from the TTY unless you use --batch. This allows the use of readline features and to disable echo during passphrase entry. Please use a parameter file as described in the manual. This is a well defined interface and the way to control key generation. Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. _______________________________________________ Gnupg-users mailing list Gnupg-users [at] gnupg http://lists.gnupg.org/mailman/listinfo/gnupg-users
|