RE: key generation in a script or non interactive mode?

2008-07-10 Thread Afzal, Naeem M
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: [EMAIL PROTECTED] sudo chroot ~/target/fs [EMAIL PROTECTED] cat

RE: key generation in a script or non interactive mode?

2008-07-10 Thread Afzal, Naeem M
284 more bytes) How can I force it to complete it? Regards naeem -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Afzal, Naeem M Sent: Thursday, July 10, 2008 11:05 AM To: David Shaw; gnupg-users@gnupg.org Subject: RE: key generation in a script or non

key generation in a script or non interactive mode?

2008-07-09 Thread Afzal, Naeem M
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

how to get private key

2008-07-03 Thread Afzal, Naeem M
Hi I have general question regarding private key security. If a user creates its private public key pair by using some passphrase on a system. Can this pair be taken to a different system and decrypt files that were generated using its public key? My guess is no, but needed to confirm with you

RE: why we need passphrase

2008-06-28 Thread Afzal, Naeem M
How can I remove this restriction where I don't have to provide passphrase and public key itself is good enough? Thanks naeem -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Faramir Sent: Saturday, June 28, 2008 11:08 AM To: gnupg-users@gnupg.org

why we need passphrase

2008-06-27 Thread Afzal, Naeem M
Hi, In order to understand GnuPG, I tried to create private keys on two ubuntu systems. Here are my steps and I would ask my question at the end as I need to show what I did. 1. System A: Created private and public key by using 'gpg --gen-key' and then 'gpg --export --armor -out