From 2aad7289fd2fe166a36a37c8c059eed572d17918 Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 4 Dec 2013 16:53:16 -0800 Subject: [PATCH] Support "ssh-dss" keys Summary: Ref T4151. These are a (common) variant of "ssh-dsa" keys (which are somewhat theoretical, but show up on Google). Test Plan: syntax Reviewers: btrahan, dctrwatson, phpcodemonkey Reviewed By: phpcodemonkey CC: aran Maniphest Tasks: T4151 Differential Revision: https://secure.phabricator.com/D7704 --- .../settings/panel/PhabricatorSettingsPanelSSHKeys.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php b/src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php index edb662e524..19b9d351f9 100644 --- a/src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php +++ b/src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php @@ -84,8 +84,11 @@ final class PhabricatorSettingsPanelSSHKeys $recognized_keys = array( 'ssh-dsa', + 'ssh-dss', 'ssh-rsa', 'ecdsa-sha2-nistp256', + 'ecdsa-sha2-nistp384', + 'ecdsa-sha2-nistp521', ); if (!in_array($type, $recognized_keys)) {