Re: can not decrypt file suddenly

2015-04-14 Thread NIIBE Yutaka
On 04/14/2015 11:53 PM, jason zhang wrote: > what else I can try? > Can I feed a guessed length for Type=9 repeatedly from command line? I don't think it's helpful and there's no such command line interface. When a file were corrupted in such a way, blocks (of encrypted content) were gone somewher

Re: can not decrypt file suddenly

2015-04-14 Thread jason zhang
Hi NIIBE what else I can try? Can I feed a guessed length for Type=9 repeatedly from command line? On Mon, Apr 13, 2015 at 9:41 PM, NIIBE Yutaka wrote: > On 04/14/2015 12:07 PM, jason zhang wrote: > > Yes, it asked me the passphrase just after "gpg: CAST5 encrypted data" > > line, and I gave

Re: can not decrypt file suddenly

2015-04-13 Thread NIIBE Yutaka
On 04/14/2015 12:07 PM, jason zhang wrote: > Yes, it asked me the passphrase just after "gpg: CAST5 encrypted data" > line, and I gave the passphrase. The passphrase is definitely right since I > used it very 2 or 3 days. I see. > Here is a whole debug session: Thank you for the log. > gpg: DBG

Re: can not decrypt file suddenly

2015-04-13 Thread jason zhang
Here are the output from "file" and "gpg --list-packets" [jason@f15 ~]$ file .jsbk.gpg .jsbk.gpg: DOS executable (COM) [jason@f15 ~]$ gpg --list-packets .jsbk.gpg :symkey enc packet: version 4, cipher 3, s2k 3, hash 2 salt 51c310499a629643, count 65536 (96) gpg: CAST5 encrypted data :encrypted

Re: can not decrypt file suddenly

2015-04-13 Thread Doug Barton
On 4/13/15 8:56 PM, jason zhang wrote: Hi Doug Yes, the problem started after the unscheduled shutdown. Unfortunately, I don't have an archived version. The problem is that another encrypted, which I have not touched for sometime, cann't be opened either. Well I'm sorry to say, that sounds lik

Re: can not decrypt file suddenly

2015-04-13 Thread jason zhang
Hi Doug Yes, the problem started after the unscheduled shutdown. Unfortunately, I don't have an archived version. The problem is that another encrypted, which I have not touched for sometime, cann't be opened either. On Mon, Apr 13, 2015 at 8:46 PM, Doug Barton wrote: > On 4/13/15 8:07 PM, jas

Re: can not decrypt file suddenly

2015-04-13 Thread Doug Barton
On 4/13/15 8:07 PM, jason zhang wrote: Hi NIIBE Thank you very much for the help. Yes, it asked me the passphrase just after "gpg: CAST5 encrypted data" line, and I gave the passphrase. The passphrase is definitely right since I used it very 2 or 3 days. You mentioned that you had an unschedu

Re: can not decrypt file suddenly

2015-04-13 Thread jason zhang
Hi NIIBE Thank you very much for the help. Yes, it asked me the passphrase just after "gpg: CAST5 encrypted data" line, and I gave the passphrase. The passphrase is definitely right since I used it very 2 or 3 days. Here is a whole debug session:

Re: can not decrypt file suddenly

2015-04-13 Thread NIIBE Yutaka
On 04/14/2015 07:27 AM, jason zhang wrote: > Any clue? Where should I start to investigate? > > I checked another encrypted file. I cloud not decrypt it, either. > But I can encrypt /decrypt new file successfully. Please let us know your configuration. I think that it's ~/.gnupg/gpg.conf on Fedo

can not decrypt file suddenly

2015-04-13 Thread jason zhang
Any clue? Where should I start to investigate? I checked another encrypted file. I cloud not decrypt it, either. But I can encrypt /decrypt new file successfully. I remembered my laptop was shut down abruptly due to out of power while I edit the file in email. Could this cause the problem? Thank

can not decrypt file suddenly

2015-04-12 Thread jason zhang
I have a encrypted file in Fedora 15 system. I have decrypted the file repeatedly many times for two years. Today, I could not decrypt it suddenly. Here is what a decrypt session looks like -- /usr/local/bin/gpg j.gpg gpg: CAST5 encrypted data gpg: encrypted