Package: file Version: 1:5.46-5 Severity: normal X-Debbugs-Cc: [email protected]
Dear Maintainer, The bug 1102577 was not completly solved. A ticket exists upstream about the issue: https://bugs.astron.com/view.php?id=685 I’m copying the way to reproduce bellow: > echo "test" > test.txt > zip test.zip test.txt > > file -b --mime-type test.zip # Returns: application/zip (correct) > cat test.zip | file -b --mime-type - # Returns: application/octet-stream (still broken!) I found the issue while using python3-magic and trying to find out why magic.from_buffer did not give the same result as magic.from_file. It seems a fix exists upstream. Regards, -- System Information: Debian Release: 13.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.12.48+deb13-amd64 (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages file depends on: ii libc6 2.41-12 ii libmagic1t64 1:5.46-5 file recommends no packages. file suggests no packages. -- no debconf information

