thom4parisot / crx

A node.js command line app for packing Google Chrome extensions.
https://npmjs.com/crx
MIT License
517 stars 70 forks source link

Why are the hash of crx files different using the same private key #121

Open wyudong opened 4 years ago

wyudong commented 4 years ago

I'm packing a directory using the same private key twice, but two output files have the different hash. However, packing crx in Chrome will generate two identical crx. No matter which packing methods I choose, those crx are all working as expected but I'd like to know the reason for the different hash.

crx pack src -p key.pem -o src1.crx
crx pack src -p key.pem -o src2.crx
md5sum src1.crx src2.crx

Cheers

thom4parisot commented 3 years ago

Good question!

I suspect a time based metadata changes somewhere but I can be wrong.