Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-1616

RSA SSH key provisioned to LDAP after upload with cut and paste has wrong format in LDAP

    XMLWordPrintable

Details

    Description

      I uploaded the same RSA SSH key to a CoPerson record in two ways: (1) using 'cut and paste' into the form and (2) clicking the 'UPLOAD' button and browsing to find the file. 

      The same LDAP key is provisioned into LDAP in two different ways:

      sshPublicKey: ssh-rsa ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAr9amUAycDrDj2f2kLkK6
      b5X5DYr+4kmRcYfjcOQG9capsUDh44E8C1KKKRtVZNCM4QAXjHHuIQhb7/YysH6XpjUypzHciDNyJ
      6f3H0Phrcu9X5HSXlPNuyHlq1rtxtuXnd/UPmrZlSuy1Kt4bjjk5EYI6XMXQjlZMet9mT8y0kB1NA
      LGqfLm1LesjShEmKCqP97fj//jRakm661TDdphjKR7e/O6wB80BHZAUznd+4XqYoQ8wPMWFKk21Zt
      wNWEpgooPhwC956BmsGRXHzySct/LISNAwbQdNaxTKeWdLGvsD6uivBsbBe2egrkCB0UKzcyXTuQv
      3W4cElAzDFROEQ== skoranda@oregano.local My Key

       

      sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAr9amUAycDrDj2f2kLkK6b5X5DYr+
      4kmRcYfjcOQG9capsUDh44E8C1KKKRtVZNCM4QAXjHHuIQhb7/YysH6XpjUypzHciDNyJ6f3H0Phr
      cu9X5HSXlPNuyHlq1rtxtuXnd/UPmrZlSuy1Kt4bjjk5EYI6XMXQjlZMet9mT8y0kB1NALGqfLm1L
      esjShEmKCqP97fj//jRakm661TDdphjKR7e/O6wB80BHZAUznd+4XqYoQ8wPMWFKk21ZtwNWEpgoo
      PhwC956BmsGRXHzySct/LISNAwbQdNaxTKeWdLGvsD6uivBsbBe2egrkCB0UKzcyXTuQv3W4cElAz
      DFROEQ== skoranda@oregano.local

       

      The first entry above begins with 'ssh-rsa ssh-rsa' and ends with 'My Key'. The 'My Key' is the text that was put in the form in the 'Comment' field.

      That SSH key when read by OpenSSH will not work. 

      The other version of the SSH key in LDAP, which was uploaded using the 'UPLOAD' button, does work as expected.

      Attachments

        Issue Links

          Activity

            People

              benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
              scott.koranda.3@at.internet2.edu Scott Koranda SCG (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: