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

node-opcua / node-opcua-pki / 32142601200
91%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2026 01:30PM UTC
Jobs 1
Files 21
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

18 Aug 2026 01:28PM UTC coverage: 91.072% (+0.7%) from 90.386%
32142601200

push

github

erossignon
feat(security): private-key hardening for CertificateManager and openssl calls

- own/private and private/ created and repaired as 0700, key files 0600
  (POSIX; documented no-op on Windows)
- opt-in privateKeyPassphrase (string or async fn) and privateKeyProvider
  on CertificateManager; getPrivateKey() (cached, fails closed with
  PrivateKeyPassphraseRequiredError) and reencryptPrivateKey() (locked,
  atomic); an existing plaintext key is encrypted in place on initialize
- PFX passphrases reach openssl via -passin/-passout env:, never the shell
  string or debug log; -passin always sent so an encrypted key fails fast
- openssl child: curated env allowlist shared with discovery, /dev/null
  stdin (macOS tcgetattr on a socket broke -passin key loads)
- failed initialize() is retryable; docs/private-key-protection.md holds
  the threat model; node-opcua-crypto pinned to 5.6.0
- CertificateAuthority passphrase and shell-free execFile: separate PRs

535 of 710 branches covered (75.35%)

154 of 157 new or added lines in 11 files covered. (98.09%)

1 existing line in 1 file now uncovered.

1571 of 1725 relevant lines covered (91.07%)

281.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
90.91
-4.33% packages/node-opcua-pki/lib/toolbox/common2.ts
1
92.22
7.61% packages/node-opcua-pki/lib/toolbox/with_openssl/execute_openssl.ts

Coverage Regressions

Lines Coverage ∆ File
1
88.44
0.59% packages/node-opcua-pki/lib/pki/certificate_manager.ts
Jobs
ID Job ID Ran Files Coverage
1 32142601200.1 18 Aug 2026 01:30PM UTC 21
91.07
GitHub Action Run
Source Files on build 32142601200
  • Tree
  • List 21
  • Changed 11
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32142601200
  • c69febdf on github
  • Prev Build on master (#31934826582)
  • Next Build on master (#32146778994)
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