nuvious / pam-duress

A Pluggable Authentication Module (PAM) which allows the establishment of alternate passwords that can be used to perform actions to clear sensitive data, notify IT/Security staff, close off sensitive network connections, etc if a user is coerced into giving a threat actor a password.
GNU Lesser General Public License v3.0
1.33k stars 39 forks source link

[FR] macOS support? #5

Closed NightMachinery closed 3 years ago

cormacrelf commented 3 years ago

Yeah, it needed a few tweaks but can be done pretty easily.

image

cormacrelf commented 3 years ago

The SIGSEGV shouldn't be happening when you hit ctrl-c so that's a bug

aniqueta commented 3 years ago

Has this been tested and/or would it make sense to also use this with /etc/pam.d/authorization (macOS logon) and with /etc/pam.d/screensaver (macOS lock screen)? Thanks.

cormacrelf commented 3 years ago

I mean at the age of this project, don't seriously use it. It has been "tested" but it hasn't been tested tested. But PAM works the same for all of these things, it would probably work. Give it a go (read my advice in #6 before you do though) and let us know what works.