key generation in a script or non interactive mode?
Afzal, Naeem M
naeem.m.afzal at intel.com
Thu Jul 10 20:04:39 CEST 2008
Thanks, that was exactly what I was looking for. I followed the instructions in the doc, and it works on Ubuntu host as user, but if I chroot to a filesystem within this host, I get the following error within chroot'd filesystem:
user at ubuntu-host$ sudo chroot ~/target/fs
root at ubuntu-host# cat >foo <<EOF
%echo Generating a standard key
Name-Real: Joe Tester
Name-Comment: with stupid passphrase
Name-Email: joe at foo.bar
# Do a commit here, so that we can later print "done" :-)
root at ubuntu-host# gpg --batch --gen-key -a foo
/usr/bin/gpg: 1: Syntax error: "(" unexpected
>Please read the section "Unattended key generation" in doc/DETAILS.
More information about the Gnupg-users