How to validate encryption

2011-08-12 Thread Yadav, Amarjeet
Hi , We have requirement where we would like to check for encrypted file its valid or not before decrypting it. Thanks ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: How to validate encryption

2011-08-12 Thread Hauke Laging
Am Donnerstag, 11. August 2011, 15:47:40 schrieb Yadav, Amarjeet: Hi , We have requirement where we would like to check for encrypted file its valid or not before decrypting it. Thanks Why? In order to prevent the usability of GnuPG exploits? If you trust the sender (and his systems) then the

Re: How to validate encryption

2011-08-12 Thread Werner Koch
On Thu, 11 Aug 2011 15:47, amarjeet.ya...@gs.com said: We have requirement where we would like to check for encrypted file its valid or not before decrypting it. You mean whether it has been tampered with? You can't do that without decrypting it. GPG checks that the decrypted file is valid -

RE: How to validate encryption

2011-08-12 Thread Yadav, Amarjeet
Thanks. -Original Message- From: Hauke Laging [mailto:mailinglis...@hauke-laging.de] Sent: Friday, August 12, 2011 5:16 PM To: gnupg-users@gnupg.org Cc: Yadav, Amarjeet [Tech] Subject: Re: How to validate encryption Am Donnerstag, 11. August 2011, 15:47:40 schrieb Yadav, Amarjeet: Hi