Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password not valid when opening zip file #66

Open
rulovic opened this issue Feb 5, 2018 · 0 comments
Open

Password not valid when opening zip file #66

rulovic opened this issue Feb 5, 2018 · 0 comments

Comments

@rulovic
Copy link

rulovic commented Feb 5, 2018

Hello all,
I am using Objective-zip library in my project However when I create zip file with password I am not able to open it. It always says that password is not valid. This is my code:
OZZipFile *zipFile= [[OZZipFile alloc] initWithFileName:fullPath mode:OZZipFileModeCreate]; uint32_t crc= [errorLogData crc32]; NSError* myerror = nil; OZZipWriteStream *zipWriteStream = [zipFile writeFileInZipWithName:baseNameLog fileDate:[NSDate date] compressionLevel:OZZipCompressionLevelBest password:@"bla" crc32:crc error:&myerror];

I have printed value of myerror, which is nil and crc which is not zero.
I think this is a problem in the library. Could you check it?
I am using macOS 10.12.6 for development
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant