Page MenuHomePhabricator

D21245.id50593.diff
No OneTemporary

D21245.id50593.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 16, 8:24 PM (4 w, 20 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6275935
Default Alt Text
D21245.id50593.diff (1 KB)

Event Timeline