File Encryption Operation

Posted by kiruthika on Stack Overflow See other posts from Stack Overflow or by kiruthika
Published on 2010-04-15T08:41:28Z Indexed on 2010/04/15 8:43 UTC
Read the original article Hit count: 367

Filed under:
|

Hi All,

I have doubt in gpg command operation .

Actually we are using gpg command for encrypting the file .

File.txt has following things.

Testing
hello world  
My security things.

Now I am doing the file encryption for File.txt
gpg --symmetric File.txt Now I got File.txt.gpg file , which is encrypted. My doubt, if some open that file and did someone changes in that I am not able
get file content . It says my following things.
$ gpg --decrypt File.txt.gpg gpg: no valid OpenPGP data found. gpg: decrypt_message failed: eof

I want my file content , even though some body has done changes in that . what should I do for this problem....?

© Stack Overflow or respective owner

Related posts about gpg

Related posts about decryption