From 118556c55c5a9ff5629a207a49ba2fa701a0d477 Mon Sep 17 00:00:00 2001 From: Fl0-0 Date: Fri, 30 Nov 2018 11:18:13 +0100 Subject: [PATCH] Fix public key lenght to 65 bytes --- client/cmdhffido.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhffido.c b/client/cmdhffido.c index e2d6c091..357e265c 100644 --- a/client/cmdhffido.c +++ b/client/cmdhffido.c @@ -531,7 +531,7 @@ int CmdHFFidoAuthenticate(const char *cmd) { // public key CLIGetHexWithReturn(8, hdata, &hdatalen); - if (hdatalen && hdatalen != 130) { + if (hdatalen && hdatalen != 65) { PrintAndLog("ERROR: public key length must be 65 bytes only."); return 1; }