All Projects → spaghetti- → pam-touchid

spaghetti- / pam-touchid

Licence: other
Pluggable Authentication Module for TouchID enabled MacBooks

Programming Languages

objective c
16641 projects - #2 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to pam-touchid

Dyfauthidandgesturelock
手势密码解锁和 TouchID (指纹) / FaceID(面容) 解锁,代码简洁高效。(Gesture passcode unlocking and TouchID (fingerprint) / FaceID (facial features) unlocking, its code is concise and efficient.) https://github.com/dgynfi/DYFAuthIDAndGestureLock
Stars: ✭ 20 (-37.5%)
Mutual labels:  touchid
Applocker
AppLocker - simple lock screen for iOS Application ( Swift 4+, iOS 9.0+) Touch ID / Face ID
Stars: ✭ 188 (+487.5%)
Mutual labels:  touchid
TouchBarKeyboard
A fully functional keyboard for your touch bar! No thinness lost, it's the perfect solution!
Stars: ✭ 30 (-6.25%)
Mutual labels:  touchbar
Flutterauthfaceid Fingerprint
Stars: ✭ 64 (+100%)
Mutual labels:  touchid
Nativescript Fingerprint Auth
💅 👱‍♂️ Forget passwords, use a fingerprint scanner or facial recognition!
Stars: ✭ 130 (+306.25%)
Mutual labels:  touchid
Cordova Plugin Touch Id
💅 👱‍♂️ Forget passwords, use a fingerprint scanner!
Stars: ✭ 209 (+553.13%)
Mutual labels:  touchid
React Native Fingerprint Scanner
Provide Fingerprint, Touch ID, and Face ID Scanner for React Native (Compatible with both Android and iOS)
Stars: ✭ 704 (+2100%)
Mutual labels:  touchid
awesome-btt-config
An curated list of awesome BetterTouchTool configs.
Stars: ✭ 38 (+18.75%)
Mutual labels:  touchbar
Dmpasscode
🔒 Passcode screen with Touch ID support
Stars: ✭ 156 (+387.5%)
Mutual labels:  touchid
hyper-custom-touchbar
Add custom buttons to the Macbook's Touch Bar when using Hyper terminal.
Stars: ✭ 36 (+12.5%)
Mutual labels:  touchbar
React Native Touch Id
React Native authentication with the native Touch ID popup.
Stars: ✭ 1,341 (+4090.63%)
Mutual labels:  touchid
Twofa
A TouchID-aware 2-factor authenticator for macOS
Stars: ✭ 105 (+228.13%)
Mutual labels:  touchid
Cordova Plugin Fingerprint Aio
👆 📱 Cordova Plugin for fingerprint sensors (and FaceID) with Android and iOS support
Stars: ✭ 236 (+637.5%)
Mutual labels:  touchid
Titanium Identity
A collection of API's to authenticate with your device: Keychain/Keystore, Touch ID and Face ID
Stars: ✭ 36 (+12.5%)
Mutual labels:  touchid
touchbar
Atom package to use MacBook Touchbar
Stars: ✭ 51 (+59.38%)
Mutual labels:  touchbar
Biometricauthentication
Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication.
Stars: ✭ 746 (+2231.25%)
Mutual labels:  touchid
Tdtouchid
TDTouchID是一个封装好的指纹、FaceID验证库,可以用来做iOSAPP的登录/支付等验证。
Stars: ✭ 191 (+496.88%)
Mutual labels:  touchid
writebar
Experimental distraction-free text editor, based on the Macbook pro TouchBar
Stars: ✭ 37 (+15.63%)
Mutual labels:  touchbar
BiometricAutomationDemo
Dependency free iOS biometric automation example.
Stars: ✭ 53 (+65.63%)
Mutual labels:  touchid
Expenso Ios
A Simple Expense Tracker App built to demonstrate the use of SwiftUI, CoreData, Charts, Biometrics (Face & Touch ID) and MVVM Architecture.
Stars: ✭ 191 (+496.88%)
Mutual labels:  touchid

Pluggable Authentication Module using Touch-ID

This module allows us to authenticate services via touch-id using Apple's LocalAuthentication API. I am using the module to authenticate sudo as it's something we run frequently. The module can be dropped in to authenticate any other PAM enabled service as well.

NOTE: Apple has added its own pam touch-id module to the OS and you should use that. Please see: https://news.ycombinator.com/item?id=26302139

Compilation

Compile this module as the user who has touchid active. Otherwise manually edit the user id's inside the .m file.

make all

Caveats

The compiled module must be installed to /usr/lib/pam which is a system directory protected by System Integrity Protection (SIP). To install the module you have to disable this (no worries, it can be enabled later).

Reboot while holding Command-R, go into the recovery mode and spawn a new shell. In the shell run

csrutil disable

Reboot, copy the module over by doing sudo cp pam_touchid.so /usr/lib/pam/

Next, add this line to the top of /etc/pam.d/sudo

auth       sufficient     pam_touchid.so

This also allows fallback to standard password authentication if your finger fails.

Reboot back into recovery to enable SIP again

csrutil enable

Screenshot

Here's what shows on the touchbar when you try to sudo with the module installed

Touchbar screenshot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].