diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2010-05-07 11:30:31 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2010-05-07 11:30:31 +0000 |
commit | 52c11610cb668bb2d16beeab8db488503604b9bc (patch) | |
tree | 34c8bc058192aa4e55e8ec49458d4a5ac80b5e4a /usr.bin/ssh/servconf.h | |
parent | df6345e4898e4044424852df9eb6883ca20963c5 (diff) |
add some optional indirection to matching of principal names listed
in certificates. Currently, a certificate must include the a user's name
to be accepted for authentication. This change adds the ability to
specify a list of certificate principal names that are acceptable.
When authenticating using a CA trusted through ~/.ssh/authorized_keys,
this adds a new principals="name1[,name2,...]" key option.
For CAs listed through sshd_config's TrustedCAKeys option, a new config
option "AuthorizedPrincipalsFile" specifies a per-user file containing
the list of acceptable names.
If either option is absent, the current behaviour of requiring the
username to appear in principals continues to apply.
These options are useful for role accounts, disjoint account namespaces
and "user@realm"-style naming policies in certificates.
feedback and ok markus@
Diffstat (limited to 'usr.bin/ssh/servconf.h')
-rw-r--r-- | usr.bin/ssh/servconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/servconf.h b/usr.bin/ssh/servconf.h index 7c53dec6de2..4bb7f1f5db1 100644 --- a/usr.bin/ssh/servconf.h +++ b/usr.bin/ssh/servconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.h,v 1.92 2010/03/04 10:36:03 djm Exp $ */ +/* $OpenBSD: servconf.h,v 1.93 2010/05/07 11:30:30 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -154,6 +154,7 @@ typedef struct { char *chroot_directory; char *revoked_keys_file; char *trusted_user_ca_keys; + char *authorized_principals_file; } ServerOptions; void initialize_server_options(ServerOptions *); |