Page MenuHomePhabricator

D20875.diff
No OneTemporary

D20875.diff

diff --git a/scripts/ssh/ssh-auth.php b/scripts/ssh/ssh-auth.php
--- a/scripts/ssh/ssh-auth.php
+++ b/scripts/ssh/ssh-auth.php
@@ -109,7 +109,7 @@
if ($sshd_key !== null) {
$matches = array();
foreach ($authstruct['keys'] as $key => $key_struct) {
- if (phutil_hashes_are_identical($key_struct['key'], $sshd_key)) {
+ if ($key_struct['key'] === $sshd_key) {
$matches[$key] = $key_struct;
}
}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 3:30 AM (7 h, 11 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6773373
Default Alt Text
D20875.diff (421 B)

Event Timeline