dotnet / dotnet/android-libzipsharp

Add support for libzip encryption functions

未关闭
#43 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
C#
星标
30
派生
23
平均合并
2 小时 34 分钟
30 天内合并 PR
1

描述

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)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。