pallotron / yubiswitch

OSX status bar application to enable/disable Yubikey Nano
Other
877 stars 65 forks source link

Wrong screen saver when YubiKey is removed #57

Closed robertdolca closed 8 years ago

robertdolca commented 8 years ago

When the YubiKey is removed instead of doing a computer lock it enables the screen saver (which locks the computer). The screen saver shows up even though it is disabled on my Mac. Is this the intended behaviour?

pallotron commented 8 years ago

Yes.

See

https://github.com/pallotron/yubiswitch/blob/master/yubiswitch/AppDelegate.m#L256

Angelo "pallotron" Failla - pallotron(at)[freaknet.org|gmail.com]

W3: http://www.angelofailla.com

Blog: http://blog.angelofailla.com

FB: https://www.facebook.com/pallotron

TW: https://twitter.com/pallotron

GPG Key ID: 89450920 available @ pgp.mit.edu

GPG FingerPrint: 0DE8 DB22 538E D6B9 8784 83E5 1BEA 7D5C 8945 0920

robertdolca commented 8 years ago

Why not just lock the screen?

pallotron commented 8 years ago

Because I like my screensavers :) (Yubiswitch started as a personal project to solve my personal problems). I think there also were some technical reasons for locking the screen by using the screensaver.

robertdolca commented 8 years ago

Understood. Thanks for explaining.

pallotron commented 8 years ago

if you know Objective-C you can send a PR :)