auth: reworked pam auth, added pam_setcred#917
Conversation
ea64d17 to
44c167f
Compare
948a45e to
282be8e
Compare
|
In this new revision I don't like the refactor. Why not spend the extra lines to do the error handling? About |
You mean dropping the for loop and handling the steps individually, right?
If you aren't comfortable with secrets staying in memory while your screen is locked, you need to reset GPG before locking the screen (I have my keyboard shortcut set to |
73d8416 to
1c45ba5
Compare
1c45ba5 to
83ed511
Compare
|
|
|
Ok I mean I guess doing But why move the handle to the class. I think it was totally fine before no? |
Without calling pam_setcred, unlocking the machine doesn't also unlock GPG based secrets. Reworked CPam::auth to make it less repetitive.