From 9c87879e360c31b521310ff7be11efb3d27e3f8f Mon Sep 17 00:00:00 2001 From: Fl0-0 Date: Fri, 30 Nov 2018 18:44:52 +0100 Subject: [PATCH] Fix public key lenght to 65 bytes (#725) --- 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; } -- 2.39.2