Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Thunderbird extension webcrypto

  • Akukho zimpendulo
  • 0 zinale nkinga
  • 24 views
more options

Hi,

I am creating a thunderbird extension for cryptography. My JavaScript code contains libraries such as tweetnacl, crystals-kyber and crypto-browserify. I bundled my code using browserify in hopes of getting it working within thunderbird. My code is working when run within VScode using node.js.

I encounter the error that 'webcrypto' is undefined. I assume this means that thunderbird cannot support webcrypto, which I think crypto-browserify is reliant on.

Is there any way to get webcrypto and therefore crypto-browserify working within thunderbird? Or alternatively are there any alternative thunderbird-compatible libraries that can perform the same functions? This would need to include Key Derivation Functions for example.

Thanks

Hi, I am creating a thunderbird extension for cryptography. My JavaScript code contains libraries such as tweetnacl, crystals-kyber and crypto-browserify. I bundled my code using browserify in hopes of getting it working within thunderbird. My code is working when run within VScode using node.js. I encounter the error that 'webcrypto' is undefined. I assume this means that thunderbird cannot support webcrypto, which I think crypto-browserify is reliant on. Is there any way to get webcrypto and therefore crypto-browserify working within thunderbird? Or alternatively are there any alternative thunderbird-compatible libraries that can perform the same functions? This would need to include Key Derivation Functions for example. Thanks

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.