From 8acd0d76c4ce7da741fb971b739f8c2b4d8a2b39 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 11 Sep 2021 00:05:42 -0700 Subject: [PATCH] fix wrong ed25519 information ECDH is not used for the ed25519. The scheme is called EdDSA. Signed-off-by: Rosen Penev (cherry picked from commit 738f36a1c31eda6d322e18c1b7fca4b6498e46a9) --- .../htdocs/luci-static/resources/view/system/sshkeys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js index 1e38a620fa..ae2c2b3de3 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js @@ -95,7 +95,7 @@ var SSHPubkeyDecoder = baseclass.singleton({ return { type: 'DSA', bits: len1 * 8, comment: comment, options: options, fprint: fprint, src: s }; case 'ssh-ed25519': - return { type: 'ECDH', curve: 'Curve25519', comment: comment, options: options, fprint: fprint, src: s }; + return { type: 'EdDSA', curve: 'Curve25519', comment: comment, options: options, fprint: fprint, src: s }; case 'ecdsa-sha2': return { type: 'ECDSA', curve: curve, comment: comment, options: options, fprint: fprint, src: s }; -- 2.30.2