can not decrypt file suddenly

jason zhang jasonzhang2002 at gmail.com
Tue Apr 14 06:12:18 CEST 2015


Here are the output from "file" and "gpg --list-packets"

[jason at f15 ~]$ file .jsbk.gpg
.jsbk.gpg: DOS executable (COM)
[jason at 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 data packet:
    length: unknown
gpg: encrypted with 1 passphrase
gpg: decryption failed: bad key
[jason at f15 ~]$ file .pingpin.gpg
.pingpin.gpg: DOS executable (COM)
[jason at f15 ~]$ gpg --list-packets .pingpin.gpg
:symkey enc packet: version 4, cipher 3, s2k 3, hash 2
    salt a31c35cff9314421, count 65536 (96)
gpg: CAST5 encrypted data
:encrypted data packet:
    length: unknown
gpg: encrypted with 1 passphrase
gpg: decryption failed: bad key

Thanks

On Mon, Apr 13, 2015 at 9:02 PM, Doug Barton <dougb at dougbarton.email> wrote:

> 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 like the files are corrupted. Run the
> following commands on both files (substitute <file> for the actual file
> names), and report the results:
>
> file <file>
> gpg --list-packets <file>
>
> (Yes, the first command above is literally the word "file")
>
>
> Doug
>
> --
> I am conducting an experiment in the efficacy of PGP/MIME signatures. This
> message should be signed. If it is not, or the signature does not validate,
> please let me know how you received this message (direct, or to a list) and
> the mail software you use. Thanks!
>
>


-- 
-jiesheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20150413/7ba6f958/attachment-0001.html>


More information about the Gnupg-users mailing list