From 727b7f8cd32fff05438767536a3eda0b2443ec74 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 28 Oct 2019 21:26:14 +0100 Subject: [PATCH] core/webauthn: add u2f/ctap2 metadata --- .../apps/webauthn/metadata/trezor-ctap2.json | 41 +++++++++++++++++++ .../apps/webauthn/metadata/trezor-u2f.json | 37 +++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 core/src/apps/webauthn/metadata/trezor-ctap2.json create mode 100644 core/src/apps/webauthn/metadata/trezor-u2f.json diff --git a/core/src/apps/webauthn/metadata/trezor-ctap2.json b/core/src/apps/webauthn/metadata/trezor-ctap2.json new file mode 100644 index 0000000000..f88bf58aba --- /dev/null +++ b/core/src/apps/webauthn/metadata/trezor-ctap2.json @@ -0,0 +1,41 @@ +{ + "description": "Trezor FIDO2 CTAP2 Authenticator", + "aaguid": "d6d0bdc3-62ee-c4db-de8d-7a656e4a4487", + "alternativeDescriptions": { + }, + "protocolFamily": "fido2", + "authenticatorVersion": 2, + "upv": [ + { + "major": 1, + "minor": 0 + } + ], + "assertionScheme": "FIDOV2", + "authenticationAlgorithm": 1, + "publicKeyAlgAndEncoding": 260, + "attestationTypes": [ + 15879, + 15880 + ], + "userVerificationDetails": [ + [ + { + "userVerification": 1 + }, + { + "userVerification": 4 + } + ] + ], + "keyProtection": 2, + "matcherProtection": 4, + "cryptoStrength": 128, + "attachmentHint": 6, + "isSecondFactorOnly": false, + "tcDisplay": 9, + "attestationRootCertificates": [ + "MIIBGDCBwAIJALHZj0JkctMsMAoGCCqGSM49BAMCMBUxEzARBgNVBAMMClRyZXpvciBVMkYwHhcNMTYwNDI5MTMzMTUzWhcNMjYwNDI3MTMzMTUzWjAVMRMwEQYDVQQDDApUcmV6b3IgVTJGMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2Ri9+opUrJLpDakfynqiZFTA0XM2MU3eg6VLhrXfTvBSZZodb/y3Rn8azduKMwgLXu2RiRP0Q6UmG8d7aGBvw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9i5UkIzKWkjKlFope1ARcvVZII5iWWz3u5Sy7/0UsuvaotixrL/l/HPccuywOyX76Hp0EsexkfsCGMMMIII4wwwggjjDDCCCOMMMIII4wwwggj/J+C/wGc1+I/GW8oSQAAAABJRU5ErkJggg==" +} diff --git a/core/src/apps/webauthn/metadata/trezor-u2f.json b/core/src/apps/webauthn/metadata/trezor-u2f.json new file mode 100644 index 0000000000..92b602529f --- /dev/null +++ b/core/src/apps/webauthn/metadata/trezor-u2f.json @@ -0,0 +1,37 @@ +{ + "description": "Trezor U2F Authenticator", + "attestationCertificateKeyIdentifiers": ["9753a7961530e57f982254fc597ef62fe6cb1294"], + "alternativeDescriptions": { + }, + "protocolFamily": "u2f", + "authenticatorVersion": 2, + "upv": [ + { + "major": 1, + "minor": 2 + } + ], + "assertionScheme": "U2FV1BIN", + "authenticationAlgorithm": 1, + "publicKeyAlgAndEncoding": 256, + "attestationTypes": [ + 15879 + ], + "userVerificationDetails": [ + [ + { + "userVerification": 1 + } + ] + ], + "keyProtection": 2, + "matcherProtection": 4, + "cryptoStrength": 128, + "attachmentHint": 6, + "isSecondFactorOnly": true, + "tcDisplay": 9, + "attestationRootCertificates": [ + "MIIBGDCBwAIJALHZj0JkctMsMAoGCCqGSM49BAMCMBUxEzARBgNVBAMMClRyZXpvciBVMkYwHhcNMTYwNDI5MTMzMTUzWhcNMjYwNDI3MTMzMTUzWjAVMRMwEQYDVQQDDApUcmV6b3IgVTJGMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2Ri9+opUrJLpDakfynqiZFTA0XM2MU3eg6VLhrXfTvBSZZodb/y3Rn8azduKMwgLXu2RiRP0Q6UmG8d7aGBvwTAKBggqhkjOPQQDAgNHADBEAiAkHoH/0uXmFTaUw1Uuj+vXHok1khy0g0FDcRx26u7zlQIgX4DrEPJczDmLPKipraQCf5MTIHe3q853Rlon9T0zoR0=" + ], + "icon": "iVBORw0KGgoAAAANSUhEUgAAAPAAAADwBAMAAADMe/ShAAAAM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