GNOME Bugzilla – Bug 770606
AutoarExtractor: signal error on encrypted archives
Last modified: 2016-09-01 14:40:13 UTC
See patches.
Created attachment 334455 [details] [review] configure: bump required libarchive version A newer version of libarchive is required for features like checking for encrypted archives.
Created attachment 334456 [details] [review] AutoarExtractor: signal error on encrypted archives Libarchive does not yet support decryption for all archive formats, so for now an error should be signalled when encrypted headers are encountered.
Review of attachment 334455 [details] [review]: yeah. Add to the commit message that we checked with distros.
Review of attachment 334456 [details] [review]: This looks good to me, let's wait for Ting to confirm. Also add in the commit message what happens without this patch (the decompression of an empty file)
Created attachment 334463 [details] [review] configure: bump required libarchive version A newer version of libarchive is required for features like checking for encrypted archives. The new version of libarchive is also available in the distributions that use GNOME.
Created attachment 334464 [details] [review] AutoarExtractor: signal error on encrypted archives Libarchive does not yet support decryption for all archive formats, so for now an error should be signalled when encrypted headers are encountered. Proceeding to decompress an encrypted file would end up in either creating empty files or getting an error from libarchive.
Attachment 334463 [details] pushed as 11d061f - configure: bump required libarchive version Attachment 334464 [details] pushed as 2ea62d2 - AutoarExtractor: signal error on encrypted archives