Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wyudong opened this issue Feb 25, 2020 · 1 comment
Open

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

wyudong opened this issue Feb 25, 2020 · 1 comment
Labels
Milestone

Comments

@wyudong
Copy link

wyudong commented Feb 25, 2020

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
Copy link
Owner

Good question!

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

@thom4parisot thom4parisot added this to the v5.1 milestone Aug 24, 2021
@wyudong wyudong changed the title Why are the hash of crx files are different using the same private key Why are the hash of crx files different using the same private key Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants