Skip to content

Error while decrypting an AES-256 archive #15

@jord-nijhuis

Description

@jord-nijhuis

When decrypting an AES-256 archive, I get the error message The final hash has not been computed.

 ---> Ionic.Zip.BadStateException: The final hash has not been computed.
   at Ionic.Zip.WinZipAesCipherStream.get_FinalAuthentication()
   at Ionic.Zip.ZipEntry.VerifyCrcAfterExtract(Int32 actualCrc32)
   at Ionic.Zip.ZipEntry.InternalExtract(String baseDir, Stream outstream, String password)
// ...

It appears that issue is identical to an issue that has previously been resolved in DotNetZip.Semverd (see this StackOverflow question and DotNetZip.Semverd#201.

EDIT:
I justed tested the changes from PR 202 and those changes indeed resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions