Try set pure javascript for node-forge

This commit is contained in:
Sander Declerck 2025-11-28 15:32:52 +01:00
parent 8ab4d2955a
commit 20420f865e
No known key found for this signature in database
3 changed files with 16 additions and 7 deletions

View file

@ -4,9 +4,6 @@ import fs from "fs";
import os from "os";
import { ui } from "../environment/userInteraction.js";
// @ts-ignore
forge.options.usePureJavaScript = true;
const certFolder = path.join(os.homedir(), ".safe-chain", "certs");
const ca = loadCa();