View Issue Details

IDProjectCategoryView StatusLast Update
0000220file[All Projects] Generalpublic2021-01-03 20:59
ReporterryoonAssigned Tochristos 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version5.40 
Summary0000220: Add compression method for ZIP archive file
DescriptionPlease include compression method to the output for ZIP archives.

For example:
deflate.zip: Zip archive data, at least v2.0 to extract, compression method=deflate
bzip2.zip: Zip archive data, at least v4.6 to extract, compression method=bzip2
lzma.zip: Zip archive data, at least v6.3 to extract, compression method=lzma
aes-256.zip: Zip archive data, at least v5.1 to extract, compression method=AES Encrypted
TagsNo tags attached.

Activities

ryoon

2020-12-31 08:19

reporter  

zip-comp-method.diff (400 bytes)
diff --git a/magic/Magdir/archive b/magic/Magdir/archive
index cf656216..8a5b8a01 100644
--- a/magic/Magdir/archive
+++ b/magic/Magdir/archive
@@ -1346,6 +1346,8 @@
 >>>>4	beshort		x			\b, at least
 >>>>4	use		zipversion
 >>>>4	beshort		x			to extract
+>>>>8	beshort		x			\b, compression method=
+>>>>8	use		zipcompression
 >>>>0x161	string		WINZIP		\b, WinZIP self-extracting
 
 # StarView Metafile
zip-comp-method.diff (400 bytes)

christos

2021-01-03 20:59

manager   ~0003520

Added, thanks!

Issue History

Date Modified Username Field Change
2020-12-31 08:19 ryoon New Issue
2020-12-31 08:19 ryoon File Added: zip-comp-method.diff
2021-01-03 20:58 christos Assigned To => christos
2021-01-03 20:58 christos Status new => assigned
2021-01-03 20:59 christos Status assigned => resolved
2021-01-03 20:59 christos Resolution open => fixed
2021-01-03 20:59 christos Fixed in Version => 5.40
2021-01-03 20:59 christos Note Added: 0003520