cargo::sources::git::known_hosts

Static BUNDLED_KEYS

Source
static BUNDLED_KEYS: &[(&str, &str, &str)]
Expand description

These are host keys that are hard-coded in cargo to provide convenience.

If GitHub ever publishes new keys, the user can add them to their own configuration file to use those instead.

The GitHub keys are sourced from https://api.github.com/meta or https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints.

These will be ignored if the user adds their own entries for github.com, which can be useful if GitHub ever revokes their old keys.