vincss-public-projects / fido2client Goto Github PK
View Code? Open in Web Editor NEWFIDO2 client for Node.js, support PIN protocol.
License: MIT License
FIDO2 client for Node.js, support PIN protocol.
License: MIT License
I want to use this CTAP client for my webpage. Can you point me towards a very basic example that just uses this CTAp client in the browser on a webpage?
Every events were listed here are unique that meant there are no new events will be created in runtime. So, Symbol
is perfect fit, It prevent string to be emitted.
A couple of minutes after connecting i receive an error with out of bounds read. This happens at different locations depending on what im connecting to but is always and out of bounds error.
[5/11/2022, 9:18:38 AM] [Object.onDeviceAttached /Users/slyotis/Projects/FIDO2Client/test-console.ts:14:20] [LOG] new device attached {
transport: 'ble',
uuid: 'c68c5e2023b20e91dcc34234fehfcf5b',
batteryLevel: 100,
manufacturer: '**********',
maxPacketLength: 512,
name: '**********'
}
[5/11/2022, 9:18:38 AM] [UsbService.stop /Users/slyotis/Projects/FIDO2Client/src/transports/usb/service.ts:109:16] [LOG] stop usb service
[5/11/2022, 9:18:38 AM] [NfcService.stop /Users/slyotis/Projects/FIDO2Client/src/transports/nfc/service.ts:330:16] [LOG] stop nfc service
[5/11/2022, 9:18:38 AM] [BleService.stop /Users/slyotis/Projects/FIDO2Client/src/transports/ble/service.ts:249:16] [LOG] stop ble service
[5/11/2022, 9:18:38 AM] [BleFido2DeviceCli.cbor /Users/slyotis/Projects/FIDO2Client/src/fido2/ble-fido2-device-cli.ts:178:16] [LOG] 4
RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
at __node_internal_captureLargerStackTrace (node:internal/errors:465:5)
at new NodeError (node:internal/errors:372:5)
at boundsError (node:internal/buffer:84:11)
at Buffer.readUInt16BE (node:internal/buffer:332:5)
at CtapBleInitFragment.deserialize (/Users/slyotis/Projects/FIDO2Client/src/transports/ble/ble.ts:39:31)
at Ble.recv (/Users/slyotis/Projects/FIDO2Client/src/transports/ble/ble.ts:154:22)
at BleFido2DeviceCli.cbor (/Users/slyotis/Projects/FIDO2Client/src/fido2/ble-fido2-device-cli.ts:204:24)
at Ctap2Cli.info (/Users/slyotis/Projects/FIDO2Client/src/ctap2/ctap2.ts:101:19)
at Object.next (/Users/slyotis/Projects/FIDO2Client/src/client/client.ts:430:28) {
code: 'ERR_BUFFER_OUT_OF_BOUNDS'
}
ELIFECYCLE Command failed with exit code 1.
ELIFECYCLE Command failed with exit code 1.
slyotis@Martins-MacBook-Pro FIDO2Client %
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.