Repository navigation
v1.2.0 — Signed server responses
Install this security release now
npm registry publication of 1.2.0 is pending. A plain npm install pwfauth may still
install the older release. Install the official GitHub package and keep the generated lockfile:
npm install https://github.com/pwfauth/pwfauth-node/releases/download/v1.2.0/pwfauth-1.2.0.tgzPackage SHA-256: 67c2500e1c2f06e198a72613f48b6229e9450b287d6f324efe6ceffb35574418.
Authenticate every server response using a pinned RSA-SHA256 signing key and a fresh request nonce. Reject forged/replayed/unsigned replies before parsing, even if the application secret is known. Fix the default origin to production HTTPS and disable redirects in the default transport.
Upgrade compatibility: normal production login/heartbeat/logout APIs remain available; existing app IDs, licenses and users are unchanged. Alternate origins and unsigned mock servers are intentionally no longer supported. Review custom transports and security exception handling. Version-pinned existing applications remain unchanged; rebuild applications to adopt the protection.
Python/Node/.NET validation: 217 automated checks across the three SDKs, plus live production HTTPS tests using disposable synthetic licenses. No claim of protection against local executable patching.
Migration guide: https://github.com/pwfauth/pwfauth-node/blob/main/MIGRATION.md
Source and locally tested distribution packages are attached with SHA-256 checksums. Package-registry availability is tracked separately; the attached package can be installed directly.