summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/htdocs/luci-static/resources/view/system
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-09-11 00:05:42 -0700
committerPaul Spooren <mail@aparcar.org>2021-09-20 12:11:00 -1000
commit738f36a1c31eda6d322e18c1b7fca4b6498e46a9 (patch)
tree0df171ff4162e439059c945243b7773bed1bb205 /modules/luci-mod-system/htdocs/luci-static/resources/view/system
parent2890d1842a8538e093de3b1814ef26f308385c07 (diff)
fix wrong ed25519 information
ECDH is not used for the ed25519. The scheme is called EdDSA. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static/resources/view/system')
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js2
1 files changed, 1 insertions, 1 deletions
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 };