Skip to content

felixhammerl/lockscreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lockscreen

What this does

Listens to your Yubikey being removed and locks your mac.

Installs a LaunchAgent for your user that will listen to the Yubikey being removed and call a non-public Apple API to lock your screen. Don't even think about putting this into the AppStore, it will never be approved b/c of the internal API.

How to get started

make → Compile lockscreen binary

make install → Install lockscreen and load LaunchAgent

make remove → Remove lockscreen binary and LaunchAgent

About

Locks your mac when you pull a yubikey

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published