From 67f9c5de81d1da0549735d335f40fdef93a10a99 Mon Sep 17 00:00:00 2001 From: Emma Turner Date: Mon, 25 Sep 2023 17:31:18 +0100 Subject: [PATCH] app: support u2f interface required by Kukai wallet --- README.md | 6 +++++- app/Makefile | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f351bbe89..36f7d75c3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# Tezos Ledger Wallet App Revamped +# Tezos Ledger Wallet App + +## Interfaces + +Both `webusb` and `u2f` interfaces are supported. For example, `u2f` interface is used by the [Kukai](https://wallet.kukai.app/connect-ledger) web wallet. ## Compile using `docker` containers for build dependencies diff --git a/app/Makefile b/app/Makefile index 10035bf70..eaf77045e 100644 --- a/app/Makefile +++ b/app/Makefile @@ -145,6 +145,12 @@ CFLAGS += -Wwrite-strings ENABLE_BLUETOOTH = 1 #ENABLE_NFC = 1 +# U2F - used e.g. by Kukai wallet +SDK_SOURCE_PATH += lib_u2f lib_stusb_impl +DEFINES += USB_SEGMENT_SIZE=64 +DEFINES += U2F_PROXY_MAGIC=\"XTZ\" +DEFINES += HAVE_IO_U2F HAVE_U2F + ######################################## # NBGL custom features # ########################################