1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-28 09:08:07 +00:00
trezor-firmware/firmware/u2f_knownapps.h
2016-11-15 18:51:29 +01:00

109 lines
3.4 KiB
C

/*
* 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[] = {
{
// 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
},
{
// https://bitbucket.org
{ 0x12, 0x74, 0x3b, 0x92, 0x12, 0x97, 0xb7, 0x7f,
0x11, 0x35, 0xe4, 0x1f, 0xde, 0xdd, 0x4a, 0x84,
0x6a, 0xfe, 0x82, 0xe1, 0xf3, 0x69, 0x32, 0xa9,
0x91, 0x2f, 0x3b, 0x0d, 0x8d, 0xfb, 0x7d, 0x0e },
"Bitbucket",
&bmp_u2f_bitbucket
},
{
// https://gitlab.com
{ 0xe7, 0xbe, 0x96, 0xa5, 0x1b, 0xd0, 0x19, 0x2a,
0x72, 0x84, 0x0d, 0x2e, 0x59, 0x09, 0xf7, 0x2b,
0xa8, 0x2a, 0x2f, 0xe9, 0x3f, 0xaa, 0x62, 0x4f,
0x03, 0x39, 0x6b, 0x30, 0xe4, 0x94, 0xc8, 0x04 },
"GitLab",
&bmp_u2f_gitlab
},
{
// https://www.fastmail.com
{ 0x69, 0x66, 0xab, 0xe3, 0x67, 0x4e, 0xa2, 0xf5,
0x30, 0x79, 0xeb, 0x71, 0x01, 0x97, 0x84, 0x8c,
0x9b, 0xe6, 0xf3, 0x63, 0x99, 0x2f, 0xd0, 0x29,
0xe9, 0x89, 0x84, 0x47, 0xcb, 0x9f, 0x00, 0x84 },
"FastMail",
&bmp_u2f_fastmail
},
{
// https://demo.yubico.com
{ 0x55, 0x67, 0x3b, 0x51, 0x38, 0xcc, 0x90, 0xd3,
0xb7, 0xf3, 0x2b, 0xfd, 0xad, 0x6a, 0x38, 0xa8,
0xed, 0xd7, 0xb3, 0x55, 0xb7, 0x7a, 0xb9, 0x79,
0x21, 0x96, 0xf1, 0x06, 0xd1, 0x6c, 0xa3, 0x12 },
"Yubico U2F Demo",
&bmp_u2f_yubico
}
};
#endif // U2F_KNOWNAPPS_INCLUDED