aluzzardi / pam_usb

Hardware authentication for Linux using ordinary USB Flash Drives.
GNU General Public License v2.0
152 stars 83 forks source link

Feature Request: Multiple Devices #8

Open toastwaffle opened 12 years ago

toastwaffle commented 12 years ago

Would it be possible to have more than one device for one user? I'd like to use this for two factor auth, but I'd like to be able to have a spare key in case I lose my original one.

Sjd-Risca commented 10 years ago

I'm looking forward for it as well. It would be really cool to be able to use multiple keys for the same user (meanwhile now it's possible only the opposite: to only have multiple users on one key).

Anyway thanks a lot for this great peace of software!

dj95 commented 7 years ago

If this issue is still recent and you're looking forward to multiple devices, you can check out my fork of pamusb in a few weeks. I want to implement this feature into the pamusb-agent, but first of all it should be cleaned and ported to Python 3. The portation to Python 3 is mostly done, so refactoring and code cleaning can start.

Sjd-Risca commented 7 years ago

Yes, for me it is still a big issue. Please let me know when you expect it would be ready for testing and debugging!

Thanks a lot.

dj95 commented 7 years ago

I implemented this feature, but it needs a little bit of clean up. There's also some bugfixing from the original pamusb-agent needed.

Feel free to test it and send me feedback and bug reports!

You're able to find the version here.

(Please mind that I needed to change the pamusb-check to support multiple devices, so you need to recompile it and copy it to your path or specify it with the --check=../path/to/pamusb-check flag)