PeculiarVentures / PKI.js

PKI.js is a pure JavaScript library implementing the formats that are used in PKI applications (signing, encryption, certificate requests, OCSP and TSP requests/responses). It is built on WebCrypto (Web Cryptography API) and requires no plug-ins.
http://pkijs.org
Other
1.25k stars 204 forks source link

Large CRL on live example causes browser to hang #290

Open themighty1 opened 3 years ago

themighty1 commented 3 years ago

I downloaded a CRL from http://crl3.digicert.com/ssca-sha2-g6.crl and tried to load it on the live example page https://pkijs.org/examples/X509_cert_complex_example.html into the "Load CRLs (binary):"

The CRL is 17MB in size. My browser tab became unresponsive for 1 minute. 1 core of CPU went to 100% percent and around 2,5 GB of memory was used up.

YuryStrozhevsky commented 3 years ago

@themighty1

We could try to enhance the example in a future but no estimates right now.