Node Crypto X509Certificate implementation / polyfill / library for Cloudflare Workers?
I'm working with the Apple App Store Server API and verifying their JWS payloads requires support for parsing and verifying an X509Certificate. This is built into the node js crypto library but is not in the polyfills for cloudflare workers or in WebCrypto. Anyone know of an alternative library/polyfill for this? I can't seem to find one.
2 Replies
Hey Skye 👋 I have, unfortunately X509Certificate isn’t one of the polyfilled classes from the node crypto library.
I’ve looked into other libraries which could replace the need for it but they require other crypto methods which are also missing
Cool, added here: https://github.com/cloudflare/workerd/issues/1304
GitHub
🐛 Bug Report — Runtime APIs: Node Crypto X509Certificate Support · ...
I'm currently using Cloudflare Workers with the Apple App Store Server API. This api uses JWS with X509 verification. In order to parse and verify responses from the server we need to be able t...