Skip to content

Unpredictable checksum #3613

@kylekatarnls

Description

@kylekatarnls

Hello,

Here is the command I run:

npm exec web-ext -- build --overwrite-dest --source-dir=distribution -a . -n package.zip
md5sum package.zip

Everytime I run this command (without changing anything in distribution), the checksum (a priori containing some file modification timestamps) will be different.

However paradoxically, extension stores, like the Firefox store, will ask developers to provide steps to build the extension package and require it to produce the exact same checksum as the ZIP that you submitted.

How can I build a ZIP for my extension that would always produce the exact same ZIP?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions