Please describe the problem.
Bad input data given to gpg will make it lock.
What steps will reproduce the problem?
Trying to download gpg encrypted data from remote with bad/incorrect data
What version of git-annex are you using? On what operating system?
4.20130501-gd9e288b, on ubuntu 13.04
Please provide any additional information below.
Transcript http://paste.ubuntu.com/5626517/
Note: The problem is most likely caused by bad data from either the nntp hooks program, or the nntp server itself.
I also have one file with bad data that consistently is NOT a problem for gpg to handle(lines 24-25 of log).
What version of gnupg do you have installed?
I don't see how git-annex can possibly guard against gpg behaving this way when given bad data. So the best thing to do would be to get a test case file that causes gpg to behave this way, and then I could file a bug on gpg and get it fixed to immediately exit.
I tried to reproduce this by encrypting a 1 mb file with gpg. This yeilded a 1.1 mb file. I then truncated it back to 1 mb, and tried to decrypt it.
gpg exited immediately on error, which is what it should do. So it doesn't seem likely I can guess at a test case file that causes gpg to behave this way. You will need to provide one for me to help.