Skip to content

Implement SSHFP records #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 14, 2022
Merged

Implement SSHFP records #80

merged 2 commits into from
Jun 14, 2022

Conversation

wolfy1339
Copy link
Contributor

No description provided.

Verified

This commit was signed with the committer’s verified signature.
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()`

Verified

This commit was signed with the committer’s verified signature.
@silverwind silverwind merged commit fab30b2 into mafintosh:master Jun 14, 2022
@wolfy1339 wolfy1339 deleted the sshfp branch June 14, 2022 21:09
martinheidegger pushed a commit to dnsquery/dns-packet that referenced this pull request Dec 2, 2022

Partially verified

This commit is signed with the committer’s verified signature. The key has expired.
martinheidegger’s contribution has been verified via GPG key.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants