summaryrefslogtreecommitdiff
path: root/servconf.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-09-20 03:28:06 +0000
committerDamien Miller <djm@mindrot.org>2018-09-20 14:00:29 +1000
commit86e5737c39153af134158f24d0cab5827cbd5852 (patch)
tree1add30c99e83b544792233280451f70f03053586 /servconf.h
parentf80e68ea7d62e2dfafc12f1a60ab544ae4033a0f (diff)
upstream: Add sshd_config CASignatureAlgorithms option to allow
control over which signature algorithms a CA may use when signing certificates. In particular, this allows a sshd to ban certificates signed with RSA/SHA1. ok markus@ OpenBSD-Commit-ID: b05c86ef8b52b913ed48d54a9b9c1a7714d96bac
Diffstat (limited to 'servconf.h')
-rw-r--r--servconf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h
index 557521d73..0175e00e8 100644
--- a/servconf.h
+++ b/servconf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: servconf.h,v 1.136 2018/07/09 21:26:02 markus Exp $ */ 1/* $OpenBSD: servconf.h,v 1.137 2018/09/20 03:28:06 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -110,6 +110,7 @@ typedef struct {
110 int hostbased_uses_name_from_packet_only; /* experimental */ 110 int hostbased_uses_name_from_packet_only; /* experimental */
111 char *hostbased_key_types; /* Key types allowed for hostbased */ 111 char *hostbased_key_types; /* Key types allowed for hostbased */
112 char *hostkeyalgorithms; /* SSH2 server key types */ 112 char *hostkeyalgorithms; /* SSH2 server key types */
113 char *ca_sign_algorithms; /* Allowed CA signature algorithms */
113 int pubkey_authentication; /* If true, permit ssh2 pubkey authentication. */ 114 int pubkey_authentication; /* If true, permit ssh2 pubkey authentication. */
114 char *pubkey_key_types; /* Key types allowed for public key */ 115 char *pubkey_key_types; /* Key types allowed for public key */
115 int kerberos_authentication; /* If true, permit Kerberos 116 int kerberos_authentication; /* If true, permit Kerberos
@@ -242,6 +243,7 @@ struct connection_info {
242 M_CP_STROPT(authorized_principals_command_user); \ 243 M_CP_STROPT(authorized_principals_command_user); \
243 M_CP_STROPT(hostbased_key_types); \ 244 M_CP_STROPT(hostbased_key_types); \
244 M_CP_STROPT(pubkey_key_types); \ 245 M_CP_STROPT(pubkey_key_types); \
246 M_CP_STROPT(ca_sign_algorithms); \
245 M_CP_STROPT(routing_domain); \ 247 M_CP_STROPT(routing_domain); \
246 M_CP_STROPT(permit_user_env_whitelist); \ 248 M_CP_STROPT(permit_user_env_whitelist); \
247 M_CP_STRARRAYOPT(authorized_keys_files, num_authkeys_files); \ 249 M_CP_STRARRAYOPT(authorized_keys_files, num_authkeys_files); \