Commit Graph
1 Commits
Author SHA1 Message Date
wolfy1339 fab30b2588 Implement SSHFP records (#80)
* Add SSHFP record support

Use offset since we may receive a full dns packet
Account for maximum hash lengths for each hash type
fix: don't use the output of `Buffer#copy()`, instead use `Buffer#byteLength`
fix: normalize fingerprint string
fix: the offset pointer starts out at RDLENGTH
fix: account for the `RDLENGTH` field in `rsshfp.decode()`

* tests: add test for the SSHFP record type
2022-06-14 23:09:01 +02:00