From f12c55805c3f4619a699b4c6b4d772bd65f729ff Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Sun, 2 Apr 2023 01:19:23 +0200 Subject: [PATCH] Put again commands to FIDO app for interoperability. Signed-off-by: Pol Henarejos --- src/fido/fido.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/fido/fido.c b/src/fido/fido.c index 48f2c5d..98f091f 100644 --- a/src/fido/fido.c +++ b/src/fido/fido.c @@ -400,7 +400,14 @@ void set_opts(uint8_t opts) { low_flash_available(); } +extern int cmd_register(); +extern int cmd_authenticate(); +extern int cmd_version(); + static const cmd_t cmds[] = { + { CTAP_REGISTER, cmd_register }, + { CTAP_AUTHENTICATE, cmd_authenticate }, + { CTAP_VERSION, cmd_version }, { 0x00, 0x0 } };