« Previous | Next » 

Revision 0232b768

ID0232b76857346d814fdb1e2a423ef038b2d02967
Parent 9805aa82
Child f4afc16e

Added by Michael Hanselmann over 11 years ago

Compare significant fields only for simple SSH keys

For simple SSH keys, that is those without options such as
“command="…"”, only the first two parts need to be compared. The third
field is a free-form comment.

This patch changes the comparison used in
AddAuthorizedKey/RemoveAuthorizedKey to take this into account. Lines
with options are still compared in full.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences