Thunderbird extension webcrypto
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