Firefox extension has the same large .wasm file twice

The Firefox extension for 1Password is pretty huge compared to others - about 14 megabytes. If you extract its contents, you can see that there are two identical large files:

  • 69523d6e98936e6858d8.wasm
  • core.wasm

They are both 8 607 652 bytes in size and have the same hashes in the META-INF/manifest.mf file:

Name: 69523d6e98936e6858d8.wasm
Digest-Algorithms: SHA1 SHA256
SHA1-Digest: t7nJKLvAywAAKvzPCiqKf3RtxzQ=
SHA256-Digest: YpExbqkcMfEKx3tu+rmiyPGv/a0Dom0JjJ1WazsNKK0=

Name: core.wasm
Digest-Algorithms: SHA1 SHA256
SHA1-Digest: t7nJKLvAywAAKvzPCiqKf3RtxzQ=
SHA256-Digest: YpExbqkcMfEKx3tu+rmiyPGv/a0Dom0JjJ1WazsNKK0=

Is there a technical reason why this file has to be there twice? Both files are only referred to once.

  • core.wasm in background/background.js
  • 69523d6e98936e6858d8.wasm in 1.js

1Password Version: Not Provided
Extension Version: 2.2.2
OS Version: Not Provided

Comments

  • Jack.P_1PJack.P_1P

    Team Member

    Hey @0x00:

    Thanks for letting us know about this. The short version is this definitely wasn't intentional, and I've let the team know so we can address it in a future update.

    Jack

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file