On Thu, May 7, 2009 at 12:06 AM, John Clizbe - j...@mozilla-enigmail.org <+gpg2+maniams+ede7096b82.john#mozilla-enigmail....@spamgourmet.com> wrote:
> gpg2.20.mani...@dfgh.net wrote: > > Dear Members : > > Could you (or the list ) help me with the following : > > - I have an source xl file - say something dot xls > > - I wish to encrypt this and the recipient is say Mr. Y > > - I wish to have an encrypted result file that is recognized and > > readable by Mr. Y using PGP > > - A command line (that assumes the following ) would be of great help > > > > Source file : something.xls > > Source directory : c:\somewhere\ > > Result requested : something.xls.pgp -> > > file that can be decrypted by PGP > > Result directory : c:\somewhere\ > > recipient : Mr. Y. : > > I have his pub key on my ring. > > I trust Mr. Y (in real life I have verified his e mail etc). > > But Mr. Y's pub key on my key ring may or > > _may NOT_ have trusted signatures / trust levels etc on the key. > > cd c:\somewhere > > gpg --trust-model always --pgp8 -r <Mr Y's keyID> -o something.xls.pgp > -e something.xls > > This wraps in the email. In a CMD window you would just type it on one > line. > > --trust-model always says to trust the key(s) anyway > > --pgp8 is the most recent. There are also --pgp7, --pgp6, and --pgp2 > options. > > -r <Mr Y's keyID> sets the encryption _r_ecipient > > > -- > John P. Clizbe Inet:John (a) Mozilla-Enigmail.org > You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net or > mailto:pgp-public-k...@gingerbear.net?subject=help > Thanks a ton. That was an amazing reply. It works for me May I add a note for other novices : The file name should not contain spaces. if it did try using " -> quotes to wrap the file name regards subu
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users