@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

SSH Keys - allow viewer to download the private key

Summary: ...cuz otherwise this is pretty pointless. Fixes T5931.

Test Plan: generated a key, downloaded the key. previously download failed.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T5931

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

+1 -1
+1 -1
src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php
··· 291 291 array( 292 292 'name' => 'id_rsa_phabricator.key', 293 293 'ttl' => time() + (60 * 10), 294 - 'viewPolicy' => PhabricatorPolicies::POLICY_NOONE, 294 + 'viewPolicy' => $viewer->getPHID(), 295 295 )); 296 296 297 297 list($type, $body, $comment) = self::parsePublicKey($public_key);