1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixed FIDO2, added alt RDP port, fixed device tag collapse.

This commit is contained in:
Ylian Saint-Hilaire 2020-01-27 14:03:36 -08:00
parent b1c391a37c
commit 1f658fb393
5 changed files with 41 additions and 20 deletions

View file

@ -35,7 +35,7 @@ module.exports.CreateWebAuthnModule = function () {
const response = { 'verified': false };
if (ctapMakeCredResp.fmt === 'none') {
if ((ctapMakeCredResp.fmt === 'none') || (ctapMakeCredResp.fmt === 'fido-u2f')) {
if (!(authrDataStruct.flags & 0x01)) { throw new Error('User was NOT presented during authentication!'); } // U2F_USER_PRESENTED
const publicKey = COSEECDHAtoPKCS(authrDataStruct.COSEPublicKey);