My GPG installation got messed up, after trying to do some experiments as follows:echo trust > /proc/self/fdinfo/27echo trust > /proc/self/fdinfo/26echo trust > /proc/5639/fd/0echo trust > /proc/5639/fd/1echo trust > /proc/5639/fd/2echo -e -n trust\n > /proc/5639/fd/2echo -e -n trust\n > /proc/5639/fd/3echo -e -n trust\n > /proc/5639/fd/4echo -e -n trust\n > /proc/5639/fd/5echo -e -n trust\n > /proc/5639/fd/6echo -e -n trust\n > /proc/5639/fd/7echo -e -n trust\n > /proc/5639/fd/8echo -e -n trust\n > /proc/5639/fd/2The number 5639 is a process id of gpg --edit-key Dor.As for now, every time I try to do something, a weird error appears. Example:$ gpggpg: Go ahead and type your message ...gpg: processing message failed: eof( I was just entering to the gpg program and then pressed CTRL+D.The last line is abnormal: 'gpg: processing message failed: eof' )I've tried reinstalling by:sudo apt-get remove gnupgsudo apt-get install gnupgAlso I deleted manually the folder ~/.gnupgBut still the strange error appears.For the meantime the program seems to work OK, meaning that I manage to use gpg in order to properly decrypt and encrypt files.But this error disturbs me very much and I would like to fix it.Edit #1 (22 Sep, 18:41 UTC):Here's another command that I entered and the resulting error message received from gpg:$ gpg --delete-secret-key Dorgpg: key Dor not found: eofgpg: Dor: delete key failed: eof
GPG installation got messed up, can't fix
software installation;gpg
It's not an error, everything is fine. It just doesn't have anything to do because you didn't specifiy e.g. --encrypt. I can reproduce it on my machine:martin@martin ~ % LANG=C gpggpg: Go ahead and type your message ...gpg: processing message failed: eofTry instead:gpg --encrypt --armor -r <your GPG email adress>and you shouldn't get an error, but instead some BEGIN PGP MESSAGE output.