{"id":13513033,"url":"https://github.com/shtirlic/yubikeylockd","last_synced_at":"2026-03-10T20:44:16.207Z","repository":{"id":36403047,"uuid":"40707972","full_name":"shtirlic/yubikeylockd","owner":"shtirlic","description":"Simple daemon for locking and unlocking macOS with Yubikey","archived":false,"fork":false,"pushed_at":"2021-02-05T23:16:34.000Z","size":22,"stargazers_count":103,"open_issues_count":4,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T01:40:40.156Z","etag":null,"topics":["cryptography","daemon","homebrew","homebrew-formula","lock","macos","security","unlock","unlock-os","yubikey"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shtirlic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-14T09:49:25.000Z","updated_at":"2024-08-10T02:45:39.000Z","dependencies_parsed_at":"2022-07-25T20:00:11.216Z","dependency_job_id":null,"html_url":"https://github.com/shtirlic/yubikeylockd","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shtirlic%2Fyubikeylockd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shtirlic%2Fyubikeylockd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shtirlic%2Fyubikeylockd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shtirlic%2Fyubikeylockd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shtirlic","download_url":"https://codeload.github.com/shtirlic/yubikeylockd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399816,"owners_count":20770907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptography","daemon","homebrew","homebrew-formula","lock","macos","security","unlock","unlock-os","yubikey"],"created_at":"2024-08-01T04:00:36.692Z","updated_at":"2026-03-10T20:44:16.172Z","avatar_url":"https://github.com/shtirlic.png","language":"C","funding_links":[],"categories":["Tools","C"],"sub_categories":["Third-party Tools"],"readme":"# yubikeylockd\n\nSimple daemon for locking and unlocking macOS with Yubikey.\n\n## Install\n\nVia Homebrew formula:\n\n```\nbrew tap shtirlic/yubikeylockd https://github.com/shtirlic/yubikeylockd\nbrew install shtirlic/yubikeylockd/yubikeylockd\n```\n\n## Additional requirements\n  * [YubiKey using the native smart card (PIV) mode](https://www.yubico.com/why-yubico/for-businesses/computer-login/mac-os-login/)\n  * Require password *immediately* after sleep or screen saver begins\n  ![](http://i.imgur.com/URXUukP.png)\n\n## How it works\n\nWhen you attach Yubikey for the first time `launchctl` will run `yubikeylockd` daemon\nthat will simply monitor the state of the Yubikey USB devices.\nDaemon based on the sample provided by Apple for IOKit development.\n\nIt does two things:\n* when device is attached it makes activity via\n```IOPMAssertionDeclareUserActivity``` call to turn screen on\n* after device is detached it uses ```IORequestIdle``` to put display to sleep and (if you configured it) also locks the OS X\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshtirlic%2Fyubikeylockd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshtirlic%2Fyubikeylockd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshtirlic%2Fyubikeylockd/lists"}