Issue With EXE Signing
I am building an exe with npm commands and while trying to sign, I get the error:
[2025-05-05T06:23:34Z] - INFO | java.io.IOException: Invalid certificate table size: 0
[2025-05-05T06:23:34Z] - INFO | at net.jsign.pe.CertificateTableEntry.
The commands used to build exe:
"package:exe": "pnpm run prepackage && pnpm run build:exe && pnpm run inject:blob:exe",
"package:bin": "pnpm run prepackage && pnpm run build:bin && pnpm run inject:blob:bin",
"build:blob": "node --experimental-sea-config sea-config.json",
"build:exe": "node -e \"require('fs').copyFileSync(process.execPath, 'dist/server.node.exe')\"",
"build:bin": "cp $(command -v node) dist/server.node.bin",
"inject:blob:exe": "pnpm dlx postject dist/server.node.exe NODE_SEA_BLOB dist/server.node.blob --sentinel-fuse NODE_SEA_FUSE_fce68xxxxxxxx2",
"inject:blob:bin": "pnpm dlx postject dist/server.node.bin NODE_SEA_BLOB dist/server.node.blob --sentinel-fuse NODE_SEA_FUSE_fce6xxxxxxxxxxx8"