signing and encrypting newbie question

Eddie Roosenmaallen eddie at
Fri Jan 14 16:47:16 CET 2005

Hash: SHA1

Hi Mark,

To sign the file using your own key, you just need to add --sign to the
command, eg. gpg --recipient "XXX" --output $rootpath\\$filepgp
- --encrypt --sign $rootpath\\encrypted\\$file`

  Eddie Roosenmaallen

Mark Ivs wrote:
> Hello,
> I am a very new to PGP. So please bare with my
> question if it is really simple.
> I am working on a project where I need to put some
> signed encrypted files on an ftp site and our customer
> will ftp it from there.
> Here is what they want me to do. Please let me know if
> it is do-able.
> We have already  exchanged our public keys. Their
> public key is added to our key ring. Before placing
> the files on our ftp site for their retrieval,
> customer wants me to SIGN the files with our public
> key and ENCRYPT it using their public key. 
> Please let me know if this is doable and if it makes
> sense.  If so can some one how it can be done? I know
> how to encrypt the files but I don't understand how to
> encrypt and sign the files. Thanks a lot in advance.
> For just encryption this is what I tried(it works):
> gpg --recipient "XXX" --output $rootpath\\$filepgp
> --encrypt $rootpath\\encrypted\\$file`;
> -Mark
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird -


More information about the Gnupg-users mailing list