diff --git a/src/applications/auth/sshkey/PhabricatorAuthSSHPrivateKey.php b/src/applications/auth/sshkey/PhabricatorAuthSSHPrivateKey.php index ea601a3096..ad26da8ebb 100644 --- a/src/applications/auth/sshkey/PhabricatorAuthSSHPrivateKey.php +++ b/src/applications/auth/sshkey/PhabricatorAuthSSHPrivateKey.php @@ -80,7 +80,7 @@ final class PhabricatorAuthSSHPrivateKey extends Phobject { if (!$err) { if ($passphrase) { execx( - 'ssh-keygen -y -P %P -N %s -f %R', + 'ssh-keygen -p -P %P -N %s -f %R', $passphrase, '', $tmp); diff --git a/src/applications/passphrase/controller/PassphraseCredentialViewController.php b/src/applications/passphrase/controller/PassphraseCredentialViewController.php index 6688bef285..a5147295c8 100644 --- a/src/applications/passphrase/controller/PassphraseCredentialViewController.php +++ b/src/applications/passphrase/controller/PassphraseCredentialViewController.php @@ -154,7 +154,6 @@ final class PassphraseCredentialViewController extends PassphraseController { ->setName(pht('Show Public Key')) ->setIcon('fa-download') ->setHref($this->getApplicationURI("public/{$id}/")) - ->setDisabled(!$can_edit) ->setWorkflow(true)); }