[SAC] [OSGeo] #2542: Revise the way SSH keys are stored in LDAP

#2542: Revise the way SSH keys are stored in LDAP
---------------------------+---------------------------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2020-II
Component: Systems Admin | Keywords: LDAP
---------------------------+---------------------------------------
We are probably doing it wrong by allowing multiple keys in a single
attribute.
See https://github.com/go-gitea/gitea/issues/13984#issuecomment-744494376

Ticket #2116 was about adding the LDAP attribute

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2542&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2542: Revise the way SSH keys are stored in LDAP
---------------------------+----------------------------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2020-II
Component: Systems Admin | Resolution:
Keywords: LDAP |
---------------------------+----------------------------------------

Comment (by strk):

Revision seems needed for #2457 completion (use keys with Gitea)

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2542#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2542: Revise the way SSH keys are stored in LDAP
---------------------------+----------------------------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2020-II
Component: Systems Admin | Resolution:
Keywords: LDAP |
---------------------------+----------------------------------------

Comment (by strk):

We're definitely doing this wrong: https://github.com/go-
gitea/gitea/issues/13984#issuecomment-749275922

We'd want each ssh key to be a different element of an array stored in the
attribute, and UI to add/remove elements in that array.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2542#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2542: Revise the way SSH keys are stored in LDAP
---------------------------+----------------------------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2020-II
Component: Systems Admin | Resolution: fixed
Keywords: LDAP |
---------------------------+----------------------------------------
Changes (by strk):

* status: new => closed
* resolution: => fixed

Comment:

This is now fixed with https://git.osgeo.org/gitea/sac/web-cgi-
bin/commit/02550ef08792a2615d170d883e3683f5cedce431

We'll store ssh keys as multiple ones (separated by newlines in the
textarea)

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2542#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.