can not decrypt file suddenly

NIIBE Yutaka gniibe at
Wed Apr 15 03:58:55 CEST 2015

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 somewhere in the filesystem (not within a file).

You can examine the content of file by gpg --list-packets, or you can
see it by the command hd (or od), but I think that all you will get
is the wrong information when it's corrupted.

For applications (like gnupg), there is no way to recover such a
corrupted files.

Please fix your file system, by a tool like fsck, or debugfs.

More information about the Gnupg-users mailing list