Use GPG to create encrypted files readable by PGP
gpg2.20.maniams at dfgh.net
gpg2.20.maniams at dfgh.net
Thu May 7 07:12:24 CEST 2009
On Thu, May 7, 2009 at 12:06 AM, John Clizbe - John at Mozilla-Enigmail.org
<+gpg2+maniams+ede7096b82.John#Mozilla-Enigmail.org at spamgourmet.com> wrote:
> gpg2.20.maniams at 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-keys at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20090507/24db3110/attachment.htm>
More information about the Gnupg-users
mailing list