fix wrong ed25519 information
ECDH is not used for the ed25519. The scheme is called EdDSA. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
2890d1842a
commit
738f36a1c3
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ var SSHPubkeyDecoder = baseclass.singleton({
|
||||||
return { type: 'DSA', bits: len1 * 8, comment: comment, options: options, fprint: fprint, src: s };
|
return { type: 'DSA', bits: len1 * 8, comment: comment, options: options, fprint: fprint, src: s };
|
||||||
|
|
||||||
case 'ssh-ed25519':
|
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':
|
case 'ecdsa-sha2':
|
||||||
return { type: 'ECDSA', curve: curve, comment: comment, options: options, fprint: fprint, src: s };
|
return { type: 'ECDSA', curve: curve, comment: comment, options: options, fprint: fprint, src: s };
|
||||||
|
|
Loading…
Reference in a new issue