dotnet / dotnet/android-libzipsharp
Add support for libzip encryption functions
- Ngôn ngữ chính
- C#
- Star
- 30
- Fork
- 23
- Merge trung bình
- 2 giờ 34 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
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)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu bằng cách lần theo các điểm vào của managed wrapper cho việc mở archive, truy cập file và tạo archive, sau đó so sánh các interface của chúng với zip_fopen_encrypted, zip_fopen_index_encrypted, zip_set_default_password và zip_file_set_encryption. Hoàn thành khi cả ba mục trong checklist đều hoạt động, bao gồm các callback mật khẩu do caller cung cấp và các phương thức mã hóa có thể lựa chọn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp
- Lĩnh vực
- security
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100