2.1.6 • Published 3 years ago
@vincss-public-projects/fido2-client v2.1.6
FIDO2 CLIENT - NODE.JS
- FIDO2 is comprised of the W3C's Web Authentication specification (WebAuthn) and FIDO Alliance's corresponding Client-to-Authenticator Protocol (CTAP). FIDO2 supports passwordless, second-factor, and multi-factor user experiences with embedded (or bound) authenticators (such as biometric or PIN) or external/roaming authenticators (such as FIDO Security keys, mobile devices, wearables, etc...).
- Currently, PIN protocols are only supported on Windows and Chrome on macOS. Therefore, we have created a PIN protocol support library that uses Node.js to communicate directly with the security key.
- With this library, we have made it possible for users to use OpenVPN with a security key.
Summary
The FIDO2 client library lets you access FIDO2 devices over BLE, USB, and NFC transports.
Implementation
- USB transport
- BLE transport
- NFC transport
- Client PIN
- Default modal
Installation
npm
npm install @vincss-public-projects/fido2-client
For more installation details, see installation.
Documents
Troubleshooting
Crash on Windows when plug/unplug Smart Card Reader
This is a known bug, it occurs in usb dependency (https://github.com/tessel/node-usb/issues/386), we can temporarily patch it by following below script
npm install --save-dev patch-package
npx patch-package --patch-dir node_modules/@vincss-public-projects/fido2-client/patches
Then you need to rebuild your project
# Node backend
npm rebuild
...
# Electron backend
npx electron-rebuild
Cannot find module 'noble-winrt' on Windows
Make sure you use the default Windows command line, 3rd party command line can make npm
's behavior incorrect.
License
End of support v1.x.x
2.1.6
3 years ago
2.1.5
3 years ago
2.1.4
3 years ago
2.1.3
3 years ago
2.1.2
3 years ago
2.1.1
3 years ago
2.1.0
3 years ago
2.0.7
3 years ago
2.0.8
3 years ago
2.0.5
3 years ago
2.0.6
3 years ago
2.0.2
3 years ago
2.0.4
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.3
4 years ago
1.0.0
4 years ago