can not decrypt file suddenly
jason zhang
jasonzhang2002 at gmail.com
Tue Apr 14 16:53:37 CEST 2015
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 <gniibe at fsij.org> 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 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: parse_packet(iob=1): type=9 length=0 (new_ctb)
>
> Here, it seems for me that your file (j.pgp) is malformed.
> Type=9 is the encrypted data packet, but its length is 0.
>
> Since OpenPGP format for the encrypted data packet begins with a
> block-size of random bytes. So, length 0 should not be happened.
>
> I think that this is the cause of your trouble.
>
> Note that the length of the encrypted data packet is data before
> decryption, passphrase doesn't matter here.
>
> > Can I move the encrypted file to another machine? Since I use symmetric
> > encryption, it should not depend on the machine it is on. Right?
>
> Yes.
> --
>
--
-jiesheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20150414/fa490596/attachment.html>
More information about the Gnupg-users
mailing list