biscuitehh / pam-watchid

PAM plugin module that allows the Apple Watch to be used for authentication
The Unlicense
715 stars 68 forks source link

Check if auth request is from remote session (like ssh) #19

Open maiux opened 3 years ago

maiux commented 3 years ago

Hello, is it possible to check this? I saw that you already check sudo parameters like "-A". Obviously this is to prevent asking for Watch unlock while you are on a remote session. A workaround would be to set a timeout on unlock of 5/10 secs.