dotnet / dotnet/android-libzipsharp

Add support for libzip encryption functions

Open
#43 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
30
Forks
23
Avg merge
2h 34m
Merged PRs (30d)
1

Description

Originally libZipSharp had no use for libzip's encryption functions as Xamarin.Android doesn't use them, but now that the library is shipped in a nuget those functions may come useful. Implement the following:

- [ ] Explicitly open an encrypted archive
- [ ] Automatically detect if the archive is encrypted and, if yes, use a callback to ask user for password (libZipSharp must not do it on its own)
- [ ] Create an encrypted archive with a provided password and a choice of encryption methods

Relevant upstream APIs:

- [zip_file_set_encryption](https://libzip.org/documentation/zip_file_set_encryption.html)
- [zip_fopen_encrypted](https://libzip.org/documentation/zip_fopen_encrypted.html)
- [zip_fopen_index_encrypted](https://libzip.org/documentation/zip_fopen_index_encrypted.html)
- [zip_set_default_password](https://libzip.org/documentation/zip_set_default_password.html)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.