From 306cf8fd8ef37c24c933c055c9579c067010c203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Thu, 24 Jan 2019 13:41:37 +0100 Subject: [PATCH] Add attestation: 'direct' patch --- patches/v2.8.0.patch | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/patches/v2.8.0.patch b/patches/v2.8.0.patch index 9e25e48..cff4637 100644 --- a/patches/v2.8.0.patch +++ b/patches/v2.8.0.patch @@ -26,7 +26,18 @@ index 90aad7df..95ceff61 100644 apiService.setUrls({ base: isDev ? null : window.location.origin, api: isDev ? 'http://localhost:4000' : null, -index 5c114af5..70e7cb12 100644 +index 5560c476..a9b954a8 100644 +--- a/src/app/settings/two-factor-u2f.component.ts ++++ b/src/app/settings/two-factor-u2f.component.ts +@@ -128,6 +128,7 @@ export class TwoFactorU2fComponent extends TwoFactorBaseComponent implements OnI + (window as any).u2f.register(u2fChallenge.appId, [{ + version: u2fChallenge.version, + challenge: u2fChallenge.challenge, ++ attestation: 'direct', + }], [], (data: any) => { + this.ngZone.run(() => { + this.u2fListening = false; +index 5c114af5..6839385d 100644 --- a/src/scss/styles.scss +++ b/src/scss/styles.scss @@ -1,5 +1,23 @@