Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<class 'OverflowError'>exception during authentication #178

Open
YashwanthLokam opened this issue Mar 15, 2023 · 5 comments
Open

<class 'OverflowError'>exception during authentication #178

YashwanthLokam opened this issue Mar 15, 2023 · 5 comments

Comments

@YashwanthLokam
Copy link

YashwanthLokam commented Mar 15, 2023

Hi, I am getting this exception argument 1: <class 'OverflowError'>: int too long to convert when I am trying to check if key is available or not. This error pops up mostly in VM ware. Error occurs at next(CtapHidDevice.list_devices(), None) function.

@PranithaReddyAedla
Copy link

@dainnilsson Could we get any update here please?

@dainnilsson
Copy link
Member

Please provide more information. Full traceback, Operating system, authenticator device type, etc.

@PranithaReddyAedla
Copy link

PranithaReddyAedla commented Apr 4, 2023

@dainnilsson

  1. We dont have stack trace, we have just got mentioned message (<class 'OverflowError'>: int too long to convert) and sometimes "Wrong nonce" while checking if security key if connected to machine using next(CtapHidDevice.list_devices(), None) function.
  2. OS: Windows 10/11
  3. Authenticator Device type : Yubikey 5 NFC and Yubikey 4 NFC.
  4. python-fido2 version : v0.9.3
    We are using same logic and version from quiet some time but never faced any issue. Since past 1 or 2 months we are receiving these kind of errors from users.

@dainnilsson
Copy link
Member

Without a stack trace it's hard to say anything definitive. The fact that you're getting the wrong nonce and that this happens when connecting to the device indicates that there might be a problem with multiple threads/processes trying to use the YubiKey concurrently. If you have more concrete steps that reproduce this issue I might be able to help more.

@YashwanthLokam
Copy link
Author

@dainnilsson
I am sharing you a screenshot where I found the issue thrown as an Exception.
image (16)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants