|
@@ -62,7 +62,7 @@ class ParseSSHHostKey extends Operation {
|
|
|
output += `\ng: 0x${fields[3]}`;
|
|
|
output += `\ny: 0x${fields[4]}`;
|
|
|
} else if (keyType.startsWith("ecdsa-sha2")) {
|
|
|
- output += `\nCurve: ${Utils.byteArrayToChars(fromHex(fields[0]))}`;
|
|
|
+ output += `\nCurve: ${Utils.byteArrayToChars(fromHex(fields[1]))}`;
|
|
|
output += `\nPoint: 0x${fields.slice(2)}`;
|
|
|
} else {
|
|
|
output += "\nUnsupported key type.";
|