• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

node-opcua / node-opcua-pki / 32595205916
91%

Build:
DEFAULT BRANCH: master
Ran 22 Aug 2026 07:58PM UTC
Jobs 1
Files 25
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Aug 2026 07:56PM UTC coverage: 91.203% (-0.2%) from 91.379%
32595205916

push

github

erossignon
feat(ca): openssl-free CertificateAuthority, HSM/KMS-held keys, native PKCS#12

Signing, revocation, CRLs and PKCS#12 all move behind a CaBackend seam
with a pure-JS implementation, so a CA can be built and operated with no
openssl executable present. The on-disk layout is unchanged, so a
directory still moves between backends and external openssl tooling
keeps working.

A CaSigner keeps the CA key in an HSM or KMS: a signer-backed CA writes
no private/cakey.pem at all, and ECDSA keys work as of crypto 5.9.0.
CertificateAuthority itself is untouched in behaviour, being a thin
subclass over the injected core, and node-opcua-pki/core ships that core
without the openssl machinery (CJS 60% smaller).

Running the CA suites over all four backends is what found the rest:
keyCertSign on every natively issued certificate, EC certificates
reported as malformed, a sub-CA taking the issuer's SAN, and a lock
whose uncapped backoff turned 8 queued signings into 127 seconds.

656 of 878 branches covered (74.72%)

745 of 788 new or added lines in 12 files covered. (94.54%)

11 existing lines in 3 files now uncovered.

1835 of 2012 relevant lines covered (91.2%)

301.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
94.13
packages/node-opcua-pki/lib/ca/core/certificate_authority_core.ts
9
91.43
packages/node-opcua-pki/lib/ca/core/ca_database.ts
5
92.65
-7.35% packages/node-opcua-pki/lib/pki/toolbox_pfx.ts
3
97.32
packages/node-opcua-pki/lib/ca/backends/native_ca_backend.ts
3
66.67
-27.78% packages/node-opcua-pki/lib/ca/certificate_authority.ts
1
98.94
packages/node-opcua-pki/lib/ca/backends/openssl_ca_backend.ts

Coverage Regressions

Lines Coverage ∆ File
6
85.87
-6.52% packages/node-opcua-pki/lib/toolbox/with_openssl/execute_openssl.ts
3
66.67
-27.78% packages/node-opcua-pki/lib/ca/certificate_authority.ts
2
94.74
-5.26% packages/node-opcua-pki/lib/toolbox/with_openssl/_env.ts
Jobs
ID Job ID Ran Files Coverage
1 32595205916.1 22 Aug 2026 07:58PM UTC 25
91.2
GitHub Action Run
Source Files on build 32595205916
  • Tree
  • List 25
  • Changed 9
  • Source Changed 9
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32595205916
  • 4036cec6 on github
  • Prev Build on master (#32575400216)
  • Next Build on master (#32595387399)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc