github/SoftU2F

Don't connect to kext when invoked with CLI args

btoews opened this issue · 1 comments

We try to connect to the kext when the app starts (code). This also happens when the app is launched from the command line (Eg. for deleting/listing registrations). If the app is already running in the background we'll get an error because the kext only allows one connection. This error is surfaced to the user, which is confusing. We should not connect to the kext unless we need to.

A workaround is posted at #29 (comment).