A webauthn server written in node.js
WebAuthn protocol documentation
FIDO Alliance FIDO2.0 documentation
A webauthn server library written in node.js
License: GNU General Public License v3.0
A webauthn server written in node.js
WebAuthn protocol documentation
FIDO Alliance FIDO2.0 documentation
Create response types to serve as parameters to result methods in Fido2 services. Should inherit from a parent ServerAuthenticatorResponse type, parent type can be empty.
Dictionary definitions per FIDO docs:
dictionary ServerAuthenticatorAttestationResponse : ServerAuthenticatorResponse {
required DOMString clientDataJSON;
required DOMString attestationObject;
};
dictionary ServerAuthenticatorAssertionResponse : ServerAuthenticatorResponse {
required DOMString clientDataJSON;
required DOMString authenticatorData;
required DOMString signature;
required DOMString userHandle;
};
"isBase64Encoded" function really should be renamed to "isBase64UrlEncoded" as it's specifically checking for that, would help to avoid confusion.
Instead of using requests of type "any", types should be created for attestation and assertion requests.
E.G. From Fido docs:
dictionary ServerPublicKeyCredentialCreationOptionsRequest {
required DOMString username;
required DOMString displayName;
AuthenticatorSelectionCriteria authenticatorSelection;
AttestationConveyancePreference attestation = "none";
};
dictionary ServerPublicKeyCredentialGetOptionsRequest {
required DOMString username;
UserVerificationRequirement userVerification = "preferred";
};
Remove duplicate algorithm identifier "-37": "SHA512", in COSE Algorithm switch. Should be only "-37": "SHA256".
File: Lib/Model/CoseAlgorithm.ts
In the assertion service, authenticator data needs to be decoded from base64url format before being CBOR decoded.
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.