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

node-opcua / node-opcua-pki / 23548041496
92%

Build:
DEFAULT BRANCH: master
Ran 25 Mar 2026 03:06PM 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

25 Mar 2026 03:02PM UTC coverage: 92.098% (-0.3%) from 92.349%
23548041496

push

github

erossignon
feat(ca): issuer chain support and code cleanup

- signCACertificateRequest now auto-appends signing
  CA's cert chain via constructCertificateChain,
  producing a complete chain file per OPC UA Part 6
  §6.2.6 with zero user effort
- installCACertificate splits multi-cert PEM files:
  first cert → cacert.pem, remaining issuers →
  public/issuer_chain.pem (new file)
- constructCertificateChain appends issuer_chain.pem
  if present, producing full chains: [endEntity,
  intermediateCA, rootCA]
- Added issuerCertificateChain getter for the new
  public/issuer_chain.pem path

Refactoring:
- DRY: installCACertificate reads file once, splits
  PEM blocks, then verifies key (was reading twice)
- Use this.caCertificate getter instead of recomputing
  path.join(caRootDir, "public/cacert.pem")
- Added comment explaining processAltNames({} as
  Params) side-effect in _generateCSR

Tests updated (T8c, T8d, T8j) to verify 3-element
chains (end-entity + intermediate + root CA).

287 of 401 branches covered (71.57%)

20 of 23 new or added lines in 1 file covered. (86.96%)

25 existing lines in 1 file now uncovered.

1317 of 1430 relevant lines covered (92.1%)

241.47 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
93.12
-1.6% packages/node-opcua-pki/lib/ca/certificate_authority.ts

Uncovered Existing Lines

Lines Coverage ∆ File
25
93.12
-1.6% packages/node-opcua-pki/lib/ca/certificate_authority.ts
Jobs
ID Job ID Ran Files Coverage
1 23548041496.1 25 Mar 2026 03:06PM UTC 21
92.1
GitHub Action Run
Source Files on build 23548041496
  • Tree
  • List 21
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23548041496
  • 587b1bac on github
  • Prev Build on master (#23543726967)
  • Next Build on master (#23548519819)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc