shtirlic / yubikeylockd

Simple daemon for locking and unlocking macOS with Yubikey
MIT License
103 stars 19 forks source link

Option not to lock keychain #9

Open delicb opened 6 years ago

delicb commented 6 years ago

When YubiKey is removed, workstation is locked and keychain is locked as it can be seen here. I understand why, but this creates some problems for me.

When I log back in from time to time I get prompted to enter credentials for system accounts (e.g. google accounts for calendar sync, iCloud, Tunnelblick stored credentials for VPN). I am not really sure why this happens, but I would be happy if there was an option to just lock workstation or just put it to sleep (simulate Cmd+Shift+Power or Cmd+Ctrl+Q) without keychain lock.

So, I forked this project to check if that would solve my problem and it seems that it does.

Would you be open to having such an option in main repository? I image that it could be optional (e.g. brew install <url> --without-keychain-lock. I am not really familiar with brew formulas, so I am not sure how to do it from the top of my head, but I did see that some formulas have such options. If you are open to this suggestion, maybe I could investigate and provide pull request. Otherwise I can continue using my fork, but I expect that other people will have similar problems and I don't really want to maintain separate fork.

Thanks.

CelsoSantos commented 5 years ago

I'm another one with this request. I love yubikeylockd, but it's a PITA that I have to input all the passwords for all my system accounts (which are way too many).

Maybe a config file would be easier to implement rather than an alternate flag?