Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2680994
D25508.1734631829.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
745 B
Referenced Files
None
Subscribers
None
D25508.1734631829.diff
View Options
diff --git a/src/applications/auth/sshkey/PhabricatorAuthSSHPublicKey.php b/src/applications/auth/sshkey/PhabricatorAuthSSHPublicKey.php
--- a/src/applications/auth/sshkey/PhabricatorAuthSSHPublicKey.php
+++ b/src/applications/auth/sshkey/PhabricatorAuthSSHPublicKey.php
@@ -55,11 +55,15 @@
list($type, $body, $comment) = $parts;
+ // The only goal is to prevent user error by nonsense input.
+ // This is just a meaningful subset from 'ssh -Q key'.
$recognized_keys = array(
'ssh-dsa',
'ssh-dss',
'ssh-rsa',
'ssh-ed25519',
+ 'sk-ssh-ed25519@openssh.com',
+ 'sk-ecdsa-sha2-nistp256@openssh.com',
'ecdsa-sha2-nistp256',
'ecdsa-sha2-nistp384',
'ecdsa-sha2-nistp521',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 18:10 (1 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015122
Default Alt Text
D25508.1734631829.diff (745 B)
Attached To
Mode
D25508: Add support for FIDO2-backed SSH keys
Attached
Detach File
Event Timeline
Log In to Comment