Open SuperSandro2000 opened 2 years ago
gitea can sync multiple ssh keys https://github.com/go-gitea/gitea/blob/main/services/auth/source/ldap/source_search.go#L28 .
We should use a multiline textbox to allow syncing multiple ssh keys into gitea.
The sshPublicKey
attribute is added in 1.1.0-beta.1. I might do jpegPhoto
at a later point.
Some hopefully helpful resources I found for this.
https://backstage.forgerock.com/docs/ds/7/schemaref/at-jpegPhoto.html#at-jpegPhoto https://www.openldap.org/doc/admin23/dbtools.html#:~:text=8.3.%20The%20LDIF%20text%20entry%20format https://github.com/nitnelave/lldap/blob/3fa100be0c1644dd182075f26a07eeda0558076a/server/src/domain/types.rs#L176-L218 https://github.com/go-gitea/gitea/blob/9cc15d18dfe25f5e0a7569ffb6203e9a4dbb2404/services/auth/source/ldap/source\_authenticate.go#L112-L114 https://github.com/go-gitea/gitea/blob/9cc15d18dfe25f5e0a7569ffb6203e9a4dbb2404/services/user/user.go#L230 https://github.com/go-gitea/gitea/pull/16851/files https://github.com/RocketChat/Rocket.Chat/blob/a50dfb4532f37a023c67ab299870206a33b31822/apps/meteor/server/lib/ldap/Manager.ts#L90-L104 https://stackoverflow.com/questions/29467867/viewing-jpeg-from-ldap-via-php
Gitea allows syncing SshPublicKey and jpegPhoto. It would be nice if Portunus would allow to configure those.