northox / 2sshfp

Build SSHFP DNS records - xmss, ecdsa & ed25519 support
40 stars 4 forks source link

Ed25519 support & fixes #4

Closed nirgal closed 9 years ago

nirgal commented 9 years ago

ed25519 algorithm should be type 4: https://www.iana.org/assignments/dns-sshfp-rr-parameters/dns-sshfp-rr-parameters.xml

Fixes in ssh-keyscan2sshfp: Added -r to openssl dgst parameters so that print{1} after is ok Changed -sh to -sha256 (see RFC6594).

Now, "ssh-keyscan2sshfp localhost" and "ssh-hostkeys2sshfp localhost" returns the same value \o/