diff options
author | djm@openbsd.org <djm@openbsd.org> | 2022-09-17 12:34:29 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2022-09-17 12:39:02 +0200 |
commit | 1875042c52a3b950ae5963c9ca3774a4cc7f0380 (patch) | |
tree | 565cb2e51ec10a389be85eab619cd379d83545ea /servconf.h | |
parent | upstream: add a RequiredRSASize for checking RSA key length in (diff) | |
download | openssh-1875042c52a3b950ae5963c9ca3774a4cc7f0380.tar.xz openssh-1875042c52a3b950ae5963c9ca3774a4cc7f0380.zip |
upstream: Add RequiredRSASize for sshd(8); RSA keys that fall
beneath this limit will be ignored for user and host-based authentication.
Feedback deraadt@ ok markus@
OpenBSD-Commit-ID: 187931dfc19d51873df5930a04f2d972adf1f7f1
Diffstat (limited to 'servconf.h')
-rw-r--r-- | servconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h index 8a04463e0..9346155ce 100644 --- a/servconf.h +++ b/servconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.h,v 1.156 2022/03/18 04:04:11 djm Exp $ */ +/* $OpenBSD: servconf.h,v 1.157 2022/09/17 10:34:29 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -229,6 +229,7 @@ typedef struct { int expose_userauth_info; u_int64_t timing_secret; char *sk_provider; + int required_rsa_size; /* minimum size of RSA keys */ } ServerOptions; /* Information about the incoming connection as used by Match */ |