You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/firmware/u2f_knownapps.h

73 lines
2.2 KiB

/*
* This file is part of the TREZOR project.
*
* Copyright (C) 2016 Jochen Hoenicke <hoenicke@gmail.com>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __U2F_KNOWNAPPS_H_INCLUDED__
#define __U2F_KNOWNAPPS_H_INCLUDED__
#include <stdint.h>
#include "u2f/u2f.h"
#include "bitmaps.h"
typedef struct {
const uint8_t appid[U2F_APPID_SIZE];
const char *appname;
const BITMAP *appicon;
} U2FWellKnown;
static const U2FWellKnown u2f_well_known[4] = {
{
// https://www.gstatic.com/securitykey/origins.json
{ 0xa5,0x46,0x72,0xb2,0x22,0xc4,0xcf,0x95,
0xe1,0x51,0xed,0x8d,0x4d,0x3c,0x76,0x7a,
0x6c,0xc3,0x49,0x43,0x59,0x43,0x79,0x4e,
0x88,0x4f,0x3d,0x02,0x3a,0x82,0x29,0xfd },
"Google",
&bmp_u2f_google
},
{
// https://github.com/u2f/trusted_facets
{ 0x70,0x61,0x7d,0xfe,0xd0,0x65,0x86,0x3a,
0xf4,0x7c,0x15,0x55,0x6c,0x91,0x79,0x88,
0x80,0x82,0x8c,0xc4,0x07,0xfd,0xf7,0x0a,
0xe8,0x50,0x11,0x56,0x94,0x65,0xa0,0x75 },
"Github",
&bmp_u2f_github
},
{
// https://www.dropbox.com/u2f-app-id.json
{ 0xc5,0x0f,0x8a,0x7b,0x70,0x8e,0x92,0xf8,
0x2e,0x7a,0x50,0xe2,0xbd,0xc5,0x5d,0x8f,
0xd9,0x1a,0x22,0xfe,0x6b,0x29,0xc0,0xcd,
0xf7,0x80,0x55,0x30,0x84,0x2a,0xf5,0x81 },
"Dropbox",
&bmp_u2f_dropbox
},
{
// https://slushpool.com/static/security/u2f.json
{ 0x08,0xb2,0xa3,0xd4,0x19,0x39,0xaa,0x31,
0x66,0x84,0x93,0xcb,0x36,0xcd,0xcc,0x4f,
0x16,0xc4,0xd9,0xb4,0xc8,0x23,0x8b,0x73,
0xc2,0xf6,0x72,0xc0,0x33,0x00,0x71,0x97 },
"Slush Pool",
&bmp_u2f_slushpool
}
};
#endif // U2F_KNOWNAPPS_INCLUDED