]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshpubk.c
Support public keys using the "ssh-ed25519" method.
[PuTTY.git] / sshpubk.c
index 0748eb67252cf687fd0c148e8df23e5a26358b07..53793f0dea69188623af45784dcdb8a67827b23f 100644 (file)
--- a/sshpubk.c
+++ b/sshpubk.c
@@ -569,6 +569,8 @@ const struct ssh_signkey *find_pubkey_alg_len(int namelen, const char *name)
         return &ssh_ecdsa_nistp384;
     else if (match_ssh_id(namelen, name, "ecdsa-sha2-nistp521"))
         return &ssh_ecdsa_nistp521;
+    else if (match_ssh_id(namelen, name, "ssh-ed25519"))
+        return &ssh_ecdsa_ed25519;
     else
        return NULL;
 }