[fix] List root ssh keys

This commit is contained in:
ljf (zamentur) 2024-02-29 18:36:25 +01:00 committed by GitHub
parent a735f68cc9
commit 6a84564cdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,7 +172,7 @@ def _get_user_for_ssh(username, attrs=None):
"username": "root",
"fullname": "",
"mail": "",
"home_path": root_unix.pw_dir,
"homeDirectory": root_unix.pw_dir,
}
# TODO escape input using https://www.python-ldap.org/doc/html/ldap-filter.html