lbuchs / WebAuthn

A simple PHP WebAuthn (FIDO2/Passkey) server library
https://webauthn.lubu.ch
MIT License
419 stars 75 forks source link

Rewrite counter check to conform with specification #58

Closed TobiasBengtsson closed 2 years ago

TobiasBengtsson commented 2 years ago

The WebAuthn specification mandates that the counter check should be performed if either of the counters are non-zero.

lbuchs commented 2 years ago

Thanks!