gerrit/gerrit-reviewdb
David Pursehouse a291706e96 AccountSshKey: Strip newline characters out of public key string
When an ssh public key is migrated from the database to the git backend,
it is stored in the authorized_keys file in the user's ref in All-Users.

If the public key has newlines, each line is read back as a separate key,
each of which will be considered invalid.

Strip newlines out of the public key string to prevent this situation.

Bug: Issue 4643
Change-Id: If3971fc1c432c79364206b2f3633db1629267ba0
2016-11-24 13:21:58 +09:00
..
src AccountSshKey: Strip newline characters out of public key string 2016-11-24 13:21:58 +09:00
BUCK BatchUpdate: Key ChangeUpdates by patch set 2016-01-13 18:06:16 -05:00
BUILD Implement Bazel build 2016-06-14 21:12:02 +02:00