anvilresearch/webcrypto

Openssl

adminq80 opened this issue · 2 comments

I am working on a project that relies on this library and I ran into issues while building up Docker container for that project because webcrypto was returning NULL for the keys generated. After investigating the bug, I found that this library relied on openssl but the command line tool. I was using Node:alpine container and didn't come with openssl by default.

I would like to propose to add openssl command checker or printing that openssl is not found from the code itself instead returning NULL objects.

Good catch. Thank you.

I just submitted a PR with a quick fix to this problem

Please review and let me know what you think.