mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
Fix public key lenght to 65 bytes (#725)
This commit is contained in:
parent
7b6e320533
commit
9c87879e36
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue