dotnet / dotnet/android-libzipsharp

Add support for libzip encryption functions

Aperta
#43 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
C#
Stelle
30
Fork
23
Merge medio
2h 34m
PR unite (30g)
1

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.