pam-watchid
pam-watchid copied to clipboard
PAM plugin module that allows the Apple Watch to be used for authentication
PAM WatchID
A PAM plugin for authenticating using the new kLAPolicyDeviceOwnerAuthenticationWithBiometricsOrWatch API in macOS 10.15, written in Swift.

Installation
$ sudo make install- Edit
/etc/pam.d/sudoto include as the first line:auth sufficient pam_watchid.so "reason=execute a command as root"
Note that you might have other auth, don't remove them.