Page MenuHomePhabricator

D21245.diff
No OneTemporary

D21245.diff

diff --git a/src/applications/auth/sshkey/PhabricatorAuthSSHPrivateKey.php b/src/applications/auth/sshkey/PhabricatorAuthSSHPrivateKey.php
--- a/src/applications/auth/sshkey/PhabricatorAuthSSHPrivateKey.php
+++ b/src/applications/auth/sshkey/PhabricatorAuthSSHPrivateKey.php
@@ -80,7 +80,7 @@
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
--- a/src/applications/passphrase/controller/PassphraseCredentialViewController.php
+++ b/src/applications/passphrase/controller/PassphraseCredentialViewController.php
@@ -154,7 +154,6 @@
->setName(pht('Show Public Key'))
->setIcon('fa-download')
->setHref($this->getApplicationURI("public/{$id}/"))
- ->setDisabled(!$can_edit)
->setWorkflow(true));
}

File Metadata

Mime Type
text/plain
Expires
Thu, May 9, 7:47 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6275935
Default Alt Text
D21245.diff (1 KB)

Event Timeline