signing and encrypting newbie question

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


-----BEGIN PGP SIGNED MESSAGE-----
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`

Peace,
  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 
> http://mail.yahoo.com 
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB5+mEtGGqbMwazQURArvrAKCe+IJ2yEKJ6+F15D2HrH/1LJW7lQCePkin
yxMvBxNBMSleAoTtvvy6ZwA=
=h6hf
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list