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

node-opcua / node-opcua / 28798221203
92%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2026 02:55PM UTC
Jobs 1
Files 1255
Run time 3min
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

06 Jul 2026 02:15PM UTC coverage: 92.151% (+0.02%) from 92.132%
28798221203

push

github

erossignon
fix(server): store non-secret identity key and fail closed on unsupported token

Address review of sessionsCompatibleForTransfer:

1. Never throw. When the source/destination identity token is missing on one side
   only, or is a type we don't explicitly handle (e.g. IssuedIdentityToken), the
   function previously fell through to `throw new Error("Unsupported Identity
   token")`, which could turn a client TransferSubscriptions request into an
   unhandled server error. It now fails closed (returns false) in those cases.

2. Don't retain secrets. The retained identity snapshot (ITransferSessionIdentity,
   kept on orphaned subscriptions after the owning session is gone) previously held
   the raw UserIdentityToken, which for UserNameIdentityToken / IssuedIdentityToken
   carries sensitive bytes (Password / TokenData). It now stores only a minimal,
   non-secret key: identity kind, userName, and the X509 certificate SHA1 thumbprint.

Adds SCT-18 (asymmetric missing token -> refused, no throw) and SCT-19 (unsupported
token -> refused, no throw); SCT-11 now asserts the password is not retained.

19809 of 23091 branches covered (85.79%)

81 of 81 new or added lines in 1 file covered. (100.0%)

528 existing lines in 6 files now uncovered.

168764 of 183139 relevant lines covered (92.15%)

442963.3 hits per line

Coverage Regressions

Lines Coverage ∆ File
235
90.61
0.04% packages/node-opcua-server/source/opcua_server.ts
120
91.53
-0.12% packages/node-opcua-server/source/server_subscription.ts
95
90.76
0.24% packages/node-opcua-server/source/server_engine.ts
57
86.43
-0.22% packages/node-opcua-client/source/private/reconnection/reconnection.ts
15
94.03
-0.05% packages/node-opcua-types/source/_generated_opcua_types.ts
6
82.85
-0.29% packages/node-opcua-secure-channel/source/client/client_secure_channel_layer.ts
Jobs
ID Job ID Ran Files Coverage
1 28798221203.1 06 Jul 2026 02:55PM UTC 1255
92.15
GitHub Action Run
Source Files on build 28798221203
  • Tree
  • List 1255
  • Changed 11
  • Source Changed 7
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28798221203
  • 1d6ce742 on github
  • Prev Build on master (#28734850276)
  • Next Build on master (#28810583191)
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