Known Hosts Verifier
A host key verifier that reads from an OpenSSH-style known_hosts file.
Currently supports:
Plain hostnames (no hashed hosts yet)
Wildcards (* and ?) in hostnames
Multiple keys per host
Certificate authorities (
@cert-authority) and revoked keys (@revoked)Negated hostname patterns and optional KRL revocation snapshots
Parameters
file
The known_hosts file to read.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Retire the authenticated key when omitted from the advertisement, after addKeys returns successfully. Other stored keys are not enumerated or removed.