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

node-opcua / node-opcua-pki / 32149777214
91%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2026 02:42PM 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 02:40PM UTC coverage: 91.364% (+0.3%) from 91.032%
32149777214

push

github

erossignon
feat(security): passphrase-protected private key for CertificateAuthority

CertificateAuthority gains privateKeyPassphrase (string or async fn),
getPrivateKey() and reencryptPrivateKey(), mirroring CertificateManager:
a fresh cakey.pem is written encrypted, an existing plaintext key is
encrypted in place on initialize()/initializeCSR(), and a missing or
wrong passphrase fails initialize() closed. Every openssl call that
loads the CA key (CSR, self-sign, subordinate and end-entity signing,
revoke, gencrl via the config's private_key) gets -passin env:; a
subordinate CA uses its issuer's passphrase for the issuer's -CAkey.
privateKeyProvider stays CertificateManager-only: the CA's signing paths
are openssl reading a key file, so a provider needs a native CA backend.
The POSIX permission-repair test seeds a real key (init now reads it).

543 of 719 branches covered (75.52%)

40 of 41 new or added lines in 1 file covered. (97.56%)

1587 of 1737 relevant lines covered (91.36%)

296.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.44
1.08% packages/node-opcua-pki/lib/ca/certificate_authority.ts
Jobs
ID Job ID Ran Files Coverage
1 32149777214.1 18 Aug 2026 02:42PM UTC 21
91.36
GitHub Action Run
Source Files on build 32149777214
  • Tree
  • List 21
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32149777214
  • fe09dfdc on github
  • Prev Build on master (#32146778994)
  • Next Build on master (#32230305679)
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