RSA_PKCS1_PADDING is no longer supported for private decryption
Summary
I am using the native Node crypto module to decrypt data using the
pkcs1 padding scheme in a next.js serverless function. I am getting this error on production deployments. (It is working on local dev environment) The error message says this can be "reverted" but where do i actually pass that argument in a production deployment?Solution
UPDATE: Found a workaround by using NodeRSA and setting the environment to browser (It will use the node crypto library with the CVE by default)
