operasoftware / ssh-key-authority

A tool for managing SSH key access to any number of servers.
Apache License 2.0
456 stars 71 forks source link

Feature request : add public keys to LDAP attribute #27

Open Chluz opened 6 years ago

Chluz commented 6 years ago

Hi,

I've added three methods to the user class to be able to add and remove public keys to a LDAP attribute. The idea is that I like to store the public keys directly in LDAP. This can then be used in other software that allow pulling public keys from LDAP. SSH key authority is then the nice interface allowing users to add public keys to their accounts.

I tested it for my own use and it seems to work reliably, and all new functions can be deactivated by not setting the required attribute name in the config file. Would this be something you would be interested in looking at and eventually pulling ?