-
Notifications
You must be signed in to change notification settings - Fork 65
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
Enable Yubikey coming out of sleep #46
Comments
Hi - Thanks for your note. I believe that's different and covers the case On Mon, Dec 21, 2015 at 5:06 PM, Angelo Failla [email protected]
|
So, yeah, you are right, I just tried it :)
I think it should be easy to make your change by hacking around here => https://github.com/pallotron/yubiswitch/blob/master/yubiswitch/ComputerStateMonitor.m#L41 but I don't have time to do this for a pretty long time, you can send me a PR if you have time/will to hack a few things around :) |
I think removing like 56-58 could do the trick, then you just have to make sure to set up a long disable timer in the preference window of the application... |
A bit more detail on what the specific situation. I'm using WiFI that (1) Open cover of Mac laptop, waking it up I'm trying to avoid step (4), which it seems should be possible if the I don't have an environment set up to do dev, but this looks like it might On Mon, Dec 21, 2015 at 5:39 PM, Angelo Failla [email protected]
|
ok I will see if I can work on it in the future, but I am pretty busy right now, I wrote this to solve a personal need, but it happened to be useful to other people :) BTW did you know that you can enable the yubikey with an hotkey sequence of your own? for example I use cmd-option-y, and you con configure yours in the preference window. |
Of course, thanks. I understand. I find it very useful as is, and so The hotkey suggestion is a good one. I'll try that for now. On Tue, Dec 22, 2015 at 9:58 AM, Angelo Failla [email protected]
|
I have the opposite problem. When my computer comes out of sleep (overnight usually, just going to sleep and coming back immediately doesn't trigger this bug), the YubiSwitch menu icon indicates that the yubikey is disabled (NOT green), but I'm still able to use it to log into stuff. I have to click on the "Enable YubiKey" menu item to disable it (the menubar icon stays NOT green). |
I have similar experiences as @ishunyu and @stsully... i think the gist of our issues is that YubiSwitch was created to solve a specific problem: enable/disable the yubikey from randomly sending OTP whenever the contact point is touched, usually accidently. It might be useful to consider forking this project and adding features that suit our own needs since @pallotron is busy with work. |
that would be great! you can fork the project into your own github and send PR to be merged here? (if that's what you mean). |
alternatively, if you don't want to feel slowed down by my reviews I can make people as "collaborator" of this repo. |
It would be helpful if YubiSwitch automatically enabled the YubiKey for the usual time period when a laptop comes out of sleep. That way when a laptop was opened up, any services that needed logging into wouldn't require selecting "Enable YubiKey" from the menu first. Thanks.
The text was updated successfully, but these errors were encountered: