GithubHelp home page GithubHelp logo

pam_touchid's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pam_touchid's Issues

Add to homebrew

It would be nice if we could install this with Homebrew (brew.sh).

Cannot be used if Touch ID is disabled for unlocking your Mac

This works great if I keep “Unlocking your Mac” checked in the Touch ID system preferences. However, it fails if I uncheck that box (and leave the other boxes checked).

pam_tid.so behaves essentially the same way, so this may not be fixable.

(Also, any idea where the 0x3f0 value is documented? I'd like to read up.)

OS: macOS 10.14.2 (18C54)

Build

How do I build the project?
Whats the command?
I do not see pam_touchid.so.2 file in any folder.
Please let me know, I would like to try this.
Thanks in advance.

pam_touchid fails (times out) when used within tmux

When using this within tmux, the popup doesn't appear, but instead after ~5 seconds it falls back to password authentication:

mbp:~ user$ sudo -l
UI activation timed out.
Password:

Installing tmux-pasteboard and using this in conjunction with the reattach-to-user-namespace command appears to work. For example, by setting up the following alias:

alias sudo='reattach-to-user-namespace sudo'

Do you know if there is a way to fix this properly without such a workaround?

pam_touchid appears to break sudo over SSH

I haven't fully tested this scenario, but at first pass, it seems like pam_touchid prevents a remote SSH user from using sudo on a Mac with pam_touchid installed. The GUI prompt appears and never gives up without GUI user input.

Are there some possible mitigations here?

  • Checking the tty being used (does PAM expose this?) and immediately falling back to password authentication if the user is coming from a remote terminal
  • or: Adding a timeout so that the Touch ID prompt automatically aborts after 5 seconds, causing a fallback to password authentication.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.