Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14073934
D20875.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
421 B
Referenced Files
None
Subscribers
None
D20875.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D20875: Don't use "phutil_hashes_are_identical()" to compare public keys
Attached
Detach File
Event Timeline
Log In to Comment