Skip to content

Conversation

@jreidthompson
Copy link
Owner

@jreidthompson jreidthompson commented Nov 6, 2023

Perform fingerprint verification via SSHFP records. This assumes that DNS resolution is configured to resolve to a DNS server that has been properly configured for DNSSEC and that the path between the ho st and the DNS server is secure. The OS must support RES_TRUSTAD (ad flag) in order to verify via SSHFP. If any DNS provided fingerprints match, the host will be trusted. If the DNS response ad flag is not set, or no DNS fingerprints are provided, or no DNS fingerprints match the host fingerprint, warnings are logged and will failover to attempt to verify via normal methods.

@jreidthompson jreidthompson requested a review from sfrost November 6, 2023 15:41
@jreidthompson jreidthompson force-pushed the dev-dns-validate-cig branch 3 times, most recently from 67da1cf to c4ab7e7 Compare November 21, 2023 18:04
@jreidthompson jreidthompson changed the title Perform minimal DNSSEC validation via SSHFP fingerprint matching and RES_TRUSTAD flag checking if supported Perform host fingerprint validation via SSHFP fingerprint matching and RES_TRUSTAD flag checking if supported Dec 4, 2023
If linking to libssh2 then also link to resolv
Add boolean option repo-sftp-require-trust-ad default false
First cut at help text for option,  !!! TBD noted for changes if needed before finalizing
Update autoconf and meson build instructions for resolv
Start adding tests
Rename harnessLibResolv* to harnessSftpResolv and update references
Update tests
Update helpTest.c
Update testTest.c
Minor refactoring
Update tests
Functional for all but rh7, needs cleanup/commenting updated
…or RHEL7 is dropped

Format added line in meson.build to match surrounding lines
Remove unneeded struct, update log messages
Update tests
Remove unneeded header resolv.h inclusion
Update comments
Return inadvertently removed listings in test/code-count/file-type.yaml
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.

2 participants