pam_usb icon indicating copy to clipboard operation
pam_usb copied to clipboard

[Feature] store keys in external database / web api

Open denis-b opened this issue 2 years ago • 1 comments

Understood

Yes, this is not a bug report / support request

Text

pam_usb stores and reads keys information in xml file. In a school, with hundreds of users, the file needs to be deployed on all the domain's computers, and updated on every change. It can be quite inefficient.

Retreiving the information from ldap, sql server or https api can be more easier to maintain.

the easyest way should be to make pam_usb to do a POST request with key ID, and server will reply directly XML file compatible with existing code.

Maybe the process can use existing pam modules for web requests ? I'm not expert in pam configuration.

denis-b avatar Sep 21 '23 15:09 denis-b

I totally understand the need / interest for this. 👍

However, I don't even find enough time to work on the existing tasks / issues. So it wont happen anytime soon if nobody submits a pull request for it.

Maybe an idea for your computer / programming course, as an project? Thinking about something simple like a python util or like that, fetching the data you need and calling pamusb-conf etc pp...

mcdope avatar Oct 20 '23 23:10 mcdope