| /freebsd-13.1/crypto/openssh/ |
| H A D | hostfile.c | 228 struct hostkeys *hostkeys; member 235 struct hostkeys *hostkeys = ctx->hostkeys; in record_hostkey() local 255 hostkeys->entries[hostkeys->num_entries].line = l->linenum; in record_hostkey() 256 hostkeys->entries[hostkeys->num_entries].key = l->key; in record_hostkey() 258 hostkeys->entries[hostkeys->num_entries].marker = l->marker; in record_hostkey() 259 hostkeys->entries[hostkeys->num_entries].note = l->note; in record_hostkey() 267 load_hostkeys_file(struct hostkeys *hostkeys, const char *host, in load_hostkeys_file() argument 275 ctx.hostkeys = hostkeys; in load_hostkeys_file() 302 free_hostkeys(struct hostkeys *hostkeys) in free_hostkeys() argument 313 freezero(hostkeys, sizeof(*hostkeys)); in free_hostkeys() [all …]
|
| H A D | hostfile.h | 33 struct hostkeys { struct 38 struct hostkeys *init_hostkeys(void); argument 39 void load_hostkeys(struct hostkeys *, const char *, 41 void load_hostkeys_file(struct hostkeys *, const char *, 43 void free_hostkeys(struct hostkeys *); 45 HostStatus check_key_in_hostkeys(struct hostkeys *, struct sshkey *, 47 int lookup_key_in_hostkeys_by_type(struct hostkeys *, int, int, 49 int lookup_marker_in_hostkeys(struct hostkeys *, int);
|
| H A D | sshconnect.h | 49 struct hostkeys; 92 void load_hostkeys_command(struct hostkeys *, const char *,
|
| H A D | auth.c | 474 struct hostkeys *hostkeys; in check_key_in_hostfiles() local 477 hostkeys = init_hostkeys(); in check_key_in_hostfiles() 478 load_hostkeys(hostkeys, host, sysfile, 0); in check_key_in_hostfiles() 492 load_hostkeys(hostkeys, host, user_hostfile, 0); in check_key_in_hostfiles() 497 host_status = check_key_in_hostkeys(hostkeys, key, &found); in check_key_in_hostfiles() 507 free_hostkeys(hostkeys); in check_key_in_hostfiles()
|
| H A D | sshconnect.c | 85 static int show_other_keys(struct hostkeys *, struct sshkey *); 842 load_hostkeys_command(struct hostkeys *hostkeys, const char *command_template, in load_hostkeys_command() argument 901 load_hostkeys_file(hostkeys, hostfile_hostname, tag, f, 1); in load_hostkeys_command() 945 struct hostkeys *host_hostkeys, *ip_hostkeys; in check_host_key() 1575 show_other_keys(struct hostkeys *hostkeys, struct sshkey *key) in show_other_keys() argument 1592 if (!lookup_key_in_hostkeys_by_type(hostkeys, type[i], in show_other_keys()
|
| H A D | PROTOCOL | 286 2.5. connection: hostkey update and rotation "hostkeys[email protected]" 287 and "hostkeys[email protected]" 294 string "hostkeys[email protected]" 296 string[] hostkeys 305 it should send a "hostkeys[email protected]" message to request the 309 string "hostkeys[email protected]" 311 string[] hostkeys 316 string "hostkeys[email protected]" 321 the hostkeys in the request:
|
| H A D | sshconnect2.c | 124 struct hostkeys *hostkeys = NULL; in order_hostkeyalgs() local 130 hostkeys = init_hostkeys(); in order_hostkeyalgs() 132 load_hostkeys(hostkeys, hostname, options.user_hostfiles[i], 0); in order_hostkeyalgs() 134 load_hostkeys(hostkeys, hostname, in order_hostkeyalgs() 138 load_hostkeys_command(hostkeys, options.known_hosts_command, in order_hostkeyalgs() 149 if (lookup_key_in_hostkeys_by_type(hostkeys, in order_hostkeyalgs() 183 lookup_marker_in_hostkeys(hostkeys, MRK_CA)) { in order_hostkeyalgs() 188 if (lookup_key_in_hostkeys_by_type(hostkeys, in order_hostkeyalgs() 210 free_hostkeys(hostkeys); in order_hostkeyalgs()
|
| H A D | ChangeLog | 1971 upstream: Set umask when creating hostkeys to prevent excessive 3810 upstream: Fix the hostkeys rotation extension documentation 4425 upstream: make struct hostkeys public; I have no idea why I made it 5817 when there are no new or deprecated hostkeys. 11334 upstream: allow ssh-keyscan to find security key hostkeys 13225 upstream: potential NULL dereference for revoked hostkeys; reported
|
| /freebsd-13.1/crypto/openssh/regress/ |
| H A D | ssh-com-client.sh | 47 mkdir -p ${OBJ}/${USER}/hostkeys 48 HK=${OBJ}/${USER}/hostkeys/key_${PORT}_127.0.0.1
|
| H A D | Makefile | 266 $$V ${.OBJDIR}/unittests/hostkeys/test_hostkeys \ 267 -d ${.CURDIR}/unittests/hostkeys/testdata ; \
|
| /freebsd-13.1/crypto/openssh/regress/unittests/ |
| H A D | Makefile | 4 SUBDIR= test_helper sshbuf sshkey bitmap kex hostkeys utf8 match conversion
|