diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-01-26 03:04:45 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-27 00:00:57 +1100 |
commit | 8d4f87258f31cb6def9b3b55b6a7321d84728ff2 (patch) | |
tree | c98e66c1c0824f0b0e312d7b44d8eeac46265362 /hostfile.h | |
parent | 60b1825262b1f1e24fc72050b907189c92daf18e (diff) |
upstream commit
Host key rotation support.
Add a hostkeys@openssh.com protocol extension (global request) for
a server to inform a client of all its available host key after
authentication has completed. The client may record the keys in
known_hosts, allowing it to upgrade to better host key algorithms
and a server to gracefully rotate its keys.
The client side of this is controlled by a UpdateHostkeys config
option (default on).
ok markus@
Diffstat (limited to 'hostfile.h')
-rw-r--r-- | hostfile.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hostfile.h b/hostfile.h index 24c3813aa..9080b5edb 100644 --- a/hostfile.h +++ b/hostfile.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hostfile.h,v 1.22 2015/01/18 21:40:24 djm Exp $ */ | 1 | /* $OpenBSD: hostfile.h,v 1.23 2015/01/26 03:04:45 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -44,6 +44,9 @@ int hostfile_read_key(char **, u_int *, struct sshkey *); | |||
44 | int add_host_to_hostfile(const char *, const char *, | 44 | int add_host_to_hostfile(const char *, const char *, |
45 | const struct sshkey *, int); | 45 | const struct sshkey *, int); |
46 | 46 | ||
47 | int hostfile_replace_entries(const char *filename, const char *host, | ||
48 | struct sshkey **keys, size_t nkeys, int store_hash, int quiet); | ||
49 | |||
47 | #define HASH_MAGIC "|1|" | 50 | #define HASH_MAGIC "|1|" |
48 | #define HASH_DELIM '|' | 51 | #define HASH_DELIM '|' |
49 | 52 | ||