Comments (12)
alternatively, if you don't want to feel slowed down by my reviews I can make people as "collaborator" of this repo.
from yubiswitch.
I think this is the behavior when you select the "Enable Yubikey when system locks/sleeps". See screenshot. You can give it a try.
from yubiswitch.
Hi - Thanks for your note. I believe that's different and covers the case
where a screensaver locks a system that's still on. I want it to enable the
YubiKey when a laptop that has been closed wakes up on opening the lid.
On Mon, Dec 21, 2015 at 5:06 PM, Angelo Failla [email protected]
wrote:
[image: image]
https://cloud.githubusercontent.com/assets/508703/11942507/f54ce56a-a82e-11e5-9b40-f7d4925dc2a7.pngI think this is the behavior when you select the "Enable Yubikey when
system locks/sleeps". See screenshot. You can give it a try.—
Reply to this email directly or view it on GitHub
#46 (comment)
.
from yubiswitch.
So, yeah, you are right, I just tried it :)
- selected that option
- closed lid
- waited 10 seconds
- reopened lid
- my yubikey was enabled, so you could use it in the loging window (some people have login authentication for their MACs via yubikey) but they key got disabled as soon as I logged in.
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 :)
from yubiswitch.
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...
from yubiswitch.
A bit more detail on what the specific situation. I'm using WiFI that
requires a OTP, but the laptop login doesn't. So my login procedure today
is:
(1) Open cover of Mac laptop, waking it up
(2) Login / unlock Mac OTP not required WiFi login popup appears
(4) Enable YubiKey in the menu
(5) Use YubiKey to enter OTP [network connects]
I'm trying to avoid step (4), which it seems should be possible if the
YubiKey is enabled automatically when the laptop wakes up, and the rest of
the steps are completed before the YubiKey automatically disables again.
I don't have an environment set up to do dev, but this looks like it might
be useful regarding the notifications needed on wakeup:
https://developer.apple.com/library/mac/qa/qa1340/_index.html
On Mon, Dec 21, 2015 at 5:39 PM, Angelo Failla [email protected]
wrote:
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...—
Reply to this email directly or view it on GitHub
#46 (comment)
.
from yubiswitch.
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.
from yubiswitch.
Of course, thanks. I understand. I find it very useful as is, and so
appreciate that you did it at all!
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]
wrote:
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.—
Reply to this email directly or view it on GitHub
#46 (comment)
.
from yubiswitch.
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).
from yubiswitch.
I have the same issue as ishunyu... basically it behaves like I have "Enable yubikey when the system locks/sleeps" set; but I don't.
So here's my routine:
work, work, work.
Close lid, mac goes to sleep.
Open lid next day.
Observe:
Yubikey is active/hot (despite setting it to disable after lock/sleep)
Expect:
Yubikey is "cold"
Workaround
Add the following to crontab:
05 8 * * * osascript -e 'tell application "yubiswitch" to KeyOff' $HOME/Downloads/yubi.out 2>&1
from yubiswitch.
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.
from yubiswitch.
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).
from yubiswitch.
Related Issues (20)
- evgtlindvjiublvjfeiikdhkhgcteeugrivh
- inadvertently opened issue - ignore
- "Automatically switch off Yubikey" turns on Yubikey after lockscreen HOT 2
- ccccccvkvhhejrinvubnvdlnbthrrtvuvgcvffnthtgf HOT 2
- Release new binaries for Apple Silicon HOT 13
- Feature Request: Allow multiple productID/vendorID pairs HOT 1
- Support for Yubikey 5C HOT 1
- menu bar icon is always black, hard to see on dark backgrounds HOT 1
- eieecchrvjhbgbgnjftcbkefbcghkttelnelincbkjbk HOT 4
- Global hotkey doesn't respect different keyboard layouts, only QWERTY HOT 2
- App is not notarized HOT 4
- YubiSwitch not disabling Yubikey nano on macOS 12.6 HOT 7
- yubikey is not disabled automatically HOT 7
- Doesn't work for my yubico on MacOS Monterrey HOT 11
- "Input Monitoring" permission required HOT 7
- XPC error: Connection invalid HOT 1
- [MISTAKE]
- Sonoma Bug: Enabled Yubiswitch menubar icon is 10x size HOT 7
- ProductID and VendorId are read only. Unable to update them
- Dialog on every startup “yubiswitch is trying to install a new helper tool.” HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yubiswitch.