pee cee beez
CDCloudflare Developers
•Created by pee cee beez on 8/11/2023 in #workers-help
SubtleCrypto providing invalid CryptoKey
I'm trying to import a public key using
importKey
, but it just returns an empty CryptoKey, meanwhile in NodeJS it'll import just fine.
Code:
On the worker runtime it returns
In NodeJS it returns
6 replies
CDCloudflare Developers
•Created by pee cee beez on 8/10/2023 in #workers-help
Using X509Certificate
Is there any way to parse and verify certificates in workers? It seems like it's unsupported in
node_compat
, but my only other solution is to host a NodeJS server, only for parsing certificate signed JWT tokens.8 replies