zim2901 schrieb: > Hi, > > I want to create a frontend to generate gpg public keys in PHP. There is a > function called shell_exec. This function, execute a command via shell. But > you can only pass one command to the funktion. > If I start cmd.exe and take the command "gpg --gen-key", gpg opens a dialog. > My problem is that gpg only works with this dialog. It gives a question and > anticipate a responce. So I tried to pipe the necessary informations with a > txt.- file, but it doesn't work! > My question is, if it is possible to generate keys without do that dialog? > In an other forum, sombody explains that this is not possible, because of > secureness... If that is true, my whole projekt stops! >
Hej Timo, I guess the keyword for google is 'unattended keygeneration'. You will be prompted to the batch mode of gpg: gpg --batch --gen-key < ./keygen Regards, Boris _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
