Homestyx hydra
Diffusion hydra 5dffd8873748

Fix validation of SSH keys with spaces in the comment field

Description

Fix validation of SSH keys with spaces in the comment field

Summary: Fixes T5449. Keys are in the form <type> <key> <comments>, where comments are optional and can have spaces.

Test Plan:
Tried these invalid keys:

  • Empty.
  • One part.
  • Invalid type.

Tried these valid keys:

  • No comment.
  • Normal comment.
  • Comment with spaces.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5449

Differential Revision: https://secure.phabricator.com/D9701

Details

Provenance
epriestleyAuthored on Jun 23 2014, 6:28 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:dd91732df338: Make JX.Aphlict a real singleton with a more sensible initialization order
Branches
Unknown
Tags
Unknown

Event Timeline