Hi guys,

I am trying to write a bash script to generate key pairs, but not having any 
luck. It always goes to interactive mode when you run this script. Does GPG has 
command line way to generate public/private key pair? This is what I wrote:

#!/bin/bash

gpg --gen-key <<EOF



y
User Name
[EMAIL PROTECTED]
User Comment
O
Phasephrase123
Phasephrase123
EOF


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to