Skip to content

Commit

Permalink
Fix public key lenght to 65 bytes (Proxmark#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fl0-0 authored and pwpiwi committed Nov 30, 2018
1 parent 7b6e320 commit 9c87879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/cmdhffido.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9c87879

Please sign in to comment.