Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15298817
D19053.id45680.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D19053.id45680.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D19053: Purge `ssh-auth` key cache after trust/untrust
Attached
Detach File
Event Timeline
Log In to Comment