1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-01 11:09:07 +00:00

Adds support for Ed25519 keys to script ssh-hostkey

This commit is contained in:
nnposter
2016-12-28 18:23:58 +00:00
parent 3961450aad
commit 8bc9473a55
3 changed files with 8 additions and 0 deletions

View File

@@ -314,6 +314,9 @@ fetch_host_key = function( host, port, key_type )
elseif key_type == 'ecdsa-sha2-nistp521' then
algorithm = "ECDSA"
bits = "521"
elseif key_type == 'ssh-ed25519' then
algorithm = "EdDSA"
bits = "256"
else
stdnse.debug1("Unsupported key type: %s", key_type )
end