duo-labs / py_webauthn

Pythonic WebAuthn 🐍
https://duo-labs.github.io/py_webauthn
BSD 3-Clause "New" or "Revised" License
856 stars 171 forks source link

Fix isinstance(..., int) check on Python 2.7 #57

Closed dsanders11 closed 4 years ago

dsanders11 commented 4 years ago

Currently the isinstance check for sign_count will fail on Python2.7 if it is a long. This change makes that check pass as expected in both Python 2 and 3.

futureimperfect commented 4 years ago

Hi @dsanders11 ,

I tested this change and it looks good to me. @jordan-wright or @nicksteele when you get a chance can you review/merge?