GNUpg Version 1.4.8 on Solaris 10 (Sparc)
dave.smith at st.com
Thu Jul 31 15:50:02 CEST 2008
On Wed, Jul 30, 2008 at 02:13:04PM -0700, SatishK wrote:
> We have just installed gnupg-1.4.8 on Sparc/Solaris 10. Is it possible to use
> gpg to encrypt a file using private key and passphrase (under program
> control) and send it to a remote user ? The remote user should be able to
> decrypt the file with the public key sent by us.
> Will appreciate clarification on this.
Why would you want to?
Surely you would want to encrypt it with their public key, so that they can
decrypt it with their own private key? Otherwise you end up with the old
chestnut of key exchange problems (i.e. if you can't get the document to
them securely without encrypting it, how do you get the key to them
I suspect that the closest thing to what you want to do is to generate a
public/private keypair yourself, and then export the private key:
gpg --armor --export-secret-key <keyID>
You can then give them this exported secret key. Of course, you need to
be very careful about how you transport this secret key around.
David Smith | Tel: +44 (0)1454 462380 Home: +44 (0)1454 616963
STMicroelectronics | Fax: +44 (0)1454 462305 Mobile: +44 (0)7932 642724
1000 Aztec West | TINA: 065 2380 GPG Key: 0xF13192F2
Almondsbury | Work Email: Dave.Smith at st.com
BRISTOL, BS32 4SQ | Home Email: David.Smith at ds-electronics.co.uk
More information about the Gnupg-users