You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I stub out the elif sys.platform.startswith("darwin") block in hid/__init__.py and replace the three functions with lambdas that do nothing, this crash does not occur, so it must be caused by something in fido2.hid.macos.
If I comment both REGISTERED_READ_CALLBACK and REMOVAL_CALLBACK in hid/macos.py, the crash no longer happens.
The text was updated successfully, but these errors were encountered:
More data points, if I do this with Apple's /usr/bin/python3 (3.9.6) in a virtualenv, it does not fail.
With MacPorts Python 3.11 in a virtualenv, it also does not fail.
Oh, and because I didn't mention it yet: This happens on shutdown – everything works fine until you end the program, at which point during cleanup and module unload it causes this error.
Tested with fido2 1.1.3 and Python 3.12.2 from MacPorts on macOS 13.6.5 22G621.
The backtrace for the crash is
If I stub out the
elif sys.platform.startswith("darwin")
block inhid/__init__.py
and replace the three functions with lambdas that do nothing, this crash does not occur, so it must be caused by something infido2.hid.macos
.If I comment both
REGISTERED_READ_CALLBACK
andREMOVAL_CALLBACK
inhid/macos.py
, the crash no longer happens.The text was updated successfully, but these errors were encountered: