GNU bug report logs - #52477
27.1; .crx and .crx3 are zip files

Previous Next

Package: emacs;

Reported by: "Trent W. Buck" <trentbuck <at> gmail.com>

Date: Tue, 14 Dec 2021 04:58:02 UTC

Severity: wishlist

Found in version 27.1

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: trentbuck <at> gmail.com, 52477 <at> debbugs.gnu.org, stefan <at> marxist.se
Subject: bug#52477: 27.1; .crx and .crx3 are zip files
Date: Thu, 16 Dec 2021 12:59:01 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

Hi Eli,

>> > The first couple of bytes of that files is "Cr24", while a normal zip
>> > file starts with "PK".
>>
>> Yes, and that's why libarchive(3) doesn't handle it. Sadly, I cannot add
>> it to tramp-archive.el, therefore.
>>
>> But there's no reason to prevent it from adding to arc-mode.el and/or
>> dired-aux.el.
>
> If the file doesn't follow the PKZip spec in the initial signature,
> who knows what else in that spec doesn't it follow?  The ZIP spec has
> a lot of special rules and formatting requirements, so if a file
> doesn't follow them, how can we support it without knowing its exact
> format specification?

".crx" files are Chrome Extensions, as shown by Stefan. They are
specified, see for example <https://developer.chrome.com/docs/extensions/reference/>.

Personally, I have no strong opinion whether we shall support them.

Best regards, Michael.




This bug report was last modified 3 years and 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.