We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider this code:
const decryptedJWE = await jose.JWE.createDecrypt(keystore) .decrypt(encrypted_data) const jwtPayload = decryptedJWE.payload.toString() const jwsPayload = await jose.JWS.createVerify(keystore) .verify(jwtPayload, { allowEmbeddedKey: true }) const stringifiedWebhook = jwsPayload.payload.toString() const webhookResult = JSON.parse(stringifiedWebhook)
I had a lambda function using the libray 2.0.0 version. And when I execute this code, the time to finish it process was 12 seconds.
Then, when I downgrade the library version to 1.1.3, the time to process it take 5 seconds or less.
Lambda configuration: Node version: 14 Memory Size: 128 MB
Tip: upgrading the memory to 1024MB decrypt the content 10 times faster.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider this code:
I had a lambda function using the libray 2.0.0 version. And when I execute this code, the time to finish it process was 12 seconds.
Then, when I downgrade the library version to 1.1.3, the time to process it take 5 seconds or less.
Lambda configuration:
Node version: 14
Memory Size: 128 MB
Tip: upgrading the memory to 1024MB decrypt the content 10 times faster.
The text was updated successfully, but these errors were encountered: