summaryrefslogtreecommitdiff
path: root/servconf.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-08-27 01:07:09 +0000
committerDamien Miller <djm@mindrot.org>2020-08-27 11:28:36 +1000
commit801c9f095e6d8b7b91aefd98f5001c652ea13488 (patch)
tree6c6416d6d926939b208eb1f1181f196a554e0734 /servconf.h
parent9b8ad93824c682ce841f53f3b5762cef4e7cc4dc (diff)
upstream: support for requiring user verified FIDO keys in sshd
This adds a "verify-required" authorized_keys flag and a corresponding sshd_config option that tells sshd to require that FIDO keys verify the user identity before completing the signing/authentication attempt. Whether or not user verification was performed is already baked into the signature made on the FIDO token, so this is just plumbing that flag through and adding ways to require it. feedback and ok markus@ OpenBSD-Commit-ID: 3a2313aae153e043d57763d766bb6d55c4e276e6
Diffstat (limited to 'servconf.h')
-rw-r--r--servconf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/servconf.h b/servconf.h
index 8422f3f51..1df8f3db8 100644
--- a/servconf.h
+++ b/servconf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: servconf.h,v 1.145 2020/07/05 23:59:45 djm Exp $ */ 1/* $OpenBSD: servconf.h,v 1.146 2020/08/27 01:07:10 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -50,7 +50,8 @@
50#define INTERNAL_SFTP_NAME "internal-sftp" 50#define INTERNAL_SFTP_NAME "internal-sftp"
51 51
52/* PubkeyAuthOptions flags */ 52/* PubkeyAuthOptions flags */
53#define PUBKEYAUTH_TOUCH_REQUIRED 1 53#define PUBKEYAUTH_TOUCH_REQUIRED (1)
54#define PUBKEYAUTH_VERIFY_REQUIRED (1<<1)
54 55
55struct ssh; 56struct ssh;
56struct fwd_perm_list; 57struct fwd_perm_list;