Page MenuHomePhabricator

D19053.id45680.diff
No OneTemporary

D19053.id45680.diff

diff --git a/src/applications/almanac/management/AlmanacManagementTrustKeyWorkflow.php b/src/applications/almanac/management/AlmanacManagementTrustKeyWorkflow.php
--- a/src/applications/almanac/management/AlmanacManagementTrustKeyWorkflow.php
+++ b/src/applications/almanac/management/AlmanacManagementTrustKeyWorkflow.php
@@ -81,6 +81,8 @@
$key->setIsTrusted(1);
$key->save();
+ PhabricatorAuthSSHKeyQuery::deleteSSHKeyCache();
+
$console->writeOut(
"**<bg:green> %s </bg>** %s\n",
pht('TRUSTED'),
diff --git a/src/applications/almanac/management/AlmanacManagementUntrustKeyWorkflow.php b/src/applications/almanac/management/AlmanacManagementUntrustKeyWorkflow.php
--- a/src/applications/almanac/management/AlmanacManagementUntrustKeyWorkflow.php
+++ b/src/applications/almanac/management/AlmanacManagementUntrustKeyWorkflow.php
@@ -43,6 +43,8 @@
$key->setIsTrusted(0);
$key->save();
+ PhabricatorAuthSSHKeyQuery::deleteSSHKeyCache();
+
$console->writeOut(
"**<bg:green> %s </bg>** %s\n",
pht('TRUST REVOKED'),

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 6, 1:49 PM (3 d, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7228528
Default Alt Text
D19053.id45680.diff (1 KB)

Event Timeline