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

node-opcua / node-opcua-pki / 23983841256
91%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2026 05:26PM 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

04 Apr 2026 05:23PM UTC coverage: 90.52% (-0.07%) from 90.59%
23983841256

push

github

erossignon
Fix: Properly parse and propagate combined DER certificate chains

- Implemented `coerceCertificateChain` in `certificate_manager.ts` to seamlessly convert
  `Certificate | Certificate[]` into an unpacked `Certificate[]`, resolving instances where
  combined DER concatenated buffers were incorrectly processed as length-1 arrays.
- Applied `coerceCertificateChain` array evaluation systematically across library internals
  such as `findIssuerCertificateInChain`, `verifyCertificateAsync`, and `makeFingerprint`.
- Fixed a bug in `isCertificateRevoked` where looking up the issuer locally ignored the
  in-flight certificate chain array, incorrectly prompting `BadCertificateChainIncomplete`.
  It now natively checks the provided array sequentially.
- Expanded `test_combined_der_chain.ts` with explicit regression testing coverage,
  DRY helpers, and edge-cases including extraneous byte parsing, invalid inputs,
  and relaxed mode behavior.
- Refactored assertions in `test_verify_certificate_rejected_vs_first_seen.ts` to accurately
  assess broken chain verification.

311 of 433 branches covered (71.82%)

25 of 26 new or added lines in 1 file covered. (96.15%)

1 existing line in 1 file now uncovered.

1375 of 1519 relevant lines covered (90.52%)

193.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.84
-0.09% packages/node-opcua-pki/lib/pki/certificate_manager.ts

Coverage Regressions

Lines Coverage ∆ File
1
86.84
-0.09% packages/node-opcua-pki/lib/pki/certificate_manager.ts
Jobs
ID Job ID Ran Files Coverage
1 23983841256.1 04 Apr 2026 05:26PM UTC 21
90.52
GitHub Action Run
Source Files on build 23983841256
  • Tree
  • List 21
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23983841256
  • ccc4ed91 on github
  • Prev Build on master (#23975070883)
  • Next Build on master (#23983931029)
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